diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-08-09 23:28:49 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-08-09 23:28:49 -0400 |
commit | 9f2d65409a70c8bb2168537d37715ef1e16fda26 (patch) | |
tree | 2092bbefdf873a84960c9db29ef3fbe7540cf83b /config.h | |
parent | 989c3bfbf26d62630058aa26c2318634470f0c1b (diff) | |
download | cryptopp-git-9f2d65409a70c8bb2168537d37715ef1e16fda26.tar.gz |
Add POWER8 GCM mode (GH #698)
Commit 3ed38e42f619 added the POWER8 infrastructure for GCM mode. It also added GCM_SetKeyWithoutResync_VMULL, GCM_Multiply_VMULL and GCM_Reduce_VMULL. This commit adds the remainder, which includes GCM_AuthenticateBlocks_VMULL.
GCC is OK on Linux (ppc64-le) and AIX (ppc64-be). We may need some touchups for XLC compiler
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -787,7 +787,7 @@ NAMESPACE_END # if defined(__CRYPTO__) || defined(_ARCH_PWR8) || (CRYPTOPP_XLC_VERSION >= 130000) || (CRYPTOPP_GCC_VERSION >= 40800)
//# define CRYPTOPP_POWER8_CRC_AVAILABLE 1
# define CRYPTOPP_POWER8_AES_AVAILABLE 1
-//# define CRYPTOPP_POWER8_VMULL_AVAILABLE 1
+# define CRYPTOPP_POWER8_VMULL_AVAILABLE 1
# define CRYPTOPP_POWER8_SHA_AVAILABLE 1
# endif
#endif
|