mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
crypto_extra: Use const seed for entropy injection
The crypto.c implementation of psa_inject_entropy() didn't match the declaration in crypto_extra.h. Use a const seed in both files.
This commit is contained in:
@@ -332,7 +332,7 @@ void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats );
|
|||||||
* The library has already been initialized. It is no longer
|
* The library has already been initialized. It is no longer
|
||||||
* possible to call this function.
|
* possible to call this function.
|
||||||
*/
|
*/
|
||||||
psa_status_t mbedtls_psa_inject_entropy(uint8_t *seed,
|
psa_status_t mbedtls_psa_inject_entropy(const uint8_t *seed,
|
||||||
size_t seed_size);
|
size_t seed_size);
|
||||||
|
|
||||||
#if defined(PSA_PRE_1_0_KEY_DERIVATION)
|
#if defined(PSA_PRE_1_0_KEY_DERIVATION)
|
||||||
|
Reference in New Issue
Block a user