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:
Jaeden Amero 2019-08-19 11:08:04 +01:00
parent 884738a2d6
commit c7529c910b

View file

@ -332,7 +332,7 @@ void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats );
* The library has already been initialized. It is no longer
* 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);
#if defined(PSA_PRE_1_0_KEY_DERIVATION)