tc_ctr_prng_init() 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

Only the first (TC_AES_KEY_SIZE + TC_AES_BLOCK_SIZE) bytes of both the entropy and personalization inputs are used - supplying additional bytes has no effect.

References

from examples