summaryrefslogtreecommitdiff
path: root/s390x
diff options
context:
space:
mode:
authorMamone Tarsha <maamoun.tk@googlemail.com>2021-07-03 02:40:29 +0300
committerMamone Tarsha <maamoun.tk@googlemail.com>2021-07-03 02:40:29 +0300
commit6c84092d4d67b1a552ef287525be34e0474a9de5 (patch)
treea3f6cfe2a02b394dfa3c0d612ee0c73456bda3d0 /s390x
parent7d301d935f526257a576c35e024b5a7f224a63d0 (diff)
downloadnettle-6c84092d4d67b1a552ef287525be34e0474a9de5.tar.gz
[S390x] wipe parameter block content and leftover bytes of data from stack
Diffstat (limited to 's390x')
-rw-r--r--s390x/msa_x4/gcm-hash.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/s390x/msa_x4/gcm-hash.asm b/s390x/msa_x4/gcm-hash.asm
index 3bbc8a63..50d8b7c0 100644
--- a/s390x/msa_x4/gcm-hash.asm
+++ b/s390x/msa_x4/gcm-hash.asm
@@ -92,7 +92,7 @@ PROLOGUE(_nettle_gcm_hash)
brc 1,3b C safely branch back in case of partial completion
4:
mvc 0(16,%r6),0(%r1) C store x
- xc 16(16,%r1),16(%r1) C wipe hash subkey from stack
+ xc 0(PB_SIZE+16,%r1),0(%r1) C wipe parameter block content and leftover bytes of data from stack
FREE_STACK(PB_SIZE+16)
lgdr %r6,%f0 C restore general register 6
br RA