-
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
Cryptocell 310 doesn't work on NRF52840_DK #7069
Comments
@pan- thank you for pointing to the leftover. It's probably a bug in the rebasing I have done. |
@pan- could you mention how you reproduce this issue? |
@RonEld Thanks for pointing out the functions to use unfortunately the implementation will not scale well with libraries. In my case, BLE, some crypto operations may be done by the controller attached to the board or by mbedtls so we can't ask users to perform blindly a tls platform setup and teardown as we don't want to pay for code that we don't use. As a consequence the setup and teardown operations must be made in the implementation of the BLE abstraction when necessary. In the meantime application code or another library may also setup and teardown others Unfortunately platform setup and teardown do not operate on context passed in parameter: they do operate on global context (1, 2). This can cause troubles if one module of the application has its platform context running while another application module terminate its own context. |
ARM Internal Ref: IOTSSL-2334 |
Perhaps we should disable Cryptocell support on the NRF52840 until we have a more permanent solution? At the moment it will only lead to problems under certain circumstances. |
I'll close this, and should be removed from known issues for upcoming 5.10 (if its still there) |
Description
When I do compile with GCC for the NRF52840, the function
trng_get_bytes
present in the crypto cell features never returns when it callsLLF_RND_GetTrngSource
.With the help of the debugger I'm able to see that the application is actually stuck in a loop in the function
LLF_RND_StartTrngHW()
.Also it looks like there's a leftover a merge operation in GCC's binary folder
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
The text was updated successfully, but these errors were encountered: