diff options
author | Xin LI <delphij@FreeBSD.org> | 2018-07-20 07:01:28 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2018-07-20 07:01:28 +0000 |
commit | 66bdf50face2485fdb7164cf563cbc595370cd3e (patch) | |
tree | 1a749aadcb9dcb133d74ca9804f43846d81d5056 /lib/libmd/ripemd.3 | |
parent | e8177648bbac282633fa9c4f68d99da24058362c (diff) | |
download | src-66bdf50face2485fdb7164cf563cbc595370cd3e.tar.gz src-66bdf50face2485fdb7164cf563cbc595370cd3e.zip |
libmd: Always erase context in _Final method, and when doing
it, consistently use explicit_bzero().
Update manual pages to match the behavior.
Reviewed by: pfg, allanjude, jmg
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D16316
Notes
Notes:
svn path=/head/; revision=336539
Diffstat (limited to 'lib/libmd/ripemd.3')
-rw-r--r-- | lib/libmd/ripemd.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3 index 8e868b88e8da..e4c5fa4a41c8 100644 --- a/lib/libmd/ripemd.3 +++ b/lib/libmd/ripemd.3 @@ -9,7 +9,7 @@ .\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp .\" $FreeBSD$ .\" -.Dd April 26, 2016 +.Dd July 20, 2018 .Dt RIPEMD 3 .Os .Sh NAME @@ -65,7 +65,9 @@ initialize it with run over the data with .Fn RIPEMD160_Update , and finally extract the result using -.Fn RIPEMD160_Final . +.Fn RIPEMD160_Final , +which will also erase the +.Vt RIPEMD160_CTX . .Pp The .Fn RIPEMD160_End |