diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-12-11 14:49:32 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-12-11 14:49:32 +0000 |
commit | 264b29a013191071e403b6ce8ef088d356037447 (patch) | |
tree | 422555c50e516e79cd3444489f502e7e03de67fb /libexec | |
parent | 4f12f0ba40f8137dec741d2fb8b53ee3c60929c4 (diff) |
Bring back a small copy optimization in the aes-gcm handling:
with ESN AAD is 12 bytes long so it's faster to zero out 4
bytes than to copy 12. Without ESN it's either copying or
zeroing out 8 bytes but we'll rely on the cache locality here.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions