Cryptographic Token Interface Standard

PKCS#11


General block cipher


Sections

DES secret key objects
CAST secret key objects
CAST3 secret key objects
CAST128 (CAST5) secret key objects
IDEA secret key objects
CDMF secret key objects
General block cipher mechanism parameters
General block cipher key generation
General block cipher ECB
General block cipher CBC
General block cipher CBC with PKCS padding
General-length general block cipher MAC
General block cipher MAC

Detailed Description

For brevity's sake, the mechanisms for the DES, CAST, CAST3, CAST128 (CAST5), IDEA, and CDMF block ciphers will be described together here. Each of these ciphers has the following mechanisms, which will be described in a templatized form.

This section defines the key types "CKK_DES", "CKK_CAST", "CKK_CAST3", "CKK_CAST5" (deprecated in v2.11), "CKK_CAST128", "CKK_IDEA" and "CKK_CDMF" for type CK_KEY_TYPE as used in the CKA_KEY_TYPE attribute of key objects.

Mechanisms:

CKM_DES_KEY_GEN 
CKM_DES_ECB 
CKM_DES_CBC 
CKM_DES_MAC 
CKM_DES_MAC_GENERAL 
CKM_DES_CBC_PAD 
CKM_CDMF_KEY_GEN 
CKM_CDMF_ECB 
CKM_CDMF_CBC 
CKM_CDMF_MAC 
CKM_CDMF_MAC_GENERAL 
CKM_CDMF_CBC_PAD 
CKM_DES_OFB64 
CKM_DES_OFB8 
CKM_DES_CFB64 
CKM_DES_CFB8 
CKM_CAST_KEY_GEN 
CKM_CAST_ECB 
CKM_CAST_CBC 
CKM_CAST_MAC 
CKM_CAST_MAC_GENERAL 
CKM_CAST_CBC_PAD 
CKM_CAST3_KEY_GEN 
CKM_CAST3_ECB 
CKM_CAST3_CBC 
CKM_CAST3_MAC 
CKM_CAST3_MAC_GENERAL 
CKM_CAST3_CBC_PAD 
CKM_CAST5_KEY_GEN 
CKM_CAST128_KEY_GEN 
CKM_CAST5_ECB 
CKM_CAST128_ECB 
CKM_CAST5_CBC 
CKM_CAST128_CBC 
CKM_CAST5_MAC 
CKM_CAST128_MAC 
CKM_CAST5_MAC_GENERAL 
CKM_CAST128_MAC_GENERAL 
CKM_CAST5_CBC_PAD 
CKM_CAST128_CBC_PAD 
CKM_IDEA_KEY_GEN 
CKM_IDEA_ECB 
CKM_IDEA_CBC 
CKM_IDEA_MAC 
CKM_IDEA_MAC_GENERAL 
CKM_IDEA_CBC_PAD 

RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v230