tc_hmac_prng_init() is only used within ESP-IDF.
 
Symbols
loading (4/5)...
Files
loading (4/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if: prng == NULL, personalization == NULL, plen > MAX_PLEN

Notes

Assumes: - personalization != NULL. The personalization is a platform unique string (e.g., the host name) and is the last line of defense against failure of the entropy source @warning NIST SP 800-90A specifies 3 items as seed material during initialization: entropy seed, personalization, and an optional nonce. TinyCrypts requires instead a non-null personalization (which is easily computed) and indirectly requires an entropy seed (since the reseed function is mandatorily called after init)

References