summaryrefslogtreecommitdiff
path: root/lea.h
diff options
context:
space:
mode:
Diffstat (limited to 'lea.h')
-rw-r--r--lea.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lea.h b/lea.h
index 02fccd45..5b9f74b0 100644
--- a/lea.h
+++ b/lea.h
@@ -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