Lines Matching refs:iv_len
274 size_t iv_len, in mbedtls_gcm_starts() argument
290 if( iv_len == 0 || in mbedtls_gcm_starts()
291 ( (uint64_t) iv_len ) >> 61 != 0 || in mbedtls_gcm_starts()
304 if( iv_len == 12 ) in mbedtls_gcm_starts()
306 memcpy( ctx->y, iv, iv_len ); in mbedtls_gcm_starts()
312 PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); in mbedtls_gcm_starts()
315 while( iv_len > 0 ) in mbedtls_gcm_starts()
317 use_len = ( iv_len < 16 ) ? iv_len : 16; in mbedtls_gcm_starts()
324 iv_len -= use_len; in mbedtls_gcm_starts()
466 size_t iv_len, in mbedtls_gcm_crypt_and_tag() argument
483 if( ( ret = mbedtls_gcm_starts( ctx, mode, iv, iv_len, add, add_len ) ) != 0 ) in mbedtls_gcm_crypt_and_tag()
498 size_t iv_len, in mbedtls_gcm_auth_decrypt() argument
519 iv, iv_len, add, add_len, in mbedtls_gcm_auth_decrypt()