diff options
author | Mamone Tarsha <maamoun.tk@googlemail.com> | 2021-07-02 23:49:43 +0300 |
---|---|---|
committer | Mamone Tarsha <maamoun.tk@googlemail.com> | 2021-07-02 23:49:43 +0300 |
commit | 7d301d935f526257a576c35e024b5a7f224a63d0 (patch) | |
tree | 7f2422b877e77990f7af5e59094e2bd0fa26098f | |
parent | 33bfc509ba579c2f9aa87749ee774fbfad679f02 (diff) | |
download | nettle-7d301d935f526257a576c35e024b5a7f224a63d0.tar.gz |
[S390x] wipe hash subkey from stack once GHASH operation completed
-rw-r--r-- | s390x/msa_x4/gcm-hash.asm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/s390x/msa_x4/gcm-hash.asm b/s390x/msa_x4/gcm-hash.asm index 73a50824..3bbc8a63 100644 --- a/s390x/msa_x4/gcm-hash.asm +++ b/s390x/msa_x4/gcm-hash.asm @@ -92,6 +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 FREE_STACK(PB_SIZE+16) lgdr %r6,%f0 C restore general register 6 br RA |