1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix GCM dependencies

This commit is contained in:
Manuel Pégourié-Gonnard
2013-10-24 13:39:39 +02:00
parent 13e0d449f7
commit 7bd8a99e11
9 changed files with 1054 additions and 3 deletions

View File

@@ -1085,7 +1085,7 @@
*
* Module: library/gcm.c
*
* Requires: POLARSSL_AES_C
* Requires: POLARSSL_AES_C or POLARSSL_CAMELLIA_C
*
* This module enables the following ciphersuites (if other requisites are
* enabled as well):
@@ -1765,7 +1765,8 @@
#error "CTR_DRBG_ENTROPY_LEN value too high"
#endif
#if defined(POLARSSL_GCM_C) && !defined(POLARSSL_AES_C)
#if defined(POLARSSL_GCM_C) && ( \
!defined(POLARSSL_AES_C) && !defined(POLARSSL_CAMELLIA_C) )
#error "POLARSSL_GCM_C defined, but not all prerequisites"
#endif