[crypto] allow platform to define its own CSPRNG (#7355)

This commit provides the following changes:

 * Introduce a new `otPlatCryptoRandom*` API
 * Move usage of `mbedtls_entropy_*` and `mbedtls_ctr_drbg_*` out of
   ARM PSA enabled platforms
 * Stop exposing internal mbedtls contextes for entropy and CTR DRBG
   in OpenThread API

Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no>
This commit is contained in:
Łukasz Duda
2022-01-28 18:06:21 +01:00
committed by GitHub
parent 9f70bafd67
commit 925d9b657c
21 changed files with 134 additions and 311 deletions
-1
View File
@@ -121,7 +121,6 @@
*
* @defgroup api-cli Command Line Interface
* @defgroup api-crypto Crypto - Thread Stack
* @defgroup api-entropy Entropy Source
* @defgroup api-factory-diagnostics Factory Diagnostics - Thread Stack
* @defgroup api-heap Heap
* @defgroup api-history-tracker History Tracker