[openssl/openssl] 6a49ec: Fix data type of SM2 EC_PUB_X/Y params
"'openssl-machine' via openssl-commits" <[email protected]>
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 6a49ec1b340623fbc0b78cbae423cac19eb6373c
https://github.com/openssl/openssl/commit/6a49ec1b340623fbc0b78cbae423cac19eb6373c
Author: Viktor Dukhovni <[email protected]>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M providers/implementations/keymgmt/ec_kmgmt.c
Log Message:
-----------
Fix data type of SM2 EC_PUB_X/Y params
The provider's gettable-params list advertised types that didn't match
what the getter implementation supported, so fetching either coordinate
tripped "incompatible type". Nothing in-tree was asking; the follow-up
commit adds a test that detects the problem.
Reviewed-by: Tim Hudson <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Sat Aug 8 13:21:24 2026
(Merged from https://github.com/openssl/openssl/pull/30938)
Commit: 2fd42c70b7f02e952dfd2e7f00bbbb543c52d67f
https://github.com/openssl/openssl/commit/2fd42c70b7f02e952dfd2e7f00bbbb543c52d67f
Author: Viktor Dukhovni <[email protected]>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M test/evp_extra_test2.c
Log Message:
-----------
Expand and refactor test_evp_extra2
The "expand" part adds a algorithm-independent probe that walks every
gettable OSSL_PARAM of an EVP_PKEY in two passes -- first a size query,
then a real fetch. This is exercised for each algorithm. In the SM2
case it catches the gettable-params/getter type mismatch fixed in the
preceding commit: reverting that commit trips the probe for SM2.
The "refactor" part replaces the per-algorithm test code with a single
PKEY_TEST_SPEC table of (name, optional prefab DER, optional keygen
params), driven through pkey_from_spec(). The key-selection and
gettable tests no longer involve any algorithm-specific code.
Reviewed-by: Tim Hudson <[email protected]>
Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
MergeDate: Sat Aug 8 13:21:30 2026
(Merged from https://github.com/openssl/openssl/pull/30938)
Compare: https://github.com/openssl/openssl/compare/cb1e161353de...2fd42c70b7f0
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/cb1e16-2fd42c%40github.com.