commit | 8eaf20b18d99d61c324d7d548a2982899b177ab2 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Dec 18 19:14:53 2013 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Dec 26 15:51:13 2013 +0100 |
tree | 7a40488766a544db1f03f21a3ce980d22001b1bd | |
parent | 5b685653ef16f174728ee0b3680286cdbdeb4263 [diff] [blame] |
Allow detection of CLMUL
diff --git a/library/aes.c b/library/aes.c index 6d090a1..d2d1c0c 100644 --- a/library/aes.c +++ b/library/aes.c
@@ -677,7 +677,7 @@ uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; #if defined(POLARSSL_AESNI_C) && defined(POLARSSL_HAVE_X86_64) - if( aesni_supported() ) + if( aesni_supports( POLARSSL_AESNI_AES ) ) return( aesni_crypt_ecb( ctx, mode, input, output ) ); #endif