mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 06:31:03 +00: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 ) );
|
memset( ctx, 0, sizeof( gcm_context ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(POLARSSL_SELF_TEST)
|
#if defined(POLARSSL_SELF_TEST) && defined(POLARSSL_AES_C)
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GCM test vectors from:
|
* AES-GCM test vectors from:
|
||||||
*
|
*
|
||||||
* http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
|
* 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
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue