Re: [openssl-dev] CMS: is there a support for authenticated encryption (aes-gcm, aes-cbc-cmac etc.) in CMS?

2015-04-13 Thread Dr. Stephen Henson
On Mon, Apr 13, 2015, Pawe?? Ka??mierczak wrote: Hello, is there a support for aes-gcm in openSSL CMS implementaion? Following code works when EVP_aes_128_cbc is used as CMS_encrypt param but fails with EVP_aes_128_gcm. Am I missing something (like setting the gcm header/tag) or

[openssl-dev] CMS: is there a support for authenticated encryption (aes-gcm, aes-cbc-cmac etc.) in CMS?

2015-04-13 Thread Paweł Kaźmierczak
Hello, is there a support for aes-gcm in openSSL CMS implementaion? Following code works when EVP_aes_128_cbc is used as CMS_encrypt param but fails with EVP_aes_128_gcm. Am I missing something (like setting the gcm header/tag) or authenticated encryption is not supported in CMS? void cmsTest()