Lines Matching refs:cipher
120 const EVP_CIPHER *cipher=NULL,*c;
145 cipher=EVP_get_cipherbyname(pname);
146 if (!base64 && (cipher == NULL) && (strcmp(pname,"enc") != 0))
148 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
267 cipher=c;
270 cipher=NULL;
395 if ((str == NULL) && (cipher != NULL) && (hkey == NULL))
402 OBJ_nid2ln(EVP_CIPHER_nid(cipher)),
466 if (cipher != NULL)
513 EVP_BytesToKey(cipher,dgst,sptr,
552 if (!EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc))
554 BIO_printf(bio_err, "Error setting cipher %s\n",
555 EVP_CIPHER_name(cipher));
565 BIO_printf(bio_err, "Error setting cipher %s\n",
566 EVP_CIPHER_name(cipher));
586 if (cipher->key_len > 0)
589 for (i=0; i<cipher->key_len; i++)
593 if (cipher->iv_len > 0)
596 for (i=0; i<cipher->iv_len; i++)