Lines Matching defs:cipher
223 CMS_ContentInfo *CMS_EncryptedData_encrypt_ex(BIO *in, const EVP_CIPHER *cipher,
231 if (cipher == NULL) {
238 if (!CMS_EncryptedData_set1_key(cms, cipher, key, keylen))
253 CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher,
257 return CMS_EncryptedData_encrypt_ex(in, cipher, key, keylen, flags, NULL,
629 const EVP_CIPHER *cipher, unsigned int flags,
637 cms = (EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER)
638 ? CMS_AuthEnvelopedData_create_ex(cipher, libctx, propq)
639 : CMS_EnvelopedData_create_ex(cipher, libctx, propq);
667 const EVP_CIPHER *cipher, unsigned int flags)
669 return CMS_encrypt_ex(certs, data, cipher, flags, NULL, NULL);