Home
last modified time | relevance | path

Searched refs:pt_len (Results 1 – 10 of 10) sorted by relevance

/third_party/mbedtls/tests/scripts/
Dgen_gcm_encrypt.pl65 my $pt_len = get_suite_val("PTlen");
79 print("GCM NIST Validation (AES-$key_len,$iv_len,$pt_len,$add_len,$tag_len) #$Count\n");
Dgen_gcm_decrypt.pl82 my $pt_len = get_suite_val("PTlen");
96 print("GCM NIST Validation (AES-$key_len,$iv_len,$pt_len,$add_len,$tag_len) #$Count\n");
/third_party/openssl/test/
Dacvp_test.c672 const unsigned char *pt, size_t pt_len, in cipher_enc() argument
688 || !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len)) in cipher_enc()
706 return TEST_true(cipher_enc(tst->alg, tst->pt, tst->pt_len, in cipher_enc_dec_test()
713 tst->pt, tst->pt_len, !enc)); in cipher_enc_dec_test()
717 const unsigned char *pt, size_t pt_len, in aes_ccm_enc_dec() argument
743 || !TEST_true(EVP_CipherUpdate(ctx, NULL, &len, NULL, pt_len)) in aes_ccm_enc_dec()
745 || !TEST_int_eq(EVP_CipherUpdate(ctx, out, &len, pt, pt_len), pass)) in aes_ccm_enc_dec()
778 const size_t tag_len = tst->ct_len - tst->pt_len; in aes_ccm_enc_dec_test()
787 return aes_ccm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_ccm_enc_dec_test()
794 tst->pt, tst->pt_len, tag, tag_len, !enc, pass) in aes_ccm_enc_dec_test()
[all …]
Dacvp_test.inc707 size_t pt_len;
721 size_t pt_len;
735 size_t pt_len;
/third_party/openssl/providers/fips/
Dself_test_kats.c34 || !EVP_DigestUpdate(ctx, t->pt, t->pt_len) in self_test_digest()
88 int ret = 0, encrypt = 1, len = 0, ct_len = 0, pt_len = 0; in self_test_cipher() local
107 t->base.pt_len) in self_test_cipher()
132 && EVP_CipherFinal_ex(ctx, pt_buf + len, &pt_len))) in self_test_cipher()
135 pt_len += len; in self_test_cipher()
136 if (pt_len != (int)t->base.pt_len in self_test_cipher()
137 || memcmp(pt_buf, t->base.pt, pt_len) != 0) in self_test_cipher()
Dself_test_data.inc38 size_t pt_len;
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dtransportstream.h84 gsize * pt_len);
Dtransportstream.c85 const gchar * encoding_name, gsize * pt_len) in transport_stream_get_all_pt() argument
109 *pt_len = ret_i; in transport_stream_get_all_pt()
/third_party/mbedtls/library/
Decdh.c308 size_t grp_len, pt_len; in ecdh_make_params_internal() local
342 &pt_len, buf, blen ) ) != 0 ) in ecdh_make_params_internal()
345 *olen = grp_len + pt_len; in ecdh_make_params_internal()
/third_party/openssl/doc/man3/
DOSSL_SELF_TEST_new.pod136 || !EVP_DigestUpdate(ctx, pt, pt_len)