tc_ctr_mode() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

returns TC_CRYPTO_SUCCESS (1) returns TC_CRYPTO_FAIL (0) if: out == NULL or in == NULL or ctr == NULL or sched == NULL or inlen == 0 or outlen == 0 or inlen != outlen

Notes

Assumes:- The current value in ctr has NOT been used with sched - out points to inlen bytes - in points to inlen bytes - ctr is an integer counter in littleEndian format - sched was initialized by aes_set_encrypt_key

References