diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-06-23 14:19:18 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-06-23 14:19:18 -0400 |
commit | d9797c414a95403364db9f834a2e59a7ac41e5d8 (patch) | |
tree | b764671f4beb1e4209756ffb08b001f2f617949b /lea.h | |
parent | 2d0d87b57ad227324ac59fee0ac58808050cc239 (diff) | |
download | cryptopp-git-d9797c414a95403364db9f834a2e59a7ac41e5d8.tar.gz |
Add CRYPTOPP_LEA_ARM_SPLAT_ROUNDKEYS for LEA
Diffstat (limited to 'lea.h')
-rw-r--r-- | lea.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,14 @@ # define CRYPTOPP_LEA_ADVANCED_PROCESS_BLOCKS 1
#endif
+// Define this if you want to pre-splat the round key table
+// for NEON and Aarch64. Pre-splatting the round key increases
+// performance by about 0.7 cpb on ARM server boards like an
+// AMD Opteron A1100. However, it crushes performance on ARM
+// dev-boards like LeMaker HiKey and Pine64. HiKey and Pine64
+// run about 8 cpb slower when pre-splatting the round keys.
+// # define CRYPTOPP_LEA_ARM_SPLAT_ROUNDKEYS 1
+
NAMESPACE_BEGIN(CryptoPP)
/// \brief LEA block cipher information
|