diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-14 18:02:01 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-14 18:02:01 +0100 |
commit | b0b483813823c00b4e02f68306408173ce4c8ce5 (patch) | |
tree | a7ba974e1278e021c441a86f2729421de5ef4917 /lib/accelerated | |
parent | 7af33f1700c9631466867e56be2b8e91849f050a (diff) | |
download | gnutls-b0b483813823c00b4e02f68306408173ce4c8ce5.tar.gz |
Allow AESNI GCM accelaration in x86
Diffstat (limited to 'lib/accelerated')
-rw-r--r-- | lib/accelerated/x86/x86-common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/accelerated/x86/x86-common.c b/lib/accelerated/x86/x86-common.c index 2f495f77c6..7ced638b38 100644 --- a/lib/accelerated/x86/x86-common.c +++ b/lib/accelerated/x86/x86-common.c @@ -563,7 +563,9 @@ void register_x86_intel_crypto(unsigned capabilities) if (ret < 0) { gnutls_assert(); } - } else { + } else +#endif + { ret = gnutls_crypto_single_cipher_register (GNUTLS_CIPHER_AES_128_GCM, 80, @@ -580,7 +582,6 @@ void register_x86_intel_crypto(unsigned capabilities) gnutls_assert(); } } -#endif } return; |