-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add new cracen_ctr_drbg driver #272
base: master
Are you sure you want to change the base?
Conversation
* @defgroup nrfx_cracen_ctr_drbg CRACEN CTR DRBG | ||
* @{ | ||
* @ingroup nrfx_cracen_ctr_drbg | ||
* @brief CRACEN CTR DRBG random generator driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @brief CRACEN CTR DRBG random generator driver | |
* @brief CRACEN CTR_DRBG random generator driver |
NIST SP800-90A (Recommendation for Random Number Generation Using Deterministic Random Bit Generators) available here defines this PRNG algorithm with the exact nomenclature CTR_DRBG
Please update all references that has CTR DRBG
(has space) to be CTR_DRBG
(has underscore) in this PR
Suggestion. Could we add somewhere a build-time (static) assert that ensures these files are not compiled when |
I'm ok with that if the hal guys are ok with it :) |
|
30f8b9a
to
6fae33d
Compare
Unfortunately that is not possible. |
When this eventually gets to sdk-nrf we can add a |
Bring ahead of the next release the new CRACEN RNG HAL Signed-off-by: Alberto Escolar Piedras <[email protected]>
cbc788d
to
052e7c2
Compare
Bring ahead of the next release the new CRACEN RNG HAL Signed-off-by: Alberto Escolar Piedras <[email protected]>
Add a new random CTR DRBG driver using the CRACEN HW TRNG and AES-ECB acceleration. Signed-off-by: Alberto Escolar Piedras <[email protected]>
Introduce a new CRACEN CTR_DRBG pseudo random driver which uses the CRACEN TRNG and Cryptomaster HW.
Note this driver is only intended for nRF54L devices, and meant to be used when nrf security is not in use. That is for builds with plain vanilla Zephyr (no NCS) or other SW builds with nrfx but without Zephyr or NCS.
The first two commits are just bringing those 2 hals ahead of the release. Those files are taken as is.