summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2023-04-23 18:24:02 +0000
committerJob Snijders <job@cvs.openbsd.org>2023-04-23 18:24:02 +0000
commitf33bf4aea515731d5011f30abdd45866e83aa361 (patch)
tree9b85c2e51746f2f3e472074900a4a35c21f846c1
parent35fe28eee69f405ea23468cf08fe12fca88d732a (diff)
Man page update for EVP_sha512_224() and EVP_sha512_256()
OK tb@
-rw-r--r--lib/libcrypto/man/EVP_DigestInit.324
1 files changed, 22 insertions, 2 deletions
diff --git a/lib/libcrypto/man/EVP_DigestInit.3 b/lib/libcrypto/man/EVP_DigestInit.3
index 209ad0181bd..ba9d6a04810 100644
--- a/lib/libcrypto/man/EVP_DigestInit.3
+++ b/lib/libcrypto/man/EVP_DigestInit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: EVP_DigestInit.3,v 1.24 2022/08/31 14:27:34 tb Exp $
+.\" $OpenBSD: EVP_DigestInit.3,v 1.25 2023/04/23 18:24:01 job Exp $
.\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000
.\" selective merge up to: OpenSSL a95d7574 Jul 2 12:16:38 2017 -0400
.\"
@@ -68,7 +68,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 31 2022 $
+.Dd $Mdocdate: April 23 2023 $
.Dt EVP_DIGESTINIT 3
.Os
.Sh NAME
@@ -105,6 +105,8 @@
.Nm EVP_sha256 ,
.Nm EVP_sha384 ,
.Nm EVP_sha512 ,
+.Nm EVP_sha512_224 ,
+.Nm EVP_sha512_256 ,
.Nm EVP_ripemd160 ,
.Nm EVP_get_digestbyname ,
.Nm EVP_get_digestbynid ,
@@ -241,6 +243,10 @@
.Ft const EVP_MD *
.Fn EVP_sha512 void
.Ft const EVP_MD *
+.Fn EVP_sha512_224 void
+.Ft const EVP_MD *
+.Fn EVP_sha512_256 void
+.Ft const EVP_MD *
.Fn EVP_ripemd160 void
.Ft const EVP_MD *
.Fo EVP_get_digestbyname
@@ -461,6 +467,14 @@ return
structures for the MD5, SHA1, SHA224, SHA256, SHA384, SHA512 and
RIPEMD160 digest algorithms respectively.
.Pp
+.Fn EVP_sha512_224
+and
+.Fn EVP_sha512_256
+return an
+.Vt EVP_MD
+structure that provides the truncated SHA512 variants SHA512/224 and SHA512/256,
+respectively.
+.Pp
.Fn EVP_md5_sha1
returns an
.Vt EVP_MD
@@ -718,6 +732,12 @@ first appeared in OpenSSL 0.9.7h and 0.9.8a
and have been available since
.Ox 4.0 .
.Pp
+.Fn EVP_sha512_224
+and
+.Fn EVP_sha512_256
+first appeared in OpenSSL 1.1.1 and has been available since
+.Ox 7.4 .
+.Pp
.Fn EVP_MD_CTX_ctrl
first appeared in OpenSSL 1.1.0 and has been available since
.Ox 5.7 .