HI @sebin
The error -53 is MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED and it is returned when your entropy collection function (mbedtls_entropy_func()) fails.
Please provide more informaiton on what entropy configuration you have set, and what is your platform \ OS. What entropy sources are used in your platform.
Regards,
Mbed TLS Support
Ron
Hi @roneld01
Thank you very much for your reply. I was able to fix the issue.
I looked into it, I haven’t configured any entropy source. because of that i got that error.
Now it is working fine.
HI @sebin
Although this approach will functionally work, it is entirely not secure!
Since you are using a hardcoded constant string, you will not get a random vector when calling the DRBG get_random functions.
Even if the “somerandom stringi havegivenasthesource” will not be exposed to the public, every boot the initial seed for the DRBG will be same, and thus the output of your DRBG random functions will be predictable.
However, according to the link you referenced, it mentions:
Complete development and prototyping platform on AWS IoT service Includes three CryptoAuthed Xplained Pro Rev B (ATCRYPTOAUTH-XPRO-B) add-on boards, each containing a generic ATECC508A and ATECC608A.