sync with OpenBSD -current
This commit is contained in:
parent
3af7aba2fd
commit
222e583e28
80 changed files with 1944 additions and 657 deletions
|
@ -1,4 +1,4 @@
|
|||
.\" $OpenBSD: SHA1.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $
|
||||
.\" $OpenBSD: SHA1.3,v 1.8 2024/05/26 09:54:16 tb Exp $
|
||||
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
|
||||
.\"
|
||||
.\" This file was written by Ulf Moeller <ulf@openssl.org> and
|
||||
|
@ -49,7 +49,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd $Mdocdate: March 27 2018 $
|
||||
.Dd $Mdocdate: May 26 2024 $
|
||||
.Dt SHA1 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -195,11 +195,6 @@ and places it in
|
|||
which must have space for
|
||||
.Dv SHA_DIGEST_LENGTH
|
||||
== 20 bytes of output.
|
||||
If
|
||||
.Fa md
|
||||
is
|
||||
.Dv NULL ,
|
||||
the digest is placed in a static array, which is not thread safe.
|
||||
.Pp
|
||||
The following functions may be used if the message is not completely
|
||||
stored in memory:
|
||||
|
@ -274,3 +269,16 @@ first appeared in SSLeay 0.5.1 and have been available since
|
|||
The other functions first appeared in OpenSSL 0.9.8
|
||||
and have been available since
|
||||
.Ox 4.5 .
|
||||
.Sh CAVEATS
|
||||
Other implementations allow
|
||||
.Fa md
|
||||
in
|
||||
.Fn SHA1 ,
|
||||
.Fn SHA224 ,
|
||||
.Fn SHA256 ,
|
||||
.Fn SHA384 ,
|
||||
and
|
||||
.Fn SHA512
|
||||
to be
|
||||
.Dv NULL
|
||||
and return a static array, which is not thread safe.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue