mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
acdcf2bfaa
DES was the next target in my ongoing programme of trying to make all our crypto code constant-time. Unfortunately, DES is very hard to make constant-time and still have any kind of performance: my early timing tests suggest that the implementation I have here is about 4.5 times slower than the implementation it's replacing. That's about the same factor as the new AES code when it's not in parallel mode and not superseded by hardware acceleration - but of course the difference is that AES usually _is_ superseded by HW acceleration or (failing that) in parallel mode. This DES implementation doesn't parallelise, and there's no hardware alternative, so DES is going to be this slow all the time, unless someone sends me code that does it better. But hopefully that isn't too big a problem. The main use for DES these days is legacy devices whose SSH servers haven't been updated to speak anything more modern, so with any luck those devices will also be old and slow enough that _their_ end will be the bottleneck in connection speed! |
||
---|---|---|
.. | ||
colours.txt | ||
cryptsuite.py | ||
desref.py | ||
display.txt | ||
eccref.py | ||
lattrs.txt | ||
scocols.txt | ||
testcrypt.py | ||
utf8.txt | ||
vt100.txt |