mbedtls

    1熱度

    1回答

    您好,我正在使用libcurl實現一個應用程序。我在內存中有一個證書和私鑰。 const char *cert = "-----BEGIN CERTIFICATE----- ...."; const char *key = "-----BEGIN RSA PRIVATE KEY----- ...."; 我發現了一個例子,如何使用OpenSSL http://curl.haxx.se/libc

    1熱度

    1回答

    我嘗試使用mbedTLS實現AES-CMAC。 我得到一些錯誤: 未定義參考mbedtls_cipher_cmac_starts,未定義參考mbedtls_cipher_cmac_update,未定義參考mbedtls_cipher_cmac_finish, 爲什麼可以將這些功能不能得到解決,即使mbedtls_cipher_init和mbedtls_cipher_setup可能嗎? 順便說一句。