-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nRF52840: Cryptocell does not work when initialized multiple times #13625
Comments
cc @ARMmbed/mbed-os-pan |
@AGlass0fMilk Thanks for raising this issue. It looks like the function |
We just used the default mbedtls support by Microsoft without any changes. Will look into it. The AWS SDK didn't call |
Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. |
We closed this issue because it has been inactive for quite some time and we believe it to be low priority. If you think that the priority should be higher, then please reopen with your justification for increasing the priority. |
Description of defect
When using mbedTLS with Cryptocell310 on the nRF52840 several libraries interact with mbedTLS to perform various cryptographic functions such as generate random numbers.
I am running such a program, which you can find and compile here for the EP_AGORA target.
When the Azure SDK library attempts to generate a random sequence of bytes using mbedTLS, the program gets infinitely stuck in the call to
LLF_RND_GetTrngsource
. This is similar to the problem described in #7069.@pan-
Target(s) affected by this defect ?
nRF52840_DK and any variants of it
Toolchain(s) (name and version) displaying this defect ?
GCC ARM
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
What version of Mbed-os are you using (tag or sha) ?
0db72d0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
How is this defect reproduced ?
Attemp to use mbedTLS to generate random numbers with Cryptocell310 enabled on an nRF52840-based target after initializing/deinitializing with several different library modules.
See example program here:
https://github.com/EmbeddedPlanet/mbed-os-example-for-azure/tree/add-ep-agora
The text was updated successfully, but these errors were encountered: