Lines Matching refs:cipher
224 CMS_ContentInfo *CMS_EncryptedData_encrypt_ex(BIO *in, const EVP_CIPHER *cipher, in CMS_EncryptedData_encrypt_ex() argument
232 if (cipher == NULL) { in CMS_EncryptedData_encrypt_ex()
239 if (!CMS_EncryptedData_set1_key(cms, cipher, key, keylen)) in CMS_EncryptedData_encrypt_ex()
254 CMS_ContentInfo *CMS_EncryptedData_encrypt(BIO *in, const EVP_CIPHER *cipher, in CMS_EncryptedData_encrypt() argument
258 return CMS_EncryptedData_encrypt_ex(in, cipher, key, keylen, flags, NULL, in CMS_EncryptedData_encrypt()
641 const EVP_CIPHER *cipher, unsigned int flags, in CMS_encrypt_ex() argument
649 cms = (EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER) in CMS_encrypt_ex()
650 ? CMS_AuthEnvelopedData_create_ex(cipher, libctx, propq) in CMS_encrypt_ex()
651 : CMS_EnvelopedData_create_ex(cipher, libctx, propq); in CMS_encrypt_ex()
679 const EVP_CIPHER *cipher, unsigned int flags) in CMS_encrypt() argument
681 return CMS_encrypt_ex(certs, data, cipher, flags, NULL, NULL); in CMS_encrypt()