Lines Matching refs:add_len
139 const unsigned char *add, size_t add_len, in ccm_auth_crypt() argument
165 if( add_len > 0xFF00 ) in ccm_auth_crypt()
183 b[0] |= ( add_len > 0 ) << 6; in ccm_auth_crypt()
204 if( add_len > 0 ) in ccm_auth_crypt()
207 len_left = add_len; in ccm_auth_crypt()
211 b[0] = (unsigned char)( ( add_len >> 8 ) & 0xFF ); in ccm_auth_crypt()
212 b[1] = (unsigned char)( ( add_len ) & 0xFF ); in ccm_auth_crypt()
309 const unsigned char *add, size_t add_len, in mbedtls_ccm_encrypt_and_tag() argument
314 add, add_len, input, output, tag, tag_len ) ); in mbedtls_ccm_encrypt_and_tag()
322 const unsigned char *add, size_t add_len, in mbedtls_ccm_auth_decrypt() argument
332 iv, iv_len, add, add_len, in mbedtls_ccm_auth_decrypt()
385 static const size_t add_len[NB_TESTS] = { 8, 16, 20 }; 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()