diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-21 11:10:39 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-21 11:10:39 +0200 |
commit | 2196728e2252917849c1be94417258076767021b (patch) | |
tree | 6e7bc77da79e0ae17946db1a3ddee5a390b7dd32 /src/hwfeatures.c | |
parent | 20e423212c9710ee663e12dd0f62580ceb245a6f (diff) | |
download | libgcrypt-2196728e2252917849c1be94417258076767021b.tar.gz |
Clear AESNI feature flag for x86_64.
* src/hwfeatures.c (_gcry_detect_hw_features) [__x86_64__]: Clear
AESNI feature flag.
Diffstat (limited to 'src/hwfeatures.c')
-rw-r--r-- | src/hwfeatures.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hwfeatures.c b/src/hwfeatures.c index 396c71b2..cf80fe0b 100644 --- a/src/hwfeatures.c +++ b/src/hwfeatures.c @@ -287,6 +287,9 @@ _gcry_detect_hw_features (unsigned int disabled_features) # ifdef __GNUC__ { detect_x86_64_gnuc (); + /* We don't have AESNI support for 64 bit yet. Thus we should not + announce it. */ + hw_features &= ~HWF_INTEL_AESNI; } # endif #endif |