summaryrefslogtreecommitdiff
path: root/rijndael.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-12 18:15:55 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-12 18:15:55 -0400
commit6899d3f8bb06499557c7d0672e371c6ee06a87e9 (patch)
tree6493734715e3bfbadbf8836c713544942ac6a837 /rijndael.h
parent2ebd30d43cfd60c2213d7e74ee5f97eff915d8ec (diff)
downloadcryptopp-git-6899d3f8bb06499557c7d0672e371c6ee06a87e9.tar.gz
Add AdvancedProcessBlocks for Power8
This increases performance to about 1.6 cpb. We are about 0.5 cpb behind Botan, and about 1.0 cpb behind OpenSSL. However, it beats the snot out of C/C++, which runs at 20 to 30 cpb
Diffstat (limited to 'rijndael.h')
-rw-r--r--rijndael.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rijndael.h b/rijndael.h
index 483eab5a..b6cd0faf 100644
--- a/rijndael.h
+++ b/rijndael.h
@@ -12,7 +12,8 @@
#include "seckey.h"
#include "secblock.h"
-#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64
+#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_ARM32 || \
+ CRYPTOPP_BOOL_ARM64 || CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
# define CRYPTOPP_ENABLE_ADVANCED_PROCESS_BLOCKS 1
#endif