Lines Matching defs:cipher
124 const EVP_CIPHER *cipher=NULL,*c;
153 cipher=EVP_get_cipherbyname(pname);
155 if (!do_zlib && !base64 && (cipher == NULL)
158 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
161 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
289 cipher=c;
292 cipher=NULL;
421 if ((str == NULL) && (cipher != NULL) && (hkey == NULL))
428 OBJ_nid2ln(EVP_CIPHER_nid(cipher)),
507 if (cipher != NULL)
554 EVP_BytesToKey(cipher,dgst,sptr,
572 && EVP_CIPHER_iv_length(cipher) != 0)
594 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
596 BIO_printf(bio_err, "Error setting cipher %s\n",
597 EVP_CIPHER_name(cipher));
607 BIO_printf(bio_err, "Error setting cipher %s\n",
608 EVP_CIPHER_name(cipher));
628 if (cipher->key_len > 0)
631 for (i=0; i<cipher->key_len; i++)
635 if (cipher->iv_len > 0)
638 for (i=0; i<cipher->iv_len; i++)