From 18e1d096587f484f86c6f7c83e582d6c52693697 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 10 Dec 2024 15:10:26 +0000 Subject: 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. --- src/lib/libcrypto/man/EVP_PKEY_new.3 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') 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 @@ -.\" $OpenBSD: EVP_PKEY_new.3,v 1.25 2024/12/06 14:27:49 schwarze Exp $ +.\" $OpenBSD: EVP_PKEY_new.3,v 1.26 2024/12/10 15:10:26 schwarze Exp $ .\" full merge up to: OpenSSL 4dcfdfce May 27 11:50:05 2020 +0100 .\" .\" This file is a derived work. @@ -66,7 +66,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 6 2024 $ +.Dd $Mdocdate: December 10 2024 $ .Dt EVP_PKEY_NEW 3 .Os .Sh NAME @@ -191,8 +191,12 @@ and .Dv EVP_PKEY_ED25519 . .Pp .Fn EVP_PKEY_new_mac_key -is a deprecated function that works in the same way as -.Fn EVP_PKEY_new_raw_private_key . +is a deprecated function that achieves the same effect as +.Fn EVP_PKEY_new_raw_private_key +in a more complicated way and only works with a +.Fa type +of +.Dv EVP_PKEY_HMAC . .Pp .Fn EVP_PKEY_get_raw_private_key writes up to -- cgit v1.2.3-55-g6feb