Lines Matching refs:add_len
271 size_t add_len ) in mbedtls_gcm_starts() argument
281 ( (uint64_t) add_len ) >> 61 != 0 ) in mbedtls_gcm_starts()
291 ctx->add_len = 0; in mbedtls_gcm_starts()
329 ctx->add_len = add_len; in mbedtls_gcm_starts()
331 while( add_len > 0 ) in mbedtls_gcm_starts()
333 use_len = ( add_len < 16 ) ? add_len : 16; in mbedtls_gcm_starts()
340 add_len -= use_len; in mbedtls_gcm_starts()
413 uint64_t orig_add_len = ctx->add_len * 8; in mbedtls_gcm_finish()
447 size_t add_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()
472 size_t add_len, in mbedtls_gcm_auth_decrypt() argument
484 iv, iv_len, add, add_len, in mbedtls_gcm_auth_decrypt()
554 static const size_t add_len[MAX_TESTS] = variable
762 additional[add_index[i]], add_len[i], in mbedtls_gcm_self_test()
789 additional[add_index[i]], add_len[i], in mbedtls_gcm_self_test()
815 additional[add_index[i]], add_len[i] ); in mbedtls_gcm_self_test()
882 additional[add_index[i]], add_len[i] ); in mbedtls_gcm_self_test()