Lines Matching defs:cipher
117 const EVP_CIPHER *cipher=NULL,*c;
143 cipher=EVP_get_cipherbyname(pname);
144 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
146 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
272 cipher=c;
275 cipher=NULL;
403 if ((str == NULL) && (cipher != NULL) && (hkey == NULL))
410 OBJ_nid2ln(EVP_CIPHER_nid(cipher)),
474 if (cipher != NULL)
521 EVP_BytesToKey(cipher,dgst,sptr,
539 && EVP_CIPHER_iv_length(cipher) != 0)
566 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
568 BIO_printf(bio_err, "Error setting cipher %s\n",
569 EVP_CIPHER_name(cipher));
579 BIO_printf(bio_err, "Error setting cipher %s\n",
580 EVP_CIPHER_name(cipher));
600 if (cipher->key_len > 0)
603 for (i=0; i<cipher->key_len; i++)
607 if (cipher->iv_len > 0)
610 for (i=0; i<cipher->iv_len; i++)