tc_ctr_prng_reseed() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if: ctx == NULL, entropy == NULL, entropylen < (TC_AES_KEY_SIZE + TC_AES_BLOCK_SIZE)

Notes

It is better to reseed an existing prng context rather than re-initialise, so that any existing entropy in the context is presereved. This offers some protection against undetected failures of the entropy source. Assumes tc_ctr_prng_init has been called for ctx

References

from examples