[openssl/openssl] f9971f: Derive EC public key from private key if missing

0 views
Skip to first unread message

Simo Sorce

unread,
Dec 15, 2025, 10:51:38 AM (yesterday) Dec 15
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: f9971f0936547abae6dec1e4d778ad333eb38ea6
https://github.com/openssl/openssl/commit/f9971f0936547abae6dec1e4d778ad333eb38ea6
Author: Simo Sorce <si...@redhat.com>
Date: 2025-12-15 (Mon, 15 Dec 2025)

Changed paths:
M crypto/ec/ec_backend.c
M test/evp_extra_test.c
M test/evp_pkey_dhkem_test.c

Log Message:
-----------
Derive EC public key from private key if missing

Update ossl_ec_key_fromdata to compute the public key if it is not provided in
the input parameters but the private key is. This allows for the creation of a
complete EC_KEY object from only private key data.

Signed-off-by: Simo Sorce <si...@redhat.com>

Reviewed-by: Dmitry Belyavskiy <bel...@gmail.com>
Reviewed-by: Neil Horman <nho...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29054)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages