aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-13 20:12:03 -0400
committerJack Lloyd <[email protected]>2017-10-13 20:14:27 -0400
commit69706d9a4cbca0f502d6a810e1e1cbda280367a7 (patch)
tree675a89e33e9c118482654a562b4cdcaafc052682 /src/lib/utils
parentd717356bb4dd5d2ab1bf62bbdf9c26a7c223554c (diff)
Optimizations for SM4
Using a larger table helps quite a bit. Using 4 tables (ala AES T-tables) didn't seem to help much at all, it's only slightly faster than a single table with rotations. Continue to use the 8 bit table in the first and last rounds as a countermeasure against cache attacks.
Diffstat (limited to 'src/lib/utils')
0 files changed, 0 insertions, 0 deletions