Lines Matching full:encrypt
17 #define ENCRYPT 1 macro
50 /* Encrypt tests */ in do_bio_cipher()
56 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) in do_bio_cipher()
70 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) { in do_bio_cipher()
71 TEST_info("Split encrypt failed @ operation %d", i); in do_bio_cipher()
86 TEST_info("Encrypt overstep check failed @ operation %d", i); in do_bio_cipher()
97 TEST_info("Encrypt compare failed @ operation %d", i); in do_bio_cipher()
109 if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) { in do_bio_cipher()
110 TEST_info("Small chunk encrypt failed @ operation %d", i); in do_bio_cipher()
124 TEST_info("Small chunk encrypt compare failed @ operation %d", i); in do_bio_cipher()
291 || !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, ENCRYPT)) in test_bio_enc_eof_read_flush()