BoringSSL: Allow internal AES key wrap to be used with "OpenSSL" build
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 17 Aug 2015 18:31:17 +0000 (21:31 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 17 Aug 2015 22:56:02 +0000 (01:56 +0300)
commit812f28b79cfcff122af8c0d6a9eb9e793a1c2652
treebf6707bcbffa7ea4e9305cefab510eb844baa359
parentc965ae034a9730670bad512defc839bf8de9dca8
BoringSSL: Allow internal AES key wrap to be used with "OpenSSL" build

It looks like BoringSSL has removed the AES_wrap_key(), AES_unwrap_key()
API. This broke wpa_supplicant/hostapd build since those functions from
OpenSSL were used to replace the internal AES key wrap implementation.
Add a new build configuration option
(CONFIG_OPENSSL_INTERNAL_AES_WRAP=y) to allow the internal
implementation to be used with CONFIG_OPENSSL=y build to allow build
against the latest BoringSSL version.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/crypto/crypto_openssl.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile