Lines Matching refs:iv_len
138 const unsigned char *iv, size_t iv_len, in ccm_auth_crypt() argument
162 if( iv_len < 7 || iv_len > 13 ) in ccm_auth_crypt()
168 q = 16 - 1 - (unsigned char) iv_len; in ccm_auth_crypt()
187 memcpy( b + 1, iv, iv_len ); in ccm_auth_crypt()
245 memcpy( ctr + 1, iv, iv_len ); in ccm_auth_crypt()
246 memset( ctr + 1 + iv_len, 0, q ); in ccm_auth_crypt()
308 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_encrypt_and_tag() argument
313 return( ccm_auth_crypt( ctx, CCM_ENCRYPT, length, iv, iv_len, in mbedtls_ccm_encrypt_and_tag()
321 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_auth_decrypt() argument
332 iv, iv_len, add, add_len, in mbedtls_ccm_auth_decrypt()
384 static const size_t iv_len [NB_TESTS] = { 7, 8, 12 }; variable
423 iv, iv_len[i], ad, add_len[i], in mbedtls_ccm_self_test()
437 iv, iv_len[i], ad, add_len[i], in mbedtls_ccm_self_test()