mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 04:35:44 +01:00
gcm_selftest depends on AES
This commit is contained in:
parent
87181d1deb
commit
dae7093875
@ -412,12 +412,12 @@ void gcm_free( gcm_context *ctx )
|
||||
memset( ctx, 0, sizeof( gcm_context ) );
|
||||
}
|
||||
|
||||
#if defined(POLARSSL_SELF_TEST)
|
||||
#if defined(POLARSSL_SELF_TEST) && defined(POLARSSL_AES_C)
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/*
|
||||
* GCM test vectors from:
|
||||
* AES-GCM test vectors from:
|
||||
*
|
||||
* http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
|
||||
*/
|
||||
@ -850,6 +850,6 @@ int gcm_self_test( int verbose )
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* POLARSSL_SELF_TEST && POLARSSL_AES_C */
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user