Skip to content
Snippets Groups Projects
Commit 7d301d93 authored by Maamoun TK's avatar Maamoun TK
Browse files

[S390x] wipe hash subkey from stack once GHASH operation completed

parent 33bfc509
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,7 @@ PROLOGUE(_nettle_gcm_hash) ...@@ -92,6 +92,7 @@ PROLOGUE(_nettle_gcm_hash)
brc 1,3b C safely branch back in case of partial completion brc 1,3b C safely branch back in case of partial completion
4: 4:
mvc 0(16,%r6),0(%r1) C store x mvc 0(16,%r6),0(%r1) C store x
xc 16(16,%r1),16(%r1) C wipe hash subkey from stack
FREE_STACK(PB_SIZE+16) FREE_STACK(PB_SIZE+16)
lgdr %r6,%f0 C restore general register 6 lgdr %r6,%f0 C restore general register 6
br RA br RA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment