ENCRYPT
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
|| !TEST_true(EVP_CipherInit_ex(ctx, cipher, NULL, KEY, IV, ENCRYPT))
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT)))
if (!TEST_true(BIO_set_cipher(b, cipher, key, iv, ENCRYPT))) {
des_crypt_1_arg.des_dir = (dparms->des_dir == ENCRYPT) ? ENCRYPT_DES : DECRYPT_DES;
((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;