Lines Matching refs:cipher
30 const EVP_CIPHER *cipher = NULL;
43 enc = ec->cipher ? 1 : 0;
55 cipher = ec->cipher;
57 * If not keeping key set cipher to NULL so subsequent calls decrypt.
60 ec->cipher = NULL;
62 cipher = EVP_get_cipherbyobj(calg->algorithm);
64 if (cipher != NULL) {
65 fetched_ciph = EVP_CIPHER_fetch(libctx, EVP_CIPHER_get0_name(cipher),
68 cipher = fetched_ciph;
70 if (cipher == NULL) {
77 if (EVP_CipherInit_ex(ctx, cipher, NULL, NULL, NULL, enc) <= 0) {
105 if ((EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER)) {
173 if ((EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER)) {
207 const EVP_CIPHER *cipher,
211 ec->cipher = cipher;
220 if (cipher != NULL)
254 if (enc->encryptedContentInfo->cipher && enc->unprotectedAttrs)