summaryrefslogtreecommitdiff
path: root/gcm.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2010-07-24 05:55:22 +0000
committerweidai <weidai11@users.noreply.github.com>2010-07-24 05:55:22 +0000
commit7adbf89681278ddfb5e3fb82a2e39d1a97daa651 (patch)
tree9fa57aeee5c779a3c9b4f88006050d81ff68e6ef /gcm.h
parenta070ff16ae0829474effa76fa0305e6d63966123 (diff)
downloadcryptopp-git-7adbf89681278ddfb5e3fb82a2e39d1a97daa651.tar.gz
add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM
Diffstat (limited to 'gcm.h')
-rw-r--r--gcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcm.h b/gcm.h
index 0133ffef..0b32524f 100644
--- a/gcm.h
+++ b/gcm.h
@@ -63,6 +63,7 @@ protected:
byte *HashBuffer() {return m_buffer+REQUIRED_BLOCKSIZE;}
byte *HashKey() {return m_buffer+2*REQUIRED_BLOCKSIZE;}
byte *MulTable() {return m_buffer+3*REQUIRED_BLOCKSIZE;}
+ inline void ReverseHashBufferIfNeeded();
class CRYPTOPP_DLL GCTR : public CTR_Mode_ExternalCipher::Encryption
{