Skip to content
Commit 829aa758 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by David Hu
Browse files

partitions: crypto: introduce option to disable RNG independent of key derivation



We introduce a compile-time option to control whether to disable
the API for tfm_crypto_generate_random, independent of the key
derivation. In addition to that, the above API function is moved
into its own source file.

The change allows us to disable or enable the random number
generation API function independent of whether we disable or
enable the key derivation. This introduces some additional
flexibility to the user, who can now enable the random number
generation API while they can disable the key derivation API
family.

The change does not introduce behavioral changes.

Change-Id: I7306caa38476ff1a67c918ddb9e5780e25cebd27
Signed-off-by: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
parent 5b64bb76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment