Yes, of course – I configured MbedTLS vi #define, for example to disable code for parse PEM format. In my special case you are true – only 1 function I try to avoid – and I have sugested code, and you agree it. But in common case if you require many features in application and...
Hi, Here is my example: mbedtls_rsa_context g_RSACtx; mbedtls_pk_init(&g_RSAKeyContex); mbedtls_pk_setup(&g_RSAKeyContex, mbedtls_pk_info_from_type((mbedtls_pk_type_t)MBEDTLS_PK_RSA)); mbedtls_pk_parse_public_key(&g_RSAKeyContex, (unsigned char*)pubKey, (size_t)keyLen); ...
Hi, Here is my example: mbedtls_rsa_context g_RSACtx; mbedtls_pk_init(&g_RSAKeyContex); mbedtls_pk_setup(&g_RSAKeyContex, mbedtls_pk_info_from_type((mbedtls_pk_type_t)MBEDTLS_PK_RSA)); mbedtls_pk_parse_public_key(&g_RSAKeyContex, (unsigned char*)pubKey, (size_t)keyLen); pubK...