summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_PKEY_derive.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKEY_derive.3')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_derive.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_derive.3 b/src/lib/libcrypto/man/EVP_PKEY_derive.3
index e29587be7e..e449a91439 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_derive.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_derive.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: EVP_PKEY_derive.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: EVP_PKEY_derive.3,v 1.3 2016/11/21 22:19:15 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 21 2016 $
4.Dt EVP_PKEY_DERIVE 3 4.Dt EVP_PKEY_DERIVE 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -38,7 +38,7 @@ function sets the peer key: this will normally be a public key.
38.Pp 38.Pp
39The 39The
40.Fn EVP_PKEY_derive 40.Fn EVP_PKEY_derive
41derives a shared secret using 41function derives a shared secret using
42.Fa ctx . 42.Fa ctx .
43If 43If
44.Fa key 44.Fa key
@@ -79,7 +79,7 @@ In particular, a return value of -2 indicates the operation is not
79supported by the public key algorithm. 79supported by the public key algorithm.
80.Sh EXAMPLES 80.Sh EXAMPLES
81Derive shared secret (for example DH or EC keys): 81Derive shared secret (for example DH or EC keys):
82.Bd -literal 82.Bd -literal -offset indent
83#include <openssl/evp.h> 83#include <openssl/evp.h>
84#include <openssl/rsa.h> 84#include <openssl/rsa.h>
85 85