diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-10 17:29:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-10 17:29:04 +0100 |
commit | f5af2ea40fe8ab5978a9b63a3e33fab054d77472 (patch) | |
tree | cccb664ee1bf5c7d44c68a98bd9db31dad7e5d17 /libsha2.h.0 | |
parent | Add libsha2_hmac_[un]marshal (diff) | |
download | libsha2-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.0 | 5 |
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) |