org.xipki.pkcs11.wrapper.vendor.conf Maven / Gradle / Ivy
The newest version!
# 0 to multiple vendorcode-blocks are allowed.
#
# In each block:
# At least one of module.path, module.mid and module.description must be specified.
# The combination of these three conditions are 'AND'.
#
# module.path ":"-separated text contained in the file name of the PKCS#11 library.
# OR-compare, case insensitive.
# module.mid ":"-separated text in the manufacturerID.
# OR-compare, case insensitive.
# module.description ":"-separated text contained in the library's description
# OR-compare, case insensitive.
# module.version ":"-separated versions or ranges of versions in form of -.
# Both from-version and to-version are inclusive. Examples are:
# 0.0-2.255: versions up to 2.255
# 1.2: version 1.2
# 1.0-255.255: versions 1.0 and above
#
# VENDOR_BEHAVIORS Vendor's behavior which differs from the PKCS#11 standard, ":"-separated values as follows:
# - ECDSA_SIGNATURE_X962: The ECDSA signature is in X9.62 format
# - SM2_SIGNATURE_X962: The SM2 signature is in X9.62 format
# - EC_PRIVATEKEY_ECPOINT: The private key of type CKK_EC has the attribute CKA_EC_POINT
# - SM2_PRIVATEKEY_ECPOINT: The private key of type CKK_VENDOR_SM2 has the attribute CKA_EC_POINT
# - IGNORE_DEVICE_ERROR: Ignore the non-zero ulDeviceError in SessionInfo.
# - EC_PARAMS_NAME_ONLY_EDWARDS: CKA_EC_PARAMS of CKK_EC_EDWARDS accepts only name.
# - EC_PARAMS_NAME_ONLY_MONTGOMERY: CKA_EC_PARAMS of CKK_EC_MONTGOMERY accepts only name.
#
# CK?_VENDOR_*
# If the constant name is defined in {CK?|CKP_PRF}.properties (in the same folder
# as this file), it will be mapped between both values. Otherwise, the name is used only
# textual representation of the given value.
# Utimaco Crypto Server HSM
module.path cs_pkcs11
CKU_CS_GENERIC 0x83
# Retail-MAC with 0-Padding
CKM_CS_DES3_RETAIL_MAC 0x80000135
# ECDSA with RIPEMD-160
CKM_CS_ECDSA_RIPEMD160 0x8000104A
# DSA with RIPEMD-160
CKM_CS_DSA_RIPEMD160 0x8000204A
# Elliptic curves key agreement
CKM_CS_ECKA 0x80001101
# Multiple PKCS RSA signatures
CKM_CS_RSA_PKCS_MULTI 0x80000001
# Multiple raw RSA signatures
CKM_CS_RSA_X_509_MULTI 0x80000003
# Multiple ECDSA signatures
CKM_CS_ECDSA_MULTI 0x80001401
# ECIES
CKM_CS_ECDSA_ECIES 0x80001201
# Used by CKM_ECDSA_ECIES_XOR
CKM_CS_ECDSA_ECIES_XOR 0x80001202
# Enhanced DES key wrapping mechanism
CKM_CS_DES_CBC_WRAP 0x80003001
# Enhanced AES key wrapping mechanism
CKM_CS_AES_CBC_WRAP 0x80003002
# Entrust nCipher / nShield HSM
module.path cknfast
VENDOR_BEHAVIORS IGNORE_DEVICE_ERROR:EC_PARAMS_NAME_ONLY_EDWARDS:EC_PARAMS_NAME_ONLY_MONTGOMERY
CKK_NC_KCDSA 0xde436979
CKK_NC_SEED 0xde4369a5
CKK_NC_SHA_1_MAC 0xde436973
CKK_NC_MD5_HMAC 0xde436974
CKM_NC_CAC_TK_DERIVATION 0xde436974
CKM_NC_SHA_1_HMAC_KEY_GEN 0xde436975
CKM_NC_KCDSA_SHA1 0xde436976
CKM_NC_KCDSA_HAS160 0xde436977
CKM_NC_MD5_HMAC_KEY_GEN 0xde436978
CKM_NC_HAS160 0xde43697a
CKM_NC_KCDSA_SHA224 0xde43697c
CKM_NC_KCDSA_SHA256 0xde43697d
CKM_NC_KCDSA_KEY_PAIR_GEN 0xde436982
CKM_NC_KCDSA_RIPEMD160 0xde436983
CKM_NC_SEED_KEY_GEN 0xde436984
CKM_NC_SEED_ECB 0xde436985
CKM_NC_SEED_CBC 0xde436986
CKM_NC_SEED_CBC_PAD 0xde436987
CKM_NC_SEED_MAC 0xde436988
CKM_NC_SEED_MAC_GENERAL 0xde436989
CKM_NC_KCDSA 0xde43698a
CKM_NC_SEED_CBC_ENCRYPT_DATA 0xde43698b
CKM_NC_SEED_ECB_ENCRYPT_DATA 0xde436992
CKM_NC_SHA224_HMAC_KEY_GEN 0xde436996
CKM_NC_SHA256_HMAC_KEY_GEN 0xde436997
CKM_NC_SHA384_HMAC_KEY_GEN 0xde436998
CKM_NC_SHA512_HMAC_KEY_GEN 0xde436999
CKM_NC_AES_CMAC_KEY_DERIVATION 0xde436c72
CKM_NC_AES_CMAC_KEY_DERIVATION_SCP03 0xde436c73
CKM_NC_WATCHWORD_PIN1 0xde436ea2
CKM_NC_WATCHWORD_PIN2 0xde436ea3
CKM_NC_COMPOSITE_EMV_T_ARQC 0xde436f74
CKM_NC_ECKDF_HYPERLEDGER 0xde436f82
CKM_NC_AES_CMAC 0xde4379f9
CKM_NC_KCDSA_PARAMETER_GEN 0xde438972
CKM_NC_PUBLIC_FROM_PRIVATE 0xde438a72
# TASS HSM
module.path tass
VENDOR_BEHAVIORS ECDSA_SIGNATURE_X962:SM2_SIGNATURE_X962:EC_PRIVATEKEY_ECPOINT:SM2_PRIVATEKEY_ECPOINT
CKK_TA_SM1 0x80000001
#CKK_SM2 0x80000004
CKK_VENDOR_SM2 0x80000004
#CKK_SM4 0x80000002
CKK_VENDOR_SM4 0x80000002
CKM_TA_SM1_KEY_GEN 0x8000000F
CKM_TA_SM1_ECB 0x80000010
CKM_TA_SM1_CBC 0x80000011
CKM_TA_SM1_MAC 0x80000020
CKM_TA_SM1_MAC_GENERAL 0x80000021
CKM_TA_SM1_CBC_PAD 0x80000022
CKM_TA_PBE_MD5_SM1_CBC 0x80000023
CKM_TA_PBE_SHA1_SM1_CBC 0x80000024
#CKM_TA_SM2_KEY_PAIR_GEN 0x80008001
CKM_VENDOR_SM2_KEY_PAIR_GEN 0x80008001
CKM_VENDOR_SM2 0x80008000
#CKM_TA_SM3_SM2 0x80008100
CKM_VENDOR_SM2_SM3 0x80008100
CKM_TA_SM3_SM2_SJ 0x80008101
#CKM_TA_SM2_RAW 0x80008200
CKM_VENDOR_SM2_ENCRYPT 0x80008200
CKM_TA_SM2_SHA_1 0x80008300
CKM_TA_SM2_DERIVE 0x80008301
#CKM_TA_SM3 0x80000005
CKM_TA_VENDOR_SM3 0x80000005
CKM_TA_SM3_UID 0x80000006
CKM_TA_SM3_MAC 0x80000007
CKM_TA_SM3_MAC_GENERAL 0x80000008
#CKM_TA_SM4_KEY_GEN 0x80000107
CKM_VENDOR_SM4_KEY_GEN 0x80000107
#CKM_TA_SM4_ECB 0x80000108
CKM_VENDOR_SM4_ECB 0x80000108
#CKM_TA_SM4_CBC 0x80000109
CKM_VENDOR_SM4_CBC 0x80000109
#CKM_TA_SM4_MAC 0x8000010A
CKM_VENDOR_SM4_MAC 0x8000010A
#CKM_TA_SM4_MAC_GENERAL 0x8000010B
CKM_VENDOR_SM4_MAC_GENERAL 0x8000010B
CKM_TA_SM4_CBC_PAD 0x8000010C
CKM_TA_PBE_MD5_SM4_CBC 0x8000010D
CKM_TA_PBE_SHA1_SM4_CBC 0x8000010E
# SANSEC HSM
module.path upkcs11
# TODO: verify the behaviors
VENDOR_BEHAVIORS EC_PRIVATEKEY_ECPOINT:SM2_PRIVATEKEY_ECPOINT
CKK_SA_SSF33 0x80000002
CKK_SA_SM1 0x80000003
#CKK_SA_SM2 0x80000004
CKK_VENDOR_SM2 0x80000004
#CKK_SA_SM4 0x80000106
CKK_VENDOR_SM4 0x80000106
CKM_SA_SM1_KEY_GEN 0x80000015
CKM_SA_SM1_ECB 0x80000016
CKM_SA_SM1_CBC 0x80000017
CKM_SA_SCB2_MAC 0x80000018
CKM_SA_SCB2_MAC_GENERAL 0x80000019
CKM_SA_SM1_ECB_PAD 0x80001004
CKM_SA_SM1_CBC_PAD 0x80000022
CKM_SA_JNMASTER_KEY_ENC 0x80001061
#CKM_SA_SM2_KEY_PAIR_GEN 0x80008001
CKM_VENDOR_SM2_KEY_PAIR_GEN 0x80008001
## SM2 Crypto
#CKM_SA_SM2_RAW 0x80008200
CKM_VENDOR_SM2_ENCRYPT 0x80008200
CKM_SA_SM2_RAW_DER 0x80000201
#CKM_SA_SM2_SIGN 0x80008104
CKM_VENDOR_SM2 0x80008104
CKM_SA_SM3_SIGN_NO_DER 0x80008105
#CKM_SA_SM3_SM2 0x80008100
CKM_VENDOR_SM2_SM3 0x80008100
CKM_SA_SM3_SM2_DER 0x80008101
CKM_SA_SM3_SM2_Z 0x80008102
CKM_SA_SM3_SM2_Z_DER 0x80008103
CKM_SA_SM2_SHA1 0x80008300
CKM_SA_SM2_SHA256 0x80008400
CKM_SA_SM2_SHA256_DER 0x80008401
#CKM_SA_SM3_HASH 0x80009001
CKM_VENDOR_SM3 0x80009001
CKM_SA_SM3_HASH_JIT 0x80009005
#CKM_SA_SM4_KEY_GEN 0x80000107
CKM_VENDOR_SM4_KEY_GEN 0x80000107
#CKM_SA_SM4_ECB 0x80000108
CKM_VENDOR_SM4_ECB 0x80000108
#CKM_SA_SM4_CBC 0x80000109
CKM_VENDOR_SM4_CBC 0x80000109
CKM_SA_SM4_CTR 0x8000010A
CKM_SA_SM4_XTS 0x8000010A
CKM_SA_SM4_ECB_PAD 0x8000A101
CKM_SA_SM4_CBC_PAD 0x8000A102
# For ECDSA
CKM_SA_ECDSA_SHA2556_DER 0x80060001
## To compatible with IBM HSM
CKK_SA_IBM_SM4 0x80050001
CKK_SA_IBM_SM2 0x80050002
CKM_SA_IBM_SM2_KEY_PAIR_GEN 0x8005000A
CKM_SA_IBM_SM2 0x8005000B
CKM_SA_IBM_SM2_SM3 0x8005000C
CKM_SA_IBM_SM2_ENCRYPT 0x8005000D
CKM_SA_IBM_SM3 0x8005000E
CKM_SA_IBM_SM4_ECB 0x80050004
CKM_SA_IBM_SM4_CBC 0x80050002
CKM_SA_IBM_SM4_MAC_GENERAL 0x80050007
CKM_SA_IBM_SM4_MAC 0x80058007
CKM_SA_IBM_ISO2_SM4_MAC_GENERAL 0x80050008
CKM_SA_IBM_ISO2_SM4_MAC 0x80058008
CKM_SA_IBM_SM4_ECB_ENCRYPT_DATA 0x80050008
CKM_SA_IBM_TRANSPORTKEY 0x80020005
# Safenet Luna HSM
# Constants are taken from https://github.com/chevah/safenet-p11sample/blob/master/include/cryptoki_v2.h.
module.mid safenet
module.description chrystoki
# TODO: verify the behaviors
VENDOR_BEHAVIORS EC_PRIVATEKEY_ECPOINT:SM2_PRIVATEKEY_ECPOINT
CKU_LU_CRYPTO_USER 0x80000001
CKU_LU_AUDIT 0x80000002
CKU_LU_LIMITED_CRYPTO_OFFICER 0x80000003
CKU_LU_ALL_USER 0x8FFFFFFF
CKK_LU_KECDSA 0x80000010
CKK_LU_SEED 0x80000011
CKK_LU_EC_EDWARDS 0x80000012
CKK_LU_EC_MONTGOMERY 0x80000013
CKK_LU_BIP32 0x80000014
#CKK_LU_SM4 0x80000015
CKK_VENDOR_SM4 0x80000015
#CKK_LU_SM2 0x80000016
CKK_VENDOR_SM2 0x80000016
# CKG
CKG_LU_MGF1_SHA3_224 0x80000006
CKG_LU_MGF1_SHA3_256 0x80000007
CKG_LU_MGF1_SHA3_384 0x80000008
CKG_LU_MGF1_SHA3_512 0x80000009
# CKD
CKD_LU_SHA224_KDF_OLD 0x80000003
CKD_LU_SHA256_KDF_OLD 0x80000004
CKD_LU_SHA384_KDF_OLD 0x80000005
CKD_LU_SHA512_KDF_OLD 0x80000006
CKD_LU_RIPEMD160_KDF 0x80000007
CKD_LU_SHA224_NIST_KDF 0x80000013
CKD_LU_SHA256_NIST_KDF 0x80000014
CKD_LU_SHA384_NIST_KDF 0x80000015
CKD_LU_SHA512_NIST_KDF 0x80000016
CKD_LU_RIPEMD160_NIST_KDF 0x80000017
CKD_LU_SHA1_SES_KDF 0x82000000
CKD_LU_SHA224_SES_KDF 0x83000000
CKD_LU_SHA256_SES_KDF 0x84000000
CKD_LU_SHA384_SES_KDF 0x85000000
CKD_LU_SHA512_SES_KDF 0x86000000
CKD_LU_RIPEMD160_SES_KDF 0x87000000
CKD_LU_SHA1_KDF_CONCATENATE_NIST 0x80000001
# Korean algorithms
CKM_LU_HAS160 0x80000100
CKM_LU_KCDSA_KEY_PAIR_GEN 0x80000101
CKM_LU_KCDSA_HAS160 0x80000102
CKM_LU_SEED_KEY_GEN 0x80000103
CKM_LU_SEED_ECB 0x80000104
CKM_LU_SEED_CBC 0x80000105
CKM_LU_SEED_CBC_PAD 0x80000106
CKM_LU_SEED_MAC 0x80000107
CKM_LU_SEED_MAC_GENERAL 0x80000108
CKM_LU_KCDSA_SHA1 0x80000109
CKM_LU_KCDSA_SHA224 0x8000010A
CKM_LU_KCDSA_SHA256 0x8000010B
CKM_LU_KCDSA_SHA384 0x8000010C
CKM_LU_KCDSA_SHA512 0x8000010D
CKM_LU_KCDSA_PARAMETER_GEN 0x8000010F
# Defined prior PKCS#11. Must be redefined when PKCS#11 is updated
# Defined prior PKCS#11 and renamed toCKM_LU_SHA224_xxx_OLD after PKCS#11 was updated
CKM_LU_SHA224_RSA_PKCS_OLD 0x80000110
CKM_LU_SHA224_RSA_PKCS_PSS_OLD 0x80000111
CKM_LU_SHA224_OLD 0x80000112
CKM_LU_SHA224_HMAC_OLD 0x80000113
CKM_LU_SHA224_HMAC_GENERAL_OLD 0x80000114
CKM_LU_SHA224_KEY_DERIVATION_OLD 0x80000115
CKM_LU_DES3_CTR 0x80000116
CKM_LU_AES_CFB8 0x80000118
CKM_LU_AES_CFB128 0x80000119
CKM_LU_AES_OFB 0x8000011a
CKM_LU_AES_GCM 0x8000011c
CKM_LU_ARIA_CFB8 0x8000011d
CKM_LU_ARIA_CFB128 0x8000011e
CKM_LU_ARIA_OFB 0x8000011f
CKM_LU_ARIA_CTR 0x80000120
CKM_LU_ARIA_GCM 0x80000121
CKM_LU_ECDSA_SHA224 0x80000122
CKM_LU_ECDSA_SHA256 0x80000123
CKM_LU_ECDSA_SHA384 0x80000124
CKM_LU_ECDSA_SHA512 0x80000125
CKM_LU_AES_GMAC 0x80000126
CKM_LU_ARIA_CMAC 0x80000128
CKM_LU_ARIA_CMAC_GENERAL 0x80000129
CKM_LU_SEED_CMAC 0x8000012c
CKM_LU_SEED_CMAC_GENERAL 0x8000012d
CKM_LU_DES3_CBC_PAD_IPSEC 0x8000012e
CKM_LU_AES_CBC_PAD_IPSEC 0x8000012f
CKM_LU_ARIA_L_ECB 0x80000130
CKM_LU_ARIA_L_CBC 0x80000131
CKM_LU_ARIA_L_CBC_PAD 0x80000132
CKM_LU_ARIA_L_MAC 0x80000133
CKM_LU_ARIA_L_MAC_GENERAL 0x80000134
CKM_LU_SHA224_RSA_X9_31 0x80000135
CKM_LU_SHA256_RSA_X9_31 0x80000136
CKM_LU_SHA384_RSA_X9_31 0x80000137
CKM_LU_SHA512_RSA_X9_31 0x80000138
CKM_LU_SHA1_RSA_X9_31_NON_FIPS 0x80000139
CKM_LU_SHA224_RSA_X9_31_NON_FIPS 0x8000013a
CKM_LU_SHA256_RSA_X9_31_NON_FIPS 0x8000013b
CKM_LU_SHA384_RSA_X9_31_NON_FIPS 0x8000013c
CKM_LU_SHA512_RSA_X9_31_NON_FIPS 0x8000013d
CKM_LU_RSA_X9_31_NON_FIPS 0x8000013e
# DH -moved here to keep ECDSA SHA 2 same as FW4
CKM_LU_DSA_SHA224 0x80000140
CKM_LU_DSA_SHA256 0x80000141
CKM_LU_RSA_FIPS_186_3_AUX_PRIME_KEY_PAIR_GEN 0x80000142
CKM_LU_RSA_FIPS_186_3_PRIME_KEY_PAIR_GEN 0x80000143
# Koreen algorithms
CKM_LU_SEED_CTR 0x80000144
CKM_LU_KCDSA_HAS160_NO_PAD 0x80000145
CKM_LU_KCDSA_SHA1_NO_PAD 0x80000146
CKM_LU_KCDSA_SHA224_NO_PAD 0x80000147
CKM_LU_KCDSA_SHA256_NO_PAD 0x80000148
CKM_LU_KCDSA_SHA384_NO_PAD 0x80000149
CKM_LU_KCDSA_SHA512_NO_PAD 0x80000151
CKM_LU_DES3_X919_MAC 0x80000150
CKM_LU_EC_KEY_PAIR_GEN_EXTRA_W_BITS 0x80000160
CKM_LU_ECDSA_GBCS_SHA256 0x80000161
# Vendor specific key wrapping mechanisms
CKM_LU_AES_KW 0x80000170
CKM_LU_AES_KWP 0x80000171
CKM_LU_TDEA_KW 0x80000172
CKM_LU_TDEA_KWP 0x80000173
# SIM3 mechanisms
CKM_LU_AES_CBC_PAD_EXTRACT 0x80000200
CKM_LU_AES_CBC_PAD_INSERT 0x80000201
CKM_LU_AES_CBC_PAD_EXTRACT_FLATTENED 0x80000202
CKM_LU_AES_CBC_PAD_INSERT_FLATTENED 0x80000203
# Etoken mechanisms
CKM_LU_AES_CBC_PAD_EXTRACT_DOMAIN_CTRL 0x80000204
CKM_LU_AES_CBC_PAD_INSERT_DOMAIN_CTRL 0x80000205
# defined as CKM_LU_DES3_DERIVE_ECB in Eracom PTKC
CKM_LU_PLACE_HOLDER_FOR_ERACOME_DEF_IN_SHIM 0x80000502
CKM_LU_DES2_DUPKT_IPEK 0x80000610
CKM_LU_DES2_DUPKT_PIN 0x80000611
CKM_LU_DES2_DUPKT_MAC 0x80000612
CKM_LU_DES2_DUPKT_MAC_RESP 0x80000613
CKM_LU_DES2_DUPKT_DATA 0x80000614
CKM_LU_DES2_DUPKT_DATA_RESP 0x80000615
CKM_LU_AES_DUPKT 0x80000616
# EC IES mechanism (X9.63)
CKM_LU_ECIES 0x80000A00
CKM_LU_XOR_BASE_AND_DATA_W_KDF 0x80000A01
CKM_LU_NIST_PRF_KDF 0x80000A02
CKM_LU_PRF_KDF 0x80000A03
CKM_LU_AES_XTS 0x80000A04
# SM2/SM3/SM4 mechanisms
# CKM_LU_SM3 0x80000B01
CKM_VENDOR_SM3 0x80000B01
CKM_LU_SM3_HMAC 0x80000B02
CKM_LU_SM3_HMAC_GENERAL 0x80000B03
CKM_LU_SM3_KEY_DERIVATION 0x80000B04
#CKM_LU_SM4_KEY_GEN 0x80000B10
CKM_VENDOR_SM4_KEY_GEN 0x80000B10
#CKM_LU_SM4_ECB 0x80000B11
CKM_VENDOR_SM4_ECB 0x80000B11
#CKM_LU_SM4_CBC 0x80000B12
CKM_VENDOR_SM4_CBC 0x80000B12
CKM_LU_SM4_CBC_PAD 0x80000B13
#CKM_LU_SM2_KEY_PAIR_GEN 0x80000B20
CKM_VENDOR_SM2_KEY_PAIR_GEN 0x80000B20
#CKM_LU_SM2DSA 0x80000B21
CKM_VENDOR_SM2 0x80000B21
CKM_LU_SM3_SM2DSA 0x80000B22
#CKM_VENDOR_SM2_SM3 0x80000B22
CKM_LU_SHA1_SM2DSA 0x80000B23
CKM_LU_SHA224_SM2DSA 0x80000B24
CKM_LU_SHA256_SM2DSA 0x80000B25
CKM_LU_SHA384_SM2DSA 0x80000B26
CKM_LU_SHA512_SM2DSA 0x80000B27
# EDDSA
CKM_LU_EC_EDWARDS_KEY_PAIR_GEN 0x80000C01
CKM_LU_EDDSA_NACL 0x80000C02
CKM_LU_EDDSA 0x80000C03
CKM_LU_EDDSA_SHA1_EDDSA_NACL 0x80000C04
CKM_LU_EDDSA_SHA224_EDDSA_NACL 0x80000C05
CKM_LU_EDDSA_SHA256_EDDSA_NACL 0x80000C06
CKM_LU_EDDSA_SHA384_EDDSA_NACL 0x80000C07
CKM_LU_EDDSA_SHA512_EDDSA_NACL 0x80000C08
CKM_LU_EDDSA_SHA1_EDDSA 0x80000C09
CKM_LU_EDDSA_SHA224_EDDSA 0x80000C0A
CKM_LU_EDDSA_SHA256_EDDSA 0x80000C0B
CKM_LU_EDDSA_SHA384_EDDSA 0x80000C0C
CKM_LU_EDDSA_SHA512_EDDSA 0x80000C0D
CKM_LU_EC_MONTGOMERY_KEY_PAIR_GEN 0x80000D01
# BIP32 mechanisms
CKM_LU_BIP32_MASTER_DERIVE 0x80000E00
CKM_LU_BIP32_CHILD_DERIVE 0x80000E01
# 5G Milenage mechanisms
CKM_LU_MILENAGE 0x80000E21
CKM_LU_MILENAGE_RESYNC 0x80000E22
CKM_LU_MILENAGE_AUTS 0x80000E23
CKM_LU_TUAK 0x80000E24
CKM_LU_TUAK_RESYNC 0x80000E25
CKM_LU_TUAK_AUTS 0x80000E26
CKM_LU_COMP128 0x80000E27
# SHA3 mechanisms
CKM_LU_SHAKE_128 0x80000F00
CKM_LU_SHAKE_256 0x80000F01
CKM_LU_KECCAK_224 0x80000F08
CKM_LU_KECCAK_256 0x80000F09
CKM_LU_KECCAK_384 0x80000F0A
CKM_LU_KECCAK_512 0x80000F0B
CKM_LU_EDDSA_SHA3_224_EDDSA 0x80000F20
CKM_LU_EDDSA_SHA3_256_EDDSA 0x80000F21
CKM_LU_EDDSA_SHA3_384_EDDSA 0x80000F22
CKM_LU_EDDSA_SHA3_512_EDDSA 0x80000F23
# CKR
CKR_LU_RC_ERROR 0x80000004
CKR_LU_CONTAINER_HANDLE_INVALID 0x80000005
CKR_LU_TOO_MANY_CONTAINERS 0x80000006
CKR_LU_USER_LOCKED_OUT 0x80000007
CKR_LU_CLONING_PARAMETER_ALREADY_EXISTS 0x80000008
CKR_LU_CLONING_PARAMETER_MISSING 0x80000009
CKR_LU_CERTIFICATE_DATA_MISSING 0x8000000a
CKR_LU_CERTIFICATE_DATA_INVALID 0x8000000b
CKR_LU_ACCEL_DEVICE_ERROR 0x8000000c
CKR_LU_WRAPPING_ERROR 0x8000000d
CKR_LU_UNWRAPPING_ERROR 0x8000000e
CKR_LU_MAC_MISSING 0x8000000f
CKR_LU_DAC_POLICY_PID_MISMATCH 0x80000010
CKR_LU_DAC_MISSING 0x80000011
CKR_LU_BAD_DAC 0x80000012
CKR_LU_SSK_MISSING 0x80000013
CKR_LU_BAD_MAC 0x80000014
CKR_LU_DAK_MISSING 0x80000015
CKR_LU_BAD_DAK 0x80000016
CKR_LU_SIM_AUTHORIZATION_FAILED 0x80000017
CKR_LU_SIM_VERSION_UNSUPPORTED 0x80000018
CKR_LU_SIM_CORRUPT_DATA 0x80000019
CKR_LU_USER_NOT_AUTHORIZED 0x8000001a
CKR_LU_MAX_OBJECT_COUNT_EXCEEDED 0x8000001b
CKR_LU_SO_LOGIN_FAILURE_THRESHOLD 0x8000001c
CKR_LU_SIM_AUTHFORM_INVALID 0x8000001d
CKR_LU_CITS_DAK_MISSING 0x8000001e
CKR_LU_UNABLE_TO_CONNECT 0x8000001f
CKR_LU_PARTITION_DISABLED 0x80000020
CKR_LU_CALLBACK_ERROR 0x80000021
CKR_LU_SECURITY_PARAMETER_MISSING 0x80000022
CKR_LU_SP_TIMEOUT 0x80000023
CKR_LU_TIMEOUT 0x80000024
CKR_LU_ECC_UNKNOWN_CURVE 0x80000025
CKR_LU_MTK_ZEROIZED 0x80000026
CKR_LU_MTK_STATE_INVALID 0x80000027
CKR_LU_INVALID_ENTRY_TYPE 0x80000028
CKR_LU_MTK_SPLIT_INVALID 0x80000029
CKR_LU_HSM_STORAGE_FULL 0x8000002a
CKR_LU_DEVICE_TIMEOUT 0x8000002b
CKR_LU_CONTAINER_OBJECT_STORAGE_FULL 0x8000002C
CKR_LU_PED_CLIENT_NOT_RUNNING 0x8000002D
CKR_LU_PED_UNPLUGGED 0x8000002E
CKR_LU_ECC_POINT_INVALID 0x8000002F
CKR_LU_OPERATION_NOT_ALLOWED 0x80000030
CKR_LU_LICENSE_CAPACITY_EXCEEDED 0x80000031
CKR_LU_LOG_FILE_NOT_OPEN 0x80000032
CKR_LU_LOG_FILE_WRITE_ERROR 0x80000033
CKR_LU_LOG_BAD_FILE_NAME 0x80000034
CKR_LU_LOG_FULL 0x80000035
CKR_LU_LOG_NO_KCV 0x80000036
CKR_LU_LOG_BAD_RECORD_HMAC 0x80000037
CKR_LU_LOG_BAD_TIME 0x80000038
CKR_LU_LOG_AUDIT_NOT_INITIALIZED 0x80000039
CKR_LU_LOG_RESYNC_NEEDED 0x8000003A
CKR_LU_AUDIT_LOGIN_TIMEOUT_IN_PROGRESS 0x8000003B
CKR_LU_AUDIT_LOGIN_FAILURE_THRESHOLD 0x8000003C
CKR_LU_INVALID_FUF_TARGET 0x8000003D
CKR_LU_INVALID_FUF_HEADER 0x8000003E
CKR_LU_INVALID_FUF_VERSION 0x8000003F
CKR_LU_ECC_ECC_RESULT_AT_INF 0x80000040
CKR_LU_AGAIN 0x80000041
CKR_LU_TOKEN_COPIED 0x80000042
CKR_LU_SLOT_NOT_EMPTY 0x80000043
CKR_LU_USER_ALREADY_ACTIVATED 0x80000044
CKR_LU_STC_NO_CONTEXT 0x80000045
CKR_LU_STC_CLIENT_IDENTITY_NOT_CONFIGURED 0x80000046
CKR_LU_STC_PARTITION_IDENTITY_NOT_CONFIGURED 0x80000047
CKR_LU_STC_DH_KEYGEN_ERROR 0x80000048
CKR_LU_STC_CIPHER_SUITE_REJECTED 0x80000049
CKR_LU_STC_DH_KEY_NOT_FROM_SAME_GROUP 0x8000004a
CKR_LU_STC_COMPUTE_DH_KEY_ERROR 0x8000004b
CKR_LU_STC_FIRST_PHASE_KDF_ERROR 0x8000004c
CKR_LU_STC_SECOND_PHASE_KDF_ERROR 0x8000004d
CKR_LU_STC_KEY_CONFIRMATION_FAILED 0x8000004e
CKR_LU_STC_NO_SESSION_KEY 0x8000004f
CKR_LU_STC_RESPONSE_BAD_MAC 0x80000050
CKR_LU_STC_NOT_ENABLED 0x80000051
CKR_LU_STC_CLIENT_HANDLE_INVALID 0x80000052
CKR_LU_STC_SESSION_INVALID 0x80000053
CKR_LU_STC_CONTAINER_INVALID 0x80000054
CKR_LU_STC_SEQUENCE_NUM_INVALID 0x80000055
CKR_LU_STC_NO_CHANNEL 0x80000056
CKR_LU_STC_RESPONSE_DECRYPT_ERROR 0x80000057
CKR_LU_STC_RESPONSE_REPLAYED 0x80000058
CKR_LU_STC_REKEY_CHANNEL_MISMATCH 0x80000059
CKR_LU_STC_RSA_ENCRYPT_ERROR 0x8000005a
CKR_LU_STC_RSA_SIGN_ERROR 0x8000005b
CKR_LU_STC_RSA_DECRYPT_ERROR 0x8000005c
CKR_LU_STC_RESPONSE_UNEXPECTED_KEY 0x8000005d
CKR_LU_STC_UNEXPECTED_NONCE_PAYLOAD_SIZE 0x8000005e
CKR_LU_STC_UNEXPECTED_DH_DATA_SIZE 0x8000005f
CKR_LU_STC_OPEN_CIPHER_MISMATCH 0x80000060
CKR_LU_STC_OPEN_DHNIST_PUBKEY_ERROR 0x80000061
CKR_LU_STC_OPEN_KEY_MATERIAL_GEN_FAIL 0x80000062
CKR_LU_STC_OPEN_RESP_GEN_FAIL 0x80000063
CKR_LU_STC_ACTIVATE_MACTAG_U_VERIFY_FAIL 0x80000064
CKR_LU_STC_ACTIVATE_MACTAG_V_GEN_FAIL 0x80000065
CKR_LU_STC_ACTIVATE_RESP_GEN_FAIL 0x80000066
CKR_LU_CHALLENGE_INCORRECT 0x80000067
CKR_LU_ACCESS_ID_INVALID 0x80000068
CKR_LU_ACCESS_ID_ALREADY_EXISTS 0x80000069
CKR_LU_KEY_NOT_KEKABLE 0x8000006a
CKR_LU_MECHANISM_INVALID_FOR_FP 0x8000006b
CKR_LU_OPERATION_INVALID_FOR_FP 0x8000006c
CKR_LU_SESSION_HANDLE_INVALID_FOR_FP 0x8000006d
CKR_LU_CMD_NOT_ALLOWED_HSM_IN_TRANSPORT 0x8000006e
CKR_LU_OBJECT_ALREADY_EXISTS 0x8000006f
CKR_LU_PARTITION_ROLE_DESC_VERSION_INVALID 0x80000070
CKR_LU_PARTITION_ROLE_POLICY_VERSION_INVALID 0x80000071
CKR_LU_PARTITION_ROLE_POLICY_SET_VERSION_INVALID 0x80000072
CKR_LU_REKEK_KEY 0x80000073
CKR_LU_KEK_RETRY_FAILURE 0x80000074
CKR_LU_RNG_RESEED_TOO_EARLY 0x80000075
CKR_LU_HSM_TAMPERED 0x80000076
CKR_LU_CONFIG_CHANGE_ILLEGAL 0x80000077
CKR_LU_SESSION_CONTEXT_NOT_ALLOCATED 0x80000078
CKR_LU_SESSION_CONTEXT_ALREADY_ALLOCATED 0x80000079
CKR_LU_INVALID_BL_ITB_AUTH_HEADER 0x8000007a
CKR_LU_OBJECT_READ_ONLY 0x80000114
CKR_LU_KEY_NOT_ACTIVE 0x80000136
CKR_LU_ACCESS_ID_INVALID 0x80000400
CKR_LU_XTC_ERROR 0x80001600
CKR_LU_CONTEXT_INVALID 0x80001601
CKR_LU_MAX_SESSION_COUNT 0x80001603
CKR_LU_BUSY 0x80001604
CKR_LU_SERVICE_UNAVAILABLE 0x80001606
# Safenet protect toolkit HSM
module.path cryptoki
module.mid safenet
CKM_PT_DSA_SHA1_PKCS 0x80000013
CKM_PT_DSA_SHA224_DEPRECATED 0x80000032
CKM_PT_DSA_SHA224_PKCS 0x80000033
CKM_PT_DSA_SHA256_DEPRECATED 0x80000034
CKM_PT_DSA_SHA256_PKCS 0x80000035
CKM_PT_DSA_SHA384_PKCS 0x80000036
CKM_PT_DSA_SHA512_PKCS 0x80000037
CKM_PT_RIPEMD256_RSA_PKCS 0x80000009
CKM_PT_DES_MDC_2_PAO1 0x80000200
CKM_PT_MD4 0x80000201
CKM_PT_SHA 0x80000202
CKM_PT_RIPEMD 0x80000203
CKM_PT_ARDFP 0x80000204
CKM_PT_NVB 0x80000205
CKM_PT_DES_ECB_PAD 0x80000121
CKM_PT_CAST_ECB_PAD 0x80000301
CKM_PT_CAST3_ECB_PAD 0x80000311
CKM_PT_CAST5_ECB_PAD 0x80000321
CKM_PT_DES3_ECB_PAD 0x80000132
CKM_PT_IDEA_ECB_PAD 0x80000341
CKM_PT_RC2_ECB_PAD 0x80000101
CKM_PT_CDMF_ECB_PAD 0x80000141
CKM_PT_RC5_ECB_PAD 0x80000331
CKM_PT_XOR_BASE_AND_KEY 0x80000364
CKM_PT_RSA_FIPS_186_3_PRIME_KEY_PAIR_GEN 0x80000143
CKM_PT_RSA_FIPS_186_4_PRIME_KEY_PAIR_GEN 0x80000400
CKM_PT_UNWRAP_TR31_DISCARD 0x80000410
CKM_PT_WRAP_TR31 0x80000411
CKM_PT_WRAP_TR31_DERIVE 0x80000412
CKM_PT_WRAP_TR31_VARIANT 0x80000413
CKM_PT_WRAP_TR31_DERIVE_CTR 0x80000414
CKM_PT_DES_DERIVE_ECB 0x80000500
CKM_PT_DES_DERIVE_CBC 0x80000501
CKM_PT_DES3_DERIVE_ECB 0x80000502
CKM_PT_DES3_DERIVE_CBC 0x80000503
CKM_PT_DES3_RETAIL_CFB_MAC 0x80000510
CKM_PT_MILENAGE_DERIVE 0x80000511
CKM_PT_MILENAGE_SIGN 0x80000512
CKM_PT_TUAK_SIGN 0x80000513
CKM_PT_TUAK_DERIVE 0x80000514
CKM_PT_KECCAK_1600 0x80000515
CKM_PT_SHA1_RSA_TIMESTAMP 0x80000600
CKM_PT_DES_BCF 0x8000038E
CKM_PT_DES3_BCF 0x8000038F
CKM_PT_DES3_X919_MAC 0x80000134
CKM_PT_DES3_X919_MAC_GENERAL 0x80000135
CKM_PT_ENCODE_PKCS_7 0x80000934
CKM_PT_DECODE_PKCS_7 0x80000935
CKM_PT_RSA_PKCS_7 0x80000930
CKM_PT_RSA_PKCS_7_ENC 0x80000931
CKM_PT_RSA_PKCS_7_SIGN 0x80000932
CKM_PT_RSA_PKCS_7_SIGN_ENC 0x80000933
CKM_PT_DES_OFB64 0x80000940
CKM_PT_DES3_OFB64 0x80000941
CKM_PT_ENCODE_ATTRIBUTES 0x80000950
CKM_PT_ENCODE_X_509 0x80000951
CKM_PT_ENCODE_PKCS_10 0x80000952
CKM_PT_DECODE_X_509 0x80000953
CKM_PT_ENCODE_PUBLIC_KEY 0x80000954
CKM_PT_ENCODE_X_509_LOCAL_CERT 0x80000955
CKM_PT_WRAPKEY_DES3_ECB 0x80000961
CKM_PT_WRAPKEY_DES3_CBC 0x80000962
CKM_PT_WRAPKEY_AES_CBC 0x80000963
CKM_PT_DES3_DDD_CBC 0x80000964
CKM_PT_AES_GCM_OLD 0x80000966
CKM_PT_WRAPKEYBLOB_AES_CBC 0x80000970
CKM_PT_WRAPKEYBLOB_DES3_CBC 0x80000971
# NIST 800_38F related
CKM_PT_WRAPKEY_AES_KWP 0x80000965
CKM_PT_AES_KW 0x80000170
CKM_PT_AES_KWP 0x80000171
CKM_PT_TDEA_KW 0x80000172
CKM_PT_VERIFY_CERTIFICATE 0x80000980
CKM_PT_KEY_TRANSLATION 0x80000018
# For Upgrading mechanism. Used in C_VerifyInit/C_VerifyUpdate/C_VerifyFinal
CKM_PT_OS_UPGRADE 0x80000990
CKM_PT_FM_DOWNLOAD 0x80000991
CKM_PT_OS_UPGRADE_2 0x80000994
CKM_PT_FM_DOWNLOAD_2 0x80000995
CKM_PT_FW_UPGRADE 0x80000996
# PIK Generation mechanism. Used in C_GenerateKeyPair
CKM_PT_GEN_PIK_ECC_P521 0x80001000
CKM_PT_GEN_KTK_ECC_P521 0x80001001
CKM_PT_GEN_KDE_ECC_P521_DERIVE_SEND 0x80001002
CKM_PT_GEN_KDE_ECC_P521_DERIVE_RECV 0x80001003
CKM_PT_TOKEN_WRAP_KTK_ECC_P521 0x80001004
CKM_PT_PP_LOAD_SECRET 0x800009a0
CKM_PT_PP_LOAD_SECRET_2 0x800009a1
# Verified by Visa CVV calculation mechanism. only valid for C_SignInit and C_VerifyInit operations
CKM_PT_VISA_CVV 0x800009b0
# ZKA MDC_2 key derive mechanisms
CKM_PT_ZKA_MDC_2_KEY_DERIVATION 0x800009c0
# Korreaen SEED algorithm
CKM_PT_SEED_KEY_GEN 0x800009d0
CKM_PT_SEED_ECB 0x800009d1
CKM_PT_SEED_CBC 0x800009d2
CKM_PT_SEED_MAC 0x800009d3
CKM_PT_SEED_MAC_GENERAL 0x800009d4
CKM_PT_SEED_ECB_PAD 0x800009d6
# Token replication mechanisms
CKM_PT_REPLICATION_TOKEN_RSA_AES 0x800009e0
# N of M secret share mechanism
CKM_PT_SECRET_SHARE_WITH_ATTRIBUTES 0x800009f0
# N of M secret recover mechanism
CKM_PT_SECRET_RECOVER_WITH_ATTRIBUTESS 0x800009f1
# PBE based PKCS#12 Export mechanism
CKM_PT_PKCS12_PBE_EXPORT 0x800009f2
# PBE based PKCS#12 Import mechanism
CKM_PT_PKCS12_PBE_IMPORT 0x800009f3
#EC IES mechanism = X9.63
CKM_PT_ECIES 0x80000a00
CKM_PT_ECIES_PRF_KDF 0x80000a02
CKM_PT_PRF_KDF 0x80000a03
# Ticket Mechanisms
CKM_PT_SET_ATTRIBUTES 0x80000a10
# New mechanisms
CKM_PT_ECDSA_SHA224 0x80000122
CKM_PT_ECDSA_SHA256 0x80000123
CKM_PT_ECDSA_SHA384 0x80000124
CKM_PT_ECDSA_SHA512 0x80000125
CKM_PT_BIP32_MASTER_DERIVE 0x80000e00
CKM_PT_BIP32_CHILD_DERIVE 0x80000e01
CKM_PT_ECDSA_GBCS_SHA256 0x80000161
CKM_PT_EC_EDWARDS_KEY_PAIR_GEN_DEPRECATED 0x80000c01
CKM_PT_EDDSA_DEPRECATED 0x80000c03
CKM_PT_SHA1_EDDSA 0x80000c09
CKM_PT_SHA224_EDDSA 0x80000c0a
CKM_PT_SHA256_EDDSA 0x80000c0b
CKM_PT_SHA384_EDDSA 0x80000c0c
CKM_PT_SHA512_EDDSA 0x80000c0d
CKM_PT_SHA3_224_EDDSA 0x80001c0a
CKM_PT_SHA3_256_EDDSA 0x8000ac0b
CKM_PT_SHA3_384_EDDSA 0x80001c0c
CKM_PT_SHA3_512_EDDSA 0x80001c0d
# CKR error codes
CKR_PT_ERACOM_ERROR 0x80000100
CKR_PT_TIME_STAMP 0x80000101
CKR_PT_ACCESS_DENIED 0x80000102
CKR_PT_CRYPTOKI_UNUSABLE 0x80000103
CKR_PT_ENCODE_ERROR 0x80000104
CKR_PT_V_CONFIG 0x80000105
CKR_PT_SO_NOT_LOGGED_IN 0x80000106
CKR_PT_CERT_NOT_VALIDATED 0x80000107
CKR_PT_PIN_ALREADY_INITIALIZED 0x80000108
CKR_PT_REMOTE_SERVER_ERROR 0x8000010a
CKR_PT_CSA_HW_ERROR 0x8000010b
CKR_PT_NO_CHALLENGE 0x80000110
CKR_PT_RESPONSE_INVALID 0x80000111
CKR_PT_EVENT_LOG_NOT_FULL 0x80000113
CKR_PT_OBJECT_READ_ONLY 0x80000114
CKR_PT_TOKEN_READ_ONLY 0x80000115
CKR_PT_TOKEN_NOT_INITIALIZED 0x80000116
CKR_PT_NOT_ADMIN_TOKEN 0x80000117
CKR_PT_AUTHENTICATION_REQUIRED 0x80000130
CKR_PT_OPERATIO_NOT_PERMITTED 0x80000131
CKR_PT_PKCS12_DECODE 0x80000132
CKR_PT_PKCS12_UNSUPPORTED_SAFEBAG_TYPE 0x80000133
CKR_PT_PKCS12_UNSUPPORTED_PRIVACY_MODE 0x80000134
CKR_PT_PKCS12_UNSUPPORTED_INTEGRITY_MODE 0x80000135
CKR_PT_KEY_NOT_ACTIVE 0x80000136
CKR_PT_ET_NOT_ODD_PARITY 0x80000140
CKR_PT_HOST_ERROR 0x80001000
CKR_PT_BAD_REQUEST 0x80001001
CKR_PT_BAD_ATTRIBUTE_PACKING 0x80001002
CKR_PT_BAD_ATTRIBUTE_COUNT 0x80001003
CKR_PT_BAD_PARAM_PACKING 0x80001004
CKR_PT_EXTERN_DCP_ERROR 0x80001386
CKR_PT_MSG_ERROR 0x80000300
CKR_PT_CANNOT_DERIVE_KEYS 0x80000381
CKR_PT_BAD_REQ_SIGNATURE 0x80000382
CKR_PT_BAD_REPLY_SIGNATURE 0x80000383
CKR_PT_SMS_ERROR 0x80000384
CKR_PT_BAD_PROTECTION 0x80000385
CKR_PT_DEVICE_RESET 0x80000386
CKR_PT_NO_SESSION_KEYS 0x80000387
CKR_PT_BAD_REPLY 0x80000388
CKR_PT_KEY_ROLLOVER 0x80000389
CKR_PT_NEED_IV_UPDATE 0x80000310
CKR_PT_DUPLICATE_IV_FOUND 0x80000311
CKR_PT_WLD_ERROR 0x80002000
CKR_PT_WLD_CONFIG_NOT_FOUND 0x80002001
CKR_PT_WLD_CONFIG_ITEM_READ_FAILED 0x80002002
CKR_PT_WLD_CONFIG_NO_TOKEN_LABEL 0x80002003
CKR_PT_WLD_CONFIG_TOKE_LABEL_LEN 0x80002004
CKR_PT_WLD_CONFIG_TOKEN_SERIAL_NUM_LEN 0x80002005
CKR_PT_WLD_CONFIG_SLOT_DESCRIPTION_LEN 0x80002006
CKR_PT_WLD_CONFIG_ITEM_FORMAT_INVALID 0x80002007
CKR_PT_WLD_LOGIN_CACHE_INCONSISTENT 0x80002010
CKR_PT_HA_ERROR 0x80003000
CKR_PT_HA_MAX_SLOTS_INVALID_LEN 0x80003001
CKR_PT_HA_SESION_HANDLE_INVALID 0x80003002
CKR_PT_HA_SESSION_INVALID 0x80003003
CKR_PT_HA_OBJECT_INDEX_INVALID 0x80003004
CKR_PT_HA_CANNOT_RECOVER_KEY 0x80003005
CKR_PT_HA_NO_HSM 0x80003006
CKR_PT_HA_OUT_OF_OBJS 0x80003007
CKR_PT_SECURITY_FLAGS_INCOMPATIBLE 0x80003500
CKR_PT_FM_ERROR 0x80004000
CKR_PT_FM_NOT_REGISTERED 0x80004001
CKR_PT_FM_DISPATCH_BLOCKED 0x80004002
CKR_PT_BIP32_CHILD_INDEX_INVALID 0x8000007b
CKR_PT_BIP32_INVALID_HARDENED_DERIVATION 0x8000007c
CKR_PT_BIP32_MASTER_SEED_LEN_INVALID 0x8000007d
CKR_PT_BIP32_MASTER_SEED_INVALID 0x8000007e
CKR_PT_BIP32_INVALID_KEY_PATH_LEN 0x8000007f
CKR_PT_OPT_PIN_INCORRECT 0x8000008b
CKR_PT_OPT_PIN_LEN_RANGE 0x8000008c
CKR_PT_OPT_PIN_ALREADY_INITIALIZED 0x8000008d
CKR_PT_OPT_PIN_NOT_INITIALIZED 0x8000008e
CKR_PT_OPT_PIN_REUSED 0x8000008f
CKR_PT_POINT_INVALID 0x80000090
CKR_PT_IN_SOM 0x80000091
CKR_PT_TR32_HOR_INCONSISTENT 0x80000098
© 2015 - 2024 Weber Informatics LLC | Privacy Policy