Home
last modified time | relevance | path

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

/openssl/providers/fips/
H A Dself_test_kats.c42 || !EVP_DigestUpdate(ctx, t->pt, t->pt_len) in self_test_digest()
96 int ret = 0, encrypt = 1, len = 0, ct_len = 0, pt_len = 0; in self_test_cipher() local
115 t->base.pt_len) in self_test_cipher()
140 && EVP_CipherFinal_ex(ctx, pt_buf + len, &pt_len))) in self_test_cipher()
143 pt_len += len; in self_test_cipher()
144 if (pt_len != (int)t->base.pt_len in self_test_cipher()
145 || memcmp(pt_buf, t->base.pt, pt_len) != 0) in self_test_cipher()
H A Dself_test_data.inc47 size_t pt_len;
/openssl/test/
H A Dacvp_test.c870 const unsigned char *pt, size_t pt_len, in cipher_enc() argument
904 return TEST_true(cipher_enc(tst->alg, tst->pt, tst->pt_len, in cipher_enc_dec_test()
911 tst->pt, tst->pt_len, !enc)); in cipher_enc_dec_test()
915 const unsigned char *pt, size_t pt_len, in aes_ccm_enc_dec() argument
976 const size_t tag_len = tst->ct_len - tst->pt_len; in aes_ccm_enc_dec_test()
985 return aes_ccm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_ccm_enc_dec_test()
997 tst->pt, tst->pt_len, in aes_ccm_enc_dec_test()
1098 return aes_gcm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_gcm_enc_dec_test()
1125 return aes_gcm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_gcm_gen_iv_internal_test()
1501 size_t pt_len = sizeof(pt); in rsa_decryption_primitive_test() local
[all …]
H A Dacvp_test.inc857 size_t pt_len;
871 size_t pt_len;
885 size_t pt_len;
/openssl/doc/man3/
H A DOSSL_SELF_TEST_new.pod137 || !EVP_DigestUpdate(ctx, pt, pt_len)

Completed in 44 milliseconds