Skip to content
Commit 7748168c authored by Tommi Hirvola's avatar Tommi Hirvola Committed by Herbert Xu
Browse files

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: default avatarTommi Hirvola <tommi@hirvola.fi>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 30724445
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment