Lines Matching refs:iv_len
149 const unsigned char *iv, size_t iv_len, in ccm_auth_crypt() argument
175 if( iv_len < 7 || iv_len > 13 ) in ccm_auth_crypt()
181 q = 16 - 1 - (unsigned char) iv_len; in ccm_auth_crypt()
200 memcpy( b + 1, iv, iv_len ); in ccm_auth_crypt()
258 memcpy( ctr + 1, iv, iv_len ); in ccm_auth_crypt()
259 memset( ctr + 1 + iv_len, 0, q ); in ccm_auth_crypt()
321 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_star_encrypt_and_tag() argument
332 return( ccm_auth_crypt( ctx, CCM_ENCRYPT, length, iv, iv_len, in mbedtls_ccm_star_encrypt_and_tag()
337 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_encrypt_and_tag() argument
351 return( mbedtls_ccm_star_encrypt_and_tag( ctx, length, iv, iv_len, add, in mbedtls_ccm_encrypt_and_tag()
359 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_star_auth_decrypt() argument
377 iv, iv_len, add, add_len, in mbedtls_ccm_star_auth_decrypt()
397 const unsigned char *iv, size_t iv_len, in mbedtls_ccm_auth_decrypt() argument
412 return( mbedtls_ccm_star_auth_decrypt( ctx, length, iv, iv_len, add, in mbedtls_ccm_auth_decrypt()