aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/crypt_burn.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2015-04-14 12:38:18 +0200
committerMartin Willi <martin@revosec.ch>2015-04-15 13:44:40 +0200
commit37794878ccea66310391194daa26e7cb1ca0e85e (patch)
tree4d85951f1df7a19f5c98f06b1f2423ba1e2e97dd /scripts/crypt_burn.c
parent93f0080265a700ab9060783807b53c39e1b536b1 (diff)
downloadstrongswan-37794878ccea66310391194daa26e7cb1ca0e85e.tar.bz2
strongswan-37794878ccea66310391194daa26e7cb1ca0e85e.tar.xz
aesni: Avoid loading AES/GHASH round keys into local variables
The performance impact is not measurable, as the compiler loads these variables in xmm registers in unrolled loops anyway. However, we avoid loading these sensitive keys onto the stack. This happens for larger key schedules, where the register count is insufficient. If that key material is not on the stack, we can avoid to wipe it explicitly after crypto operations.
Diffstat (limited to 'scripts/crypt_burn.c')
0 files changed, 0 insertions, 0 deletions