[openssl/openssl] 937972: 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/openssl-3.6/[email protected]> |
Branch: refs/heads/openssl-3.6
Home: https://github.com/openssl/openssl
Commit: 9379726595aff7a12f0e514bfb69d37e5a1893e4
https://github.com/openssl/openssl/commit/9379726595aff7a12f0e514bfb69d37e5a1893e4
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:38:12 2026
(Merged from https://github.com/openssl/openssl/pull/30938)
Commit: 6d1e967442406aa3551f038188c6fd84a4129125
https://github.com/openssl/openssl/commit/6d1e967442406aa3551f038188c6fd84a4129125
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:38:20 2026
(Merged from https://github.com/openssl/openssl/pull/30938)
Compare: https://github.com/openssl/openssl/compare/08b18612b65f...6d1e96744240
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/openssl-3.6/08b186-6d1e96%40github.com.