From f5af2ea40fe8ab5978a9b63a3e33fab054d77472 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Feb 2019 17:29:04 +0100 Subject: libsha2.h.0: securely erasing the state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsha2.h.0 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2