mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-05 06:26:52 +00:00
Add Tests for psa crypto entropy incjection
Adjust code to handle and work with MBEDTLS_ENTROPY_BLOCK_SIZE definition option
This commit is contained in:
parent
ee2ffd311b
commit
21f37cbbec
5 changed files with 23 additions and 13 deletions
|
|
@ -91,8 +91,10 @@ void mbedtls_psa_crypto_free( void );
|
|||
*
|
||||
* \param seed[in] Buffer containing the seed value to inject.
|
||||
* \param seed_size Size of the \p seed buffer.
|
||||
* The size of the seed must be
|
||||
* at least #MBEDTLS_ENTROPY_MIN_PLATFORM bytes
|
||||
* The size of the seed must be equal or larger than any
|
||||
* of the values defined both in
|
||||
* #MBEDTLS_ENTROPY_MIN_PLATFORM
|
||||
* and in the #MBEDTLS_ENTROPY_BLOCK_SIZE defines
|
||||
* and at most #MBEDTLS_ENTROPY_MAX_SEED_SIZE bytes.
|
||||
*
|
||||
* \retval #PSA_SUCCESS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue