diff options
author | Tommi Hirvola <tommi@hirvola.fi> | 2019-02-19 16:45:54 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-28 07:17:59 +0100 |
commit | 7748168c66404a3ee732972a3a55b5332245eb25 (patch) | |
tree | 6dbd1154dd29a4464d2e0aa24b6640b8b1094a3b /drivers/crypto/s5p-sss.c | |
parent | crypto: caam - generate hash keys in-place (diff) | |
download | linux-7748168c66404a3ee732972a3a55b5332245eb25.tar.xz linux-7748168c66404a3ee732972a3a55b5332245eb25.zip |
crypto: x86/poly1305 - Clear key material from stack in SSE2 variant
1-block SSE2 variant of poly1305 stores variables s1..s4 containing key
material on the stack. This commit adds missing zeroing of the stack
memory. Benchmarks show negligible performance hit (tested on i7-3770).
Signed-off-by: Tommi Hirvola <tommi@hirvola.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions