Skip to main content
This appendix lists the PKCS#11 mechanisms advertised by the CryptoHub-backed module (libcryptohub-pkcs11.*). The tables were captured directly from the module at runtime by enumerating mechanisms with C_GetMechanismList and inspecting each mechanism’s flags and key-size limits with C_GetMechanismInfo.
These tables were captured from a live module and are a snapshot. The authoritative mechanism list for your deployment is always the list returned by the installed library for the selected slot. CryptoHub policy, key metadata, module version, and backend capability can all affect which operations succeed even when a mechanism is advertised. Verify against your own environment with C_GetMechanismList before relying on any entry below.

Tested configuration

About key sizes and units

The module reports mechanism key limits as MinBits/MaxBits. The tables below give those limits in bits. Note the following:
  • Symmetric key sizes are effective bits (for example, DES reports 56, not the 8-byte stored length).
  • Post-quantum mechanisms are selected by parameter set, not by a key length in bits. ML-DSA and ML-KEM rows therefore list parameter sets rather than a Min/Max bit range.
  • Edwards and Montgomery key-pair generation are selected by named curve. The module reports a generic elliptic-curve bit range for these, which is misleading, so the tables list the supported named curves instead.
  • HMAC and generic-secret MAC mechanisms accept variable-length keys. The module reports generic-secret key sizes of 80512 bits; individual HMAC rows show because the accepted length follows the key object rather than the mechanism.

Key generation

The following table shows advertised key generation mechanisms (CKF_GENERATE, CKF_GENERATE_KEY_PAIR).

Encryption and decryption

The following table shows advertised encryption and decryption mechanisms (CKF_ENCRYPT, CKF_DECRYPT).
CKM_RSA_PKCS advertises encrypt, decrypt, sign, and verify on this module. It does not advertise wrap or unwrap. The DES OFB/CFB streaming modes advertise encrypt and decrypt only.

Signature and verification

The following table shows advertised signature and verification mechanisms (CKF_SIGN, CKF_VERIFY), including RSA PSS, CMAC, MAC, HMAC, ECDSA, EdDSA, and ML-DSA.

Key encapsulation (KEM)

The following table shows the advertised PKCS#11 v3.2 key encapsulation mechanism. Encapsulation and decapsulation use the C_EncapsulateKey and C_DecapsulateKey functions introduced in PKCS#11 v3.2.

Digests

The following table shows advertised digest mechanisms (CKF_DIGEST). Digest mechanisms do not use a key.

Wrapping and unwrapping

The following table shows advertised wrapping and unwrapping mechanisms (CKF_WRAP, CKF_UNWRAP). The AES and DES block-cipher mechanisms below advertise wrap and unwrap in addition to encrypt and decrypt.
The module advertises both CKM_AES_KEY_WRAP_KWP and CKM_AES_KEY_WRAP_PAD. These are distinct AES key-wrap schemes: KWP is the NIST SP 800-38F key-wrap-with-padding scheme, while PAD applies PKCS#7-style padding before a CBC-based wrap. Select the scheme your unwrapping peer expects.

Key derivation

The following table shows advertised key derivation mechanisms (CKF_DERIVE).
Earlier documentation for the legacy fxpkcs11 provider listed several *_ENCRYPT_DATA derivation mechanisms (for example, CKM_DES_ECB_ENCRYPT_DATA and CKM_AES_CBC_ENCRYPT_DATA). Those mechanisms did not appear in this module’s advertised list and are intentionally omitted here.