openssl: Fix AES-GCM with BoringSSL
authorTobias Brunner <tobias@strongswan.org>
Tue, 11 Oct 2016 08:54:06 +0000 (10:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Oct 2016 13:29:14 +0000 (15:29 +0200)
commitc72c6e92258f5bf25b073f2b7c7631258d9b83f8
tree6b13bb813058de118e752019d1872d9fff3fd693
parent8b35d5f162ed57a0a9d6f0bacb3e5d2b9dc29c58
openssl: Fix AES-GCM with BoringSSL

BoringSSL only supports a limited list of (hard-coded) algorithms via
EVP_get_cipherbyname(), which does not include AES-GCM.  While BoringSSL
deprecated these functions they are also supported by OpenSSL (in BoringSSL
a completely new interface for AEADs was added, which OpenSSL currently does
not support).
src/libstrongswan/plugins/openssl/openssl_gcm.c