GCrypt/GCryptLib/artifacts/optimization-performance-log.md

22 lines
646 B
Markdown
Raw Normal View History

2022-05-26 04:23:32 +02:00
Old way (400 rounds, no matrix mult): 38.01s
2022-05-26 04:25:02 +02:00
- 400 was the minimum for good diffusion
2022-05-26 04:23:32 +02:00
New way (10 rounds, with matrix mult): 1.16s
2022-05-26 04:25:02 +02:00
- 10 rounds now give sufficient diffusion
- still using bitsets and strings
2022-05-26 04:23:32 +02:00
With new block class (instead of bitsets) (10 rounds): 0.35s
2022-05-26 04:25:02 +02:00
- still partially using bitsets and strings
2022-05-26 04:23:32 +02:00
With new block class (6 rounds, still good diffusion): 0.21s
With new templated block class (full block and half block): 0.14s
2022-05-26 04:25:02 +02:00
- finally no more bitsets
2022-05-26 04:23:32 +02:00
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