summaryrefslogtreecommitdiff
path: root/cipher/cipher-aeswrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/cipher-aeswrap.c')
-rw-r--r--cipher/cipher-aeswrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/cipher-aeswrap.c b/cipher/cipher-aeswrap.c
index c182657e..42407519 100644
--- a/cipher/cipher-aeswrap.c
+++ b/cipher/cipher-aeswrap.c
@@ -187,6 +187,7 @@ _gcry_cipher_aeswrap_decrypt (gcry_cipher_hd_t c,
memcpy (r+(i-1)*8, b+8, 8);
}
}
+ wipememory (b, 16); /* Clear scratch area. */
/* If an IV has been set we compare against this Alternative Initial
Value; if it has not been set we compare against the standard IV. */