summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1997-07-12 11:02:28 +0000
committerprovos <provos@openbsd.org>1997-07-12 11:02:28 +0000
commitfdad761193ec9351acb51e0d3bc75c6cb9f2544d (patch)
tree8b9793dbe6795bedeea72a377ceefdbdfe38e9d7 /lib
parentAdd missing sc->sc_dev.dv_xname arg to isa_intr_establish(). (diff)
downloadwireguard-openbsd-fdad761193ec9351acb51e0d3bc75c6cb9f2544d.tar.xz
wireguard-openbsd-fdad761193ec9351acb51e0d3bc75c6cb9f2544d.zip
mention usage of SHA1Final with null pointer
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/hash/sha1.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 5203f060289..e2768e795b5 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.2 1997/07/11 05:35:46 millert Exp $
+.\" $OpenBSD: sha1.3,v 1.3 1997/07/12 11:02:28 provos Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -84,6 +84,11 @@ is called when all data has been added via
and stores a message digest in the
.Ar digest
parameter.
+When a null pointer is passed to
+.Fn SHA1Final
+as first argument only the final padding will be applied and the
+current context can still be used with
+.Fn SHA1Update .
.Pp
The
.Fn SHA1Transform