Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 8 months ago.
NRF52 encryption and decryption-error MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED...
I want to use mbedtls_pk_encrypt to encrypt data.while executing mbedtls_ctr_drbg_seed function it gives return code 0x0034 ie MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED... I think because of that I cant decrypt data.. please suggest some solution.
Used function as- mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy,(const unsigned char*)"RANDOM_GEN", 10);