mbedtls_psa_inject_entropy() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

#PSA_SUCCESS The seed value was injected successfully. The random generator of the PSA Crypto implementation is now ready for use. You may now call psa_crypto_init() and use the PSA Crypto implementation. #PSA_ERROR_INVALID_ARGUMENT \p seed_size is out of range. #PSA_ERROR_STORAGE_FAILURE There was a failure reading or writing from storage. #PSA_ERROR_NOT_PERMITTED The library has already been initialized. It is no longer possible to call this function.

Notes

This function is only available on the following platforms: * If the compile-time option MBEDTLS_PSA_INJECT_ENTROPY is enabled. Note that you must provide compatible implementations of mbedtls_nv_seed_read and mbedtls_nv_seed_write. * In a client-server integration of PSA Cryptography, on the client side, if the server supports this feature.

References