From 8cf8ad2628be947f409c37771cbe2189d2fada2b Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Thu, 26 May 2022 04:23:32 +0200 Subject: [PATCH] Add artifact directory --- .../artifacts/optimization-performance-log.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 GCryptLib/artifacts/optimization-performance-log.md diff --git a/GCryptLib/artifacts/optimization-performance-log.md b/GCryptLib/artifacts/optimization-performance-log.md new file mode 100644 index 0000000..c019e69 --- /dev/null +++ b/GCryptLib/artifacts/optimization-performance-log.md @@ -0,0 +1,21 @@ +Old way (400 rounds, no matrix mult): 38.01s + 400 was the minimum for good diffusion + +New way (10 rounds, with matrix mult): 1.16s + 10 rounds now give sufficient diffusion + still using bitsets and strings + +With new block class (instead of bitsets) (10 rounds): 0.35s + still partially using bitsets and strings + +With new block class (6 rounds, still good diffusion): 0.21s + +With new templated block class (full block and half block): 0.14s + finally no more bitsets + +With new sbox, reduction, and expansion function: 0.03s + +With additional jumbling in feistel rounds: 0.03s + +With direct file reading/writing from data blocks: 0.02s +