Lines Matching refs:pt

870                       const unsigned char *pt, size_t pt_len,  in cipher_enc()  argument
886 || !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len)) in cipher_enc()
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
943 || !TEST_int_eq(EVP_CipherUpdate(ctx, out, &len, pt, pt_len), pass)) in aes_ccm_enc_dec()
985 return aes_ccm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_ccm_enc_dec_test()
992 tst->pt, tst->pt_len, tag, tag_len, !enc, pass) in aes_ccm_enc_dec_test()
997 tst->pt, tst->pt_len, in aes_ccm_enc_dec_test()
1002 const unsigned char *pt, size_t pt_len, in aes_gcm_enc_dec() argument
1040 || !TEST_true(EVP_CipherUpdate(ctx, out, &len, pt, pt_len))) in aes_gcm_enc_dec()
1098 return aes_gcm_enc_dec(tst->alg, tst->pt, tst->pt_len, in aes_gcm_enc_dec_test()
1106 tst->pt, tst->pt_len, tst->tag, tst->tag_len, in aes_gcm_enc_dec_test()
1112 tst->pt, tst->pt_len, tst->aad, tst->tag_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()
1133 tst->pt, tst->pt_len, out + out_len, tst->tag_len, in aes_gcm_gen_iv_internal_test()
1500 unsigned char pt[2048]; in rsa_decryption_primitive_test() local
1501 size_t pt_len = sizeof(pt); in rsa_decryption_primitive_test()
1517 if (EVP_PKEY_decrypt(ctx, pt, &pt_len, tst->ct, tst->ct_len) <= 0) in rsa_decryption_primitive_test()
1520 test_output_memory("pt", pt, pt_len); in rsa_decryption_primitive_test()
1661 static const unsigned char pt[] = { in aes_cfb1_bits_test() local
1679 if (!TEST_int_gt(EVP_CipherUpdate(ctx, out, &outlen, pt, 7), 0)) in aes_cfb1_bits_test()