diff options
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
|