aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 17:29:04 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 17:29:04 +0100
commitf5af2ea40fe8ab5978a9b63a3e33fab054d77472 (patch)
treecccb664ee1bf5c7d44c68a98bd9db31dad7e5d17
parentAdd libsha2_hmac_[un]marshal (diff)
downloadlibsha2-f5af2ea40fe8ab5978a9b63a3e33fab054d77472.tar.gz
libsha2-f5af2ea40fe8ab5978a9b63a3e33fab054d77472.tar.bz2
libsha2-f5af2ea40fe8ab5978a9b63a3e33fab054d77472.tar.xz
libsha2.h.0: securely erasing the state
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libsha2.h.05
1 files changed, 4 insertions, 1 deletions
diff --git a/libsha2.h.0 b/libsha2.h.0
index 2ef80ac..e1a0060 100644
--- a/libsha2.h.0
+++ b/libsha2.h.0
@@ -63,7 +63,10 @@ Further, the
header defines the opaque, but complete,
.B struct libsha2_state
which stores the selected algorithm and
-the state of the hashing. The header also
+the state of the hashing. A state can be
+securely erased by overriding all bytes
+in the structure with zeroes (or any other
+byte sequence). The header also
defines the functions:
.TP
.BR libsha2_init (3)