

# Supported key types for the PKCS \#11 library for AWS CloudHSM Client SDK 5
<a name="pkcs11-key-types"></a>

The PKCS \#11 library for AWS CloudHSM Client SDK 5 supports the following key types.



| Key Type | Description | 
| --- | --- | 
| AES | Generate 128, 192, and 256-bit AES keys.  | 
| Triple DES (3DES, DESede) | Generate 192-bit Triple DES keys. See note [1](#key-types-1) below for an upcoming change. | 
| EC | Generate keys with the secp224r1 (P-224), secp256r1 (P-256), secp256k1 (Blockchain), secp384r1 (P-384), secp521r1 (P-521), and ed25519[2](#key-types-2) curves. | 
| ML-DSA | Generate ML-DSA[3](#key-types-3) key pairs with parameter sets ML-DSA-44, ML-DSA-65, and ML-DSA-87. | 
| GENERIC\_SECRET | Generate 1 to 800 bytes generic secrets. | 
| RSA | Generate 2048-bit to 4096-bit RSA keys, in increments of 256 bits. | 

[1] In accordance with NIST guidance, this is disallowed for clusters in FIPS mode after 2023. For clusters in non-FIPS mode, it is still allowed after 2023. See [FIPS 140 Compliance: 2024 Mechanism Deprecation](compliance-dep-notif.md#compliance-dep-notif-1) for details.

[2] Only supported on hsm2m.medium instances in non-FIPS mode.

[3] Starting September 1, 2026, ML-DSA is available in FIPS mode for hsm2m.medium clusters.