Home
last modified time | relevance | path

Searched refs:inlen (Results 1 – 5 of 5) sorted by relevance

/tinycrypt-3.7.0/lib/source/
Dcbc_mode.c38 unsigned int inlen, const uint8_t *iv, in tc_cbc_mode_encrypt() argument
49 inlen == 0 || in tc_cbc_mode_encrypt()
51 (inlen % TC_AES_BLOCK_SIZE) != 0 || in tc_cbc_mode_encrypt()
53 outlen != inlen + TC_AES_BLOCK_SIZE) { in tc_cbc_mode_encrypt()
63 for (n = m = 0; n < inlen; ++n) { in tc_cbc_mode_encrypt()
78 unsigned int inlen, const uint8_t *iv, in tc_cbc_mode_decrypt() argument
90 inlen == 0 || in tc_cbc_mode_decrypt()
92 (inlen % TC_AES_BLOCK_SIZE) != 0 || in tc_cbc_mode_decrypt()
94 outlen != inlen) { in tc_cbc_mode_decrypt()
Dctr_mode.c38 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched) in tc_ctr_mode() argument
51 inlen == 0 || in tc_ctr_mode()
53 outlen != inlen) { in tc_ctr_mode()
63 for (i = 0; i < inlen; ++i) { in tc_ctr_mode()
Dccm_mode.c94 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched) in ccm_ctr_mode() argument
107 inlen == 0 || in ccm_ctr_mode()
109 outlen != inlen) { in ccm_ctr_mode()
118 for (i = 0; i < inlen; ++i) { in ccm_ctr_mode()
/tinycrypt-3.7.0/lib/include/tinycrypt/
Dcbc_mode.h111 unsigned int inlen, const uint8_t *iv,
144 unsigned int inlen, const uint8_t *iv,
Dctr_mode.h102 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched);