CommonCrypto should support AES-GCM

Number:rdar://24071930 Date Originated:06-Jan-2016 02:41 PM
Status:Open Resolved:
Product:iOS Product Version:9.2
Classification:Enhancement Reproducible:Always
AES-GCM is a modern authenticated mode for AES encryption that is faster, more modern and provides authentication. Unfortunately, it’s not available in CommonCrypto on iOS.

Steps to Reproduce:
Try to use AES-GCM with CommonCrypto. 

Expected Results:
CommonCrypto being a modern crypto API, supports AES-GCM mode out of the box. 

Actual Results:
CommonCrypto doesn’t support AES-GCM. A 3rd party library is needed.




Me, too. (Duplicates of duplicates)

My 21342708 of June 11, 2015 makes the identical request.

I've been told that it is a duplicate of 11194903.

I would love to reduce our dependency on openssl/evp

What's annoying is that we know that internally, GCM mode is supported. Apple uses it frequently. So what we need is for them to expose this through CommonCrypto.

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!