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

Dr. Stephen Henson steve at openssl.org
Mon Apr 13 17:37:29 UTC 2015


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 authenticated encryption is not supported in CMS?
> 

No it's not currently supported and it would require support for a new content
type so it's not trivial to add either.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


More information about the openssl-dev mailing list