summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschwarze <>2024-12-10 15:10:26 +0000
committerschwarze <>2024-12-10 15:10:26 +0000
commit18e1d096587f484f86c6f7c83e582d6c52693697 (patch)
tree0211d423f3b1c3eb6c3a56e7e07c93acfbceb05a /src
parentf3aa722cc95be866732651b51724c9cd25df4fd7 (diff)
downloadopenbsd-18e1d096587f484f86c6f7c83e582d6c52693697.tar.gz
openbsd-18e1d096587f484f86c6f7c83e582d6c52693697.tar.bz2
openbsd-18e1d096587f484f86c6f7c83e582d6c52693697.zip
Improve a rather misleading sentence about EVP_PKEY_new_mac_key(3).
It does *not* "work in the same way" as EVP_PKEY_new_raw_private_key(3) but merely arrives at the same end result after doing lots of cumbersome and unnecessary work - and on top of that, it only works for EVP_PKEY_HMAC.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_new.312
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_new.3 b/src/lib/libcrypto/man/EVP_PKEY_new.3
index f4dce0eb29..3b1ef029c3 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_new.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_new.3,v 1.25 2024/12/06 14:27:49 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_new.3,v 1.26 2024/12/10 15:10:26 schwarze Exp $
2.\" full merge up to: OpenSSL 4dcfdfce May 27 11:50:05 2020 +0100 2.\" full merge up to: OpenSSL 4dcfdfce May 27 11:50:05 2020 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: December 6 2024 $ 69.Dd $Mdocdate: December 10 2024 $
70.Dt EVP_PKEY_NEW 3 70.Dt EVP_PKEY_NEW 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -191,8 +191,12 @@ and
191.Dv EVP_PKEY_ED25519 . 191.Dv EVP_PKEY_ED25519 .
192.Pp 192.Pp
193.Fn EVP_PKEY_new_mac_key 193.Fn EVP_PKEY_new_mac_key
194is a deprecated function that works in the same way as 194is a deprecated function that achieves the same effect as
195.Fn EVP_PKEY_new_raw_private_key . 195.Fn EVP_PKEY_new_raw_private_key
196in a more complicated way and only works with a
197.Fa type
198of
199.Dv EVP_PKEY_HMAC .
196.Pp 200.Pp
197.Fn EVP_PKEY_get_raw_private_key 201.Fn EVP_PKEY_get_raw_private_key
198writes up to 202writes up to