This update for openCryptoki fixes the following issues:
C_Sign / C_SignFinal with an HMAC mechanism write the full MAC past an undersized output buffer and return CKR_OK
(bsc#1290846).
C_UnwrapKey ignores CKA_SENSITIVE and CKA_EXTRACTABLE from the template; unwrapped keys are always non-sensitive and
extractable (bsc#1290843).
Heap buffer overflow and over-read in CKM_AES_CBC_PAD, CKM_DES3_CBC_PAD and CKM_DES_CBC_PAD decryption (bsc#1290844).
Heap buffer overflow in the Soft token's CKM_AES_KEY_WRAP_KWP decryption and unwrap (bsc#1290845).
Soft token AES-CTR ignores the nonce and repeats keystream when ulCounterBits < 128 (bsc#1290848).
Unchecked rng_generate(): DES/3DES key generation, object keys and PIN salts use uninitialized memory when the RNG
fails (bsc#1290847).
Changes for openCryptoki:
Upgrade openCryptoki to version 3.28 (jsc#PED-17425):
EP11: Add support for CKM_IBM_ETH_DERIVE mechanism for Ethereum 2.0 key derivation.
EP11: Fix Edwards/Montgomery mechanisms reporting (EP11 version dependent).
CCA: Enable SHA3 mechanisms for Linux on x64/Power/AIX only if the respective access control points (ACPs) are set.
ICSF: Introduce a FIPS-compliant token data store format.
PKCSICSF: Fix token initialization in regards of the specified SO pin.
PKCSICSF: Add support for changing the RACF password.
COMMON: Remove dependency on liblber for BER encoding; refactor BER primitive encoding/decoding and public key
encoding functions.
TOOLS: Add an ICSF mock server that simulates ICSF for integration testing.
Add base support for PKCS#11 v3.2.
Add support for PKCS#11 v3.2 C_VerifySignature[Init|Update|Final].
Add support for PKCS#11 v3.2 C_EncapsulateKey/C_DecapsulateKey.
Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with RSA-PKCS and RSA-OAEP mechanisms.
Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with the ECDH mechanism.
Soft/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with the DH-PKCS mechanism.
Soft: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types and mechanisms (requires OpenSSL 3.5 or later, or
the OQS-provider must be configured).
CCA: Add support for PKCS#11 v3.2 ML-DSA key type and mechanisms (requires CCA v8.4 or later)
EP11: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types and mechanisms (requires an EP11 host library v4.2
or later, and a CEX8P crypto card with firmware v9.6 or later on IBM z17, and v8.39 or later on IBM z16).
p11sak: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types.
Soft/ICA: Add support for PKCS#11 v3.2 mechanisms CKM_ECDH_X_AES_KEY_WRAP and CKM_ECDH_COF_AES_KEY_WRAP.
p11sak: Add support for key wrap with PKCS#11 v3.2 mechanisms CKM_ECDH_X_AES_KEY_WRAP and CKM_ECDH_COF_AES_KEY_WRAP.
Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 mechanism CKM_PUB_KEY_FROM_PRIV_KEY.
Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.0 Edwards and Montgomery key types and mechanisms.
Soft/ICA: Support CKM_ECDH_AES_KEY_WRAP also for Montgomery keys.
p11sak: Add support for PKCS#11 v3.0 Edwards and Montgomery key types.
Soft: Add support for CKM_ECDH1_COFACTOR_DERIVE.
CCA: Add support for additional RSA public exponent values 5, 17, or 257.
p11sak: Add option to list-key command to show EP11 session IDs.
Make the maximum number of token objects supported configurable.