summaryrefslogtreecommitdiff
path: root/lib/libcrypto/man/EVP_DigestInit.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-03-25 17:54:05 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-03-25 17:54:05 +0000
commita8282ede3a778fdbba2028367c7e2e9b90c8effd (patch)
tree5a34ec3693c81f135960e5d1b0139caa2ea14965 /lib/libcrypto/man/EVP_DigestInit.3
parent6e9854f10517d0ac361e3ee2d6e0be85b17a05da (diff)
minimal stub-quality documentation of EVP_MD_CTX_ctrl(3);
from Todd Short <tshort@akamai.com> via OpenSSL commit 52ad5b60
Diffstat (limited to 'lib/libcrypto/man/EVP_DigestInit.3')
-rw-r--r--lib/libcrypto/man/EVP_DigestInit.320
1 files changed, 17 insertions, 3 deletions
diff --git a/lib/libcrypto/man/EVP_DigestInit.3 b/lib/libcrypto/man/EVP_DigestInit.3
index 9941fbdf6ec..c327164bc0a 100644
--- a/lib/libcrypto/man/EVP_DigestInit.3
+++ b/lib/libcrypto/man/EVP_DigestInit.3
@@ -1,8 +1,9 @@
-.\" $OpenBSD: EVP_DigestInit.3,v 1.5 2017/02/28 14:22:49 jsing Exp $
+.\" $OpenBSD: EVP_DigestInit.3,v 1.6 2017/03/25 17:54:04 schwarze Exp $
+.\" OpenSSL d2a56999 Sep 24 13:37:16 2016 +0200
.\" OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
-.\" Copyright (c) 2000-2004, 2009, 2012-2015 The OpenSSL Project.
+.\" Copyright (c) 2000-2004, 2009, 2012-2016 The OpenSSL Project.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -49,12 +50,13 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 28 2017 $
+.Dd $Mdocdate: March 25 2017 $
.Dt EVP_DIGESTINIT 3
.Os
.Sh NAME
.Nm EVP_MD_CTX_init ,
.Nm EVP_MD_CTX_create ,
+.Nm EVP_MD_CTX_ctrl ,
.Nm EVP_DigestInit_ex ,
.Nm EVP_DigestUpdate ,
.Nm EVP_DigestFinal_ex ,
@@ -97,6 +99,13 @@
.Fc
.Ft EVP_MD_CTX *
.Fn EVP_MD_CTX_create void
+.Ft void
+.Fo EVP_MD_CTX_ctrl
+.Fa "EVP_MD_CTX *ctx"
+.Fa "int cmd"
+.Fa "int p1"
+.Fa "void* p2"
+.Fc
.Ft int
.Fo EVP_DigestInit_ex
.Fa "EVP_MD_CTX *ctx"
@@ -223,6 +232,10 @@ initializes the digest context
.Fn EVP_MD_CTX_create
allocates, initializes, and returns a digest context.
.Pp
+.Fn EVP_MD_CTX_ctrl
+performs digest-specific control actions on the context
+.Fa ctx .
+.Pp
.Fn EVP_DigestInit_ex
sets up digest context
.Fa ctx
@@ -474,6 +487,7 @@ EVP_MD_CTX *mctx;
mctx = EVP_MD_CTX_create();
.Ed
.Sh RETURN VALUES
+.Fn EVP_MD_CTX_ctrl ,
.Fn EVP_DigestInit_ex ,
.Fn EVP_DigestUpdate ,
.Fn EVP_DigestFinal_ex ,