Lines Matching refs:iv_len
269 size_t iv_len, in mbedtls_gcm_starts() argument
280 if( ( (uint64_t) iv_len ) >> 61 != 0 || in mbedtls_gcm_starts()
293 if( iv_len == 12 ) in mbedtls_gcm_starts()
295 memcpy( ctx->y, iv, iv_len ); in mbedtls_gcm_starts()
301 PUT_UINT32_BE( iv_len * 8, work_buf, 12 ); in mbedtls_gcm_starts()
304 while( iv_len > 0 ) in mbedtls_gcm_starts()
306 use_len = ( iv_len < 16 ) ? iv_len : 16; in mbedtls_gcm_starts()
313 iv_len -= use_len; in mbedtls_gcm_starts()
445 size_t iv_len, in mbedtls_gcm_crypt_and_tag() argument
455 if( ( ret = mbedtls_gcm_starts( ctx, mode, iv, iv_len, add, add_len ) ) != 0 ) in mbedtls_gcm_crypt_and_tag()
470 size_t iv_len, in mbedtls_gcm_auth_decrypt() argument
484 iv, iv_len, add, add_len, in mbedtls_gcm_auth_decrypt()
532 static const size_t iv_len[MAX_TESTS] = variable
761 iv[iv_index[i]], iv_len[i], in mbedtls_gcm_self_test()
788 iv[iv_index[i]], iv_len[i], in mbedtls_gcm_self_test()
814 iv[iv_index[i]], iv_len[i], in mbedtls_gcm_self_test()
881 iv[iv_index[i]], iv_len[i], in mbedtls_gcm_self_test()