summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/poly1305-sse2-x86_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/crypto/poly1305-sse2-x86_64.S')
-rw-r--r--arch/x86/crypto/poly1305-sse2-x86_64.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/crypto/poly1305-sse2-x86_64.S b/arch/x86/crypto/poly1305-sse2-x86_64.S
index c88c670cb5fc..e6add74d78a5 100644
--- a/arch/x86/crypto/poly1305-sse2-x86_64.S
+++ b/arch/x86/crypto/poly1305-sse2-x86_64.S
@@ -272,6 +272,10 @@ ENTRY(poly1305_block_sse2)
dec %rcx
jnz .Ldoblock
+ # Zeroing of key material
+ mov %rcx,0x00(%rsp)
+ mov %rcx,0x08(%rsp)
+
add $0x10,%rsp
pop %r12
pop %rbx