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:
parent
884738a2d6
commit
c7529c910b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue