Lines Matching refs:cipher
122 const EVP_CIPHER *cipher=NULL,*c;
151 cipher=EVP_get_cipherbyname(pname);
153 if (!do_zlib && !base64 && (cipher == NULL)
156 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
159 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
287 cipher=c;
290 cipher=NULL;
417 if ((str == NULL) && (cipher != NULL) && (hkey == NULL))
424 OBJ_nid2ln(EVP_CIPHER_nid(cipher)),
501 if (cipher != NULL)
548 EVP_BytesToKey(cipher,dgst,sptr,
566 && EVP_CIPHER_iv_length(cipher) != 0)
588 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
590 BIO_printf(bio_err, "Error setting cipher %s\n",
591 EVP_CIPHER_name(cipher));
601 BIO_printf(bio_err, "Error setting cipher %s\n",
602 EVP_CIPHER_name(cipher));
622 if (cipher->key_len > 0)
625 for (i=0; i<cipher->key_len; i++)
629 if (cipher->iv_len > 0)
632 for (i=0; i<cipher->iv_len; i++)