Browse Source

mention usage of SHA1Final with null pointer

OPENBSD_2_2
provos 27 years ago
parent
commit
4515cc9a0a
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/lib/libc/hash/sha1.3

+ 6
- 1
src/lib/libc/hash/sha1.3 View File

@ -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> .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved. .\" All rights reserved.
@ -84,6 +84,11 @@ is called when all data has been added via
and stores a message digest in the and stores a message digest in the
.Ar digest .Ar digest
parameter. 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 .Pp
The The
.Fn SHA1Transform .Fn SHA1Transform


Loading…
Cancel
Save