Skip to content

Commit fb1ee62

Browse files
authored
serpent: Actually bitslice encryption and decryption (#474)
The Serpent sboxes were designed to be bitsliced, but previously were implemented via table lookups instead. This change improves performance by approximately a factor of 20. In addition, the avoidance of table lookups removes the risk of cache-based side channels.
1 parent cc7bd8d commit fb1ee62

File tree

3 files changed

+544
-123
lines changed

3 files changed

+544
-123
lines changed

0 commit comments

Comments
 (0)