Searched refs:pt_len (Results 1 – 5 of 5) sorted by relevance
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_gcm.function | 27 size_t pt_len, iv_len, add_len, tag_len = tag_len_bits / 8; 41 pt_len = unhexify( src_str, hex_src_string ); 48 …TEST_ASSERT( mbedtls_gcm_crypt_and_tag( &ctx, MBEDTLS_GCM_ENCRYPT, pt_len, iv_str, iv_len, add_str… 49 hexify( dst_str, output, pt_len ); 77 size_t pt_len, iv_len, add_len, tag_len = tag_len_bits / 8; 91 pt_len = unhexify( src_str, hex_src_string ); 99 …ret = mbedtls_gcm_auth_decrypt( &ctx, pt_len, iv_str, iv_len, add_str, add_len, tag_str, tag_len, … 108 hexify( dst_str, output, pt_len );
|
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | gcm.c | 568 static const size_t pt_len[MAX_TESTS] = variable 760 pt_len[i], in mbedtls_gcm_self_test() 766 memcmp( buf, ct[j * 6 + i], pt_len[i] ) != 0 || in mbedtls_gcm_self_test() 787 pt_len[i], in mbedtls_gcm_self_test() 793 memcmp( buf, pt[pt_index[i]], pt_len[i] ) != 0 || in mbedtls_gcm_self_test() 824 if( pt_len[i] > 32 ) in mbedtls_gcm_self_test() 826 size_t rest_len = pt_len[i] - 32; in mbedtls_gcm_self_test() 848 ret = mbedtls_gcm_update( &ctx, pt_len[i], pt[pt_index[i]], buf ); in mbedtls_gcm_self_test() 860 memcmp( buf, ct[j * 6 + i], pt_len[i] ) != 0 || in mbedtls_gcm_self_test() 891 if( pt_len[i] > 32 ) in mbedtls_gcm_self_test() [all …]
|
D | ecdh.c | 124 size_t grp_len, pt_len; in mbedtls_ecdh_make_params() local 141 &pt_len, buf, blen ) ) != 0 ) in mbedtls_ecdh_make_params() 144 *olen = grp_len + pt_len; in mbedtls_ecdh_make_params()
|
/net-tools-3.5.0/mbedtls-2.4.0/tests/scripts/ |
D | gen_gcm_encrypt.pl | 50 my $pt_len = get_suite_val("PTlen"); 64 print("GCM NIST Validation (AES-$key_len,$iv_len,$pt_len,$add_len,$tag_len) #$Count\n");
|
D | gen_gcm_decrypt.pl | 67 my $pt_len = get_suite_val("PTlen"); 81 print("GCM NIST Validation (AES-$key_len,$iv_len,$pt_len,$add_len,$tag_len) #$Count\n");
|