diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
commit | 36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch) | |
tree | 6c68e0c0097987aff85a01dabddd34b862309a7c /src/mech-list.h | |
parent | Initial commit. (diff) | |
download | gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.tar.xz gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.zip |
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/mech-list.h')
-rw-r--r-- | src/mech-list.h | 326 |
1 files changed, 326 insertions, 0 deletions
diff --git a/src/mech-list.h b/src/mech-list.h new file mode 100644 index 0000000..e179fa3 --- /dev/null +++ b/src/mech-list.h @@ -0,0 +1,326 @@ +const char *mech_list[] = { + [(0UL)] = "CKM_RSA_PKCS_KEY_PAIR_GEN", + [(0x1000UL)] = "CKM_SKIPJACK_KEY_GEN", + [(0x1001UL)] = "CKM_SKIPJACK_ECB64", + [(0x1002UL)] = "CKM_SKIPJACK_CBC64", + [(0x1003UL)] = "CKM_SKIPJACK_OFB64", + [(0x1004UL)] = "CKM_SKIPJACK_CFB64", + [(0x1005UL)] = "CKM_SKIPJACK_CFB32", + [(0x1006UL)] = "CKM_SKIPJACK_CFB16", + [(0x1007UL)] = "CKM_SKIPJACK_CFB8", + [(0x1008UL)] = "CKM_SKIPJACK_WRAP", + [(0x1009UL)] = "CKM_SKIPJACK_PRIVATE_WRAP", + [(0x100UL)] = "CKM_RC2_KEY_GEN", + [(0x100aUL)] = "CKM_SKIPJACK_RELAYX", + [(0x1010UL)] = "CKM_KEA_KEY_PAIR_GEN", + [(0x1011UL)] = "CKM_KEA_KEY_DERIVE", + [(0x101UL)] = "CKM_RC2_ECB", + [(0x1020UL)] = "CKM_FORTEZZA_TIMESTAMP", + [(0x102UL)] = "CKM_RC2_CBC", + [(0x1030UL)] = "CKM_BATON_KEY_GEN", + [(0x1031UL)] = "CKM_BATON_ECB128", + [(0x1032UL)] = "CKM_BATON_ECB96", + [(0x1033UL)] = "CKM_BATON_CBC128", + [(0x1034UL)] = "CKM_BATON_COUNTER", + [(0x1035UL)] = "CKM_BATON_SHUFFLE", + [(0x1036UL)] = "CKM_BATON_WRAP", + [(0x103UL)] = "CKM_RC2_MAC", + [(0x1040UL)] = "CKM_ECDSA_KEY_PAIR_GEN", + [(0x1041UL)] = "CKM_ECDSA", + [(0x1042UL)] = "CKM_ECDSA_SHA1", + [(0x1043UL)] = "CKM_ECDSA_SHA224", + [(0x1044UL)] = "CKM_ECDSA_SHA256", + [(0x1045UL)] = "CKM_ECDSA_SHA384", + [(0x1046UL)] = "CKM_ECDSA_SHA512", + [(0x104UL)] = "CKM_RC2_MAC_GENERAL", + [(0x1050UL)] = "CKM_ECDH1_DERIVE", + [(0x1051UL)] = "CKM_ECDH1_COFACTOR_DERIVE", + [(0x1052UL)] = "CKM_ECMQV_DERIVE", + [(0x1053UL)] = "CKM_ECDH_AES_KEY_WRAP", + [(0x1054UL)] = "CKM_RSA_AES_KEY_WRAP", + [(0x1055UL)] = "CKM_EC_EDWARDS_KEY_PAIR_GEN", + [(0x1057UL)] = "CKM_EDDSA", + [(0x105UL)] = "CKM_RC2_CBC_PAD", + [(0x1060UL)] = "CKM_JUNIPER_KEY_GEN", + [(0x1061UL)] = "CKM_JUNIPER_ECB128", + [(0x1062UL)] = "CKM_JUNIPER_CBC128", + [(0x1063UL)] = "CKM_JUNIPER_COUNTER", + [(0x1064UL)] = "CKM_JUNIPER_SHUFFLE", + [(0x1065UL)] = "CKM_JUNIPER_WRAP", + [(0x1070UL)] = "CKM_FASTHASH", + [(0x1080UL)] = "CKM_AES_KEY_GEN", + [(0x1081UL)] = "CKM_AES_ECB", + [(0x1082UL)] = "CKM_AES_CBC", + [(0x1083UL)] = "CKM_AES_MAC", + [(0x1084UL)] = "CKM_AES_MAC_GENERAL", + [(0x1085UL)] = "CKM_AES_CBC_PAD", + [(0x1086UL)] = "CKM_AES_CTR", + [(0x1087UL)] = "CKM_AES_GCM", + [(0x1088UL)] = "CKM_AES_CCM", + [(0x1089UL)] = "CKM_AES_CTS", + [(0x108aUL)] = "CKM_AES_CMAC", + [(0x108bUL)] = "CKM_AES_CMAC_GENERAL", + [(0x108cUL)] = "CKM_AES_XCBC_MAC", + [(0x108dUL)] = "CKM_AES_XCBC_MAC_96", + [(0x108eUL)] = "CKM_AES_GMAC", + [(0x1090UL)] = "CKM_BLOWFISH_KEY_GEN", + [(0x1091UL)] = "CKM_BLOWFISH_CBC", + [(0x1092UL)] = "CKM_TWOFISH_KEY_GEN", + [(0x1093UL)] = "CKM_TWOFISH_CBC", + [(0x1094UL)] = "CKM_BLOWFISH_CBC_PAD", + [(0x1095UL)] = "CKM_TWOFISH_CBC_PAD", + [(0x10UL)] = "CKM_DSA_KEY_PAIR_GEN", + [(0x1100UL)] = "CKM_DES_ECB_ENCRYPT_DATA", + [(0x1101UL)] = "CKM_DES_CBC_ENCRYPT_DATA", + [(0x1102UL)] = "CKM_DES3_ECB_ENCRYPT_DATA", + [(0x1103UL)] = "CKM_DES3_CBC_ENCRYPT_DATA", + [(0x1104UL)] = "CKM_AES_ECB_ENCRYPT_DATA", + [(0x1105UL)] = "CKM_AES_CBC_ENCRYPT_DATA", + [(0x110UL)] = "CKM_RC4_KEY_GEN", + [(0x111UL)] = "CKM_RC4", + [(0x11UL)] = "CKM_DSA", + [(0x1200UL)] = "CKM_GOSTR3410_KEY_PAIR_GEN", + [(0x1201UL)] = "CKM_GOSTR3410", + [(0x1202UL)] = "CKM_GOSTR3410_WITH_GOSTR3411", + [(0x1203UL)] = "CKM_GOSTR3410_KEY_WRAP", + [(0x1204UL)] = "CKM_GOSTR3410_DERIVE", + [(0x120UL)] = "CKM_DES_KEY_GEN", + [(0x1210UL)] = "CKM_GOSTR3411", + [(0x1211UL)] = "CKM_GOSTR3411_HMAC", + [(0x121UL)] = "CKM_DES_ECB", + [(0x1220UL)] = "CKM_GOST28147_KEY_GEN", + [(0x1221UL)] = "CKM_GOST28147_ECB", + [(0x1222UL)] = "CKM_GOST28147", + [(0x1223UL)] = "CKM_GOST28147_MAC", + [(0x1224UL)] = "CKM_GOST28147_KEY_WRAP", + [(0x122UL)] = "CKM_DES_CBC", + [(0x123UL)] = "CKM_DES_MAC", + [(0x124UL)] = "CKM_DES_MAC_GENERAL", + [(0x125UL)] = "CKM_DES_CBC_PAD", + [(0x12UL)] = "CKM_DSA_SHA1", + [(0x130UL)] = "CKM_DES2_KEY_GEN", + [(0x131UL)] = "CKM_DES3_KEY_GEN", + [(0x132UL)] = "CKM_DES3_ECB", + [(0x133UL)] = "CKM_DES3_CBC", + [(0x134UL)] = "CKM_DES3_MAC", + [(0x135UL)] = "CKM_DES3_MAC_GENERAL", + [(0x136UL)] = "CKM_DES3_CBC_PAD", + [(0x137UL)] = "CKM_DES3_CMAC_GENERAL", + [(0x138UL)] = "CKM_DES3_CMAC", + [(0x13UL)] = "CKM_DSA_SHA224", + [(0x140UL)] = "CKM_CDMF_KEY_GEN", + [(0x141UL)] = "CKM_CDMF_ECB", + [(0x142UL)] = "CKM_CDMF_CBC", + [(0x143UL)] = "CKM_CDMF_MAC", + [(0x144UL)] = "CKM_CDMF_MAC_GENERAL", + [(0x145UL)] = "CKM_CDMF_CBC_PAD", + [(0x14UL)] = "CKM_DSA_SHA256", + [(0x150UL)] = "CKM_DES_OFB64", + [(0x151UL)] = "CKM_DES_OFB8", + [(0x152UL)] = "CKM_DES_CFB64", + [(0x153UL)] = "CKM_DES_CFB8", + [(0x15UL)] = "CKM_DSA_SHA384", + [(0x16UL)] = "CKM_DSA_SHA512", + [(0x2000UL)] = "CKM_DSA_PARAMETER_GEN", + [(0x2001UL)] = "CKM_DH_PKCS_PARAMETER_GEN", + [(0x2002UL)] = "CKM_X9_42_DH_PARAMETER_GEN", + [(0x2003UL)] = "CKM_DSA_PROBABLISTIC_PARAMETER_GEN", + [(0x2004UL)] = "CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN", + [(0x200UL)] = "CKM_MD2", + [(0x201UL)] = "CKM_MD2_HMAC", + [(0x202UL)] = "CKM_MD2_HMAC_GENERAL", + [(0x20UL)] = "CKM_DH_PKCS_KEY_PAIR_GEN", + [(0x2104UL)] = "CKM_AES_OFB", + [(0x2105UL)] = "CKM_AES_CFB64", + [(0x2106UL)] = "CKM_AES_CFB8", + [(0x2107UL)] = "CKM_AES_CFB128", + [(0x2108UL)] = "CKM_AES_CFB1", + [(0x2109UL)] = "CKM_AES_KEY_WRAP", + [(0x210UL)] = "CKM_MD5", + [(0x210aUL)] = "CKM_AES_KEY_WRAP_PAD", + [(0x211UL)] = "CKM_MD5_HMAC", + [(0x212UL)] = "CKM_MD5_HMAC_GENERAL", + [(0x21UL)] = "CKM_DH_PKCS_DERIVE", + [(0x220UL)] = "CKM_SHA_1", + [(0x221UL)] = "CKM_SHA_1_HMAC", + [(0x222UL)] = "CKM_SHA_1_HMAC_GENERAL", + [(0x230UL)] = "CKM_RIPEMD128", + [(0x231UL)] = "CKM_RIPEMD128_HMAC", + [(0x232UL)] = "CKM_RIPEMD128_HMAC_GENERAL", + [(0x240UL)] = "CKM_RIPEMD160", + [(0x241UL)] = "CKM_RIPEMD160_HMAC", + [(0x242UL)] = "CKM_RIPEMD160_HMAC_GENERAL", + [(0x250UL)] = "CKM_SHA256", + [(0x251UL)] = "CKM_SHA256_HMAC", + [(0x252UL)] = "CKM_SHA256_HMAC_GENERAL", + [(0x255UL)] = "CKM_SHA224", + [(0x256UL)] = "CKM_SHA224_HMAC", + [(0x257UL)] = "CKM_SHA224_HMAC_GENERAL", + [(0x260UL)] = "CKM_SHA384", + [(0x261UL)] = "CKM_SHA384_HMAC", + [(0x262UL)] = "CKM_SHA384_HMAC_GENERAL", + [(0x270UL)] = "CKM_SHA512", + [(0x271UL)] = "CKM_SHA512_HMAC", + [(0x272UL)] = "CKM_SHA512_HMAC_GENERAL", + [(0x280UL)] = "CKM_SECURID_KEY_GEN", + [(0x282UL)] = "CKM_SECURID", + [(0x290UL)] = "CKM_HOTP_KEY_GEN", + [(0x291UL)] = "CKM_HOTP", + [(0x2a0UL)] = "CKM_ACTI", + [(0x2a1UL)] = "CKM_ACTI_KEY_GEN", + [(0x300UL)] = "CKM_CAST_KEY_GEN", + [(0x301UL)] = "CKM_CAST_ECB", + [(0x302UL)] = "CKM_CAST_CBC", + [(0x303UL)] = "CKM_CAST_MAC", + [(0x304UL)] = "CKM_CAST_MAC_GENERAL", + [(0x305UL)] = "CKM_CAST_CBC_PAD", + [(0x30UL)] = "CKM_X9_42_DH_KEY_PAIR_GEN", + [(0x310UL)] = "CKM_CAST3_KEY_GEN", + [(0x311UL)] = "CKM_CAST3_ECB", + [(0x312UL)] = "CKM_CAST3_CBC", + [(0x313UL)] = "CKM_CAST3_MAC", + [(0x314UL)] = "CKM_CAST3_MAC_GENERAL", + [(0x315UL)] = "CKM_CAST3_CBC_PAD", + [(0x31UL)] = "CKM_X9_42_DH_DERIVE", + [(0x320UL)] = "CKM_CAST5_KEY_GEN", + [(0x321UL)] = "CKM_CAST5_ECB", + [(0x322UL)] = "CKM_CAST5_CBC", + [(0x323UL)] = "CKM_CAST5_MAC", + [(0x324UL)] = "CKM_CAST5_MAC_GENERAL", + [(0x325UL)] = "CKM_CAST5_CBC_PAD", + [(0x32UL)] = "CKM_X9_42_DH_HYBRID_DERIVE", + [(0x330UL)] = "CKM_RC5_KEY_GEN", + [(0x331UL)] = "CKM_RC5_ECB", + [(0x332UL)] = "CKM_RC5_CBC", + [(0x333UL)] = "CKM_RC5_MAC", + [(0x334UL)] = "CKM_RC5_MAC_GENERAL", + [(0x335UL)] = "CKM_RC5_CBC_PAD", + [(0x33UL)] = "CKM_X9_42_MQV_DERIVE", + [(0x340UL)] = "CKM_IDEA_KEY_GEN", + [(0x341UL)] = "CKM_IDEA_ECB", + [(0x342UL)] = "CKM_IDEA_CBC", + [(0x343UL)] = "CKM_IDEA_MAC", + [(0x344UL)] = "CKM_IDEA_MAC_GENERAL", + [(0x345UL)] = "CKM_IDEA_CBC_PAD", + [(0x350UL)] = "CKM_GENERIC_SECRET_KEY_GEN", + [(0x360UL)] = "CKM_CONCATENATE_BASE_AND_KEY", + [(0x362UL)] = "CKM_CONCATENATE_BASE_AND_DATA", + [(0x363UL)] = "CKM_CONCATENATE_DATA_AND_BASE", + [(0x364UL)] = "CKM_XOR_BASE_AND_DATA", + [(0x365UL)] = "CKM_EXTRACT_KEY_FROM_KEY", + [(0x370UL)] = "CKM_SSL3_PRE_MASTER_KEY_GEN", + [(0x371UL)] = "CKM_SSL3_MASTER_KEY_DERIVE", + [(0x372UL)] = "CKM_SSL3_KEY_AND_MAC_DERIVE", + [(0x373UL)] = "CKM_SSL3_MASTER_KEY_DERIVE_DH", + [(0x374UL)] = "CKM_TLS_PRE_MASTER_KEY_GEN", + [(0x375UL)] = "CKM_TLS_MASTER_KEY_DERIVE", + [(0x376UL)] = "CKM_TLS_KEY_AND_MAC_DERIVE", + [(0x377UL)] = "CKM_TLS_MASTER_KEY_DERIVE_DH", + [(0x378UL)] = "CKM_TLS_PRF", + [(0x380UL)] = "CKM_SSL3_MD5_MAC", + [(0x381UL)] = "CKM_SSL3_SHA1_MAC", + [(0x390UL)] = "CKM_MD5_KEY_DERIVATION", + [(0x391UL)] = "CKM_MD2_KEY_DERIVATION", + [(0x392UL)] = "CKM_SHA1_KEY_DERIVATION", + [(0x393UL)] = "CKM_SHA256_KEY_DERIVATION", + [(0x394UL)] = "CKM_SHA384_KEY_DERIVATION", + [(0x395UL)] = "CKM_SHA512_KEY_DERIVATION", + [(0x396UL)] = "CKM_SHA224_KEY_DERIVATION", + [(0x3a0UL)] = "CKM_PBE_MD2_DES_CBC", + [(0x3a1UL)] = "CKM_PBE_MD5_DES_CBC", + [(0x3a2UL)] = "CKM_PBE_MD5_CAST_CBC", + [(0x3a3UL)] = "CKM_PBE_MD5_CAST3_CBC", + [(0x3a4UL)] = "CKM_PBE_MD5_CAST5_CBC", + [(0x3a5UL)] = "CKM_PBE_SHA1_CAST5_CBC", + [(0x3a6UL)] = "CKM_PBE_SHA1_RC4_128", + [(0x3a7UL)] = "CKM_PBE_SHA1_RC4_40", + [(0x3a8UL)] = "CKM_PBE_SHA1_DES3_EDE_CBC", + [(0x3a9UL)] = "CKM_PBE_SHA1_DES2_EDE_CBC", + [(0x3aaUL)] = "CKM_PBE_SHA1_RC2_128_CBC", + [(0x3abUL)] = "CKM_PBE_SHA1_RC2_40_CBC", + [(0x3b0UL)] = "CKM_PKCS5_PBKD2", + [(0x3c0UL)] = "CKM_PBA_SHA1_WITH_SHA1_HMAC", + [(0x3d0UL)] = "CKM_WTLS_PRE_MASTER_KEY_GEN", + [(0x3d1UL)] = "CKM_WTLS_MASTER_KEY_DERIVE", + [(0x3d2UL)] = "CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC", + [(0x3d3UL)] = "CKM_WTLS_PRF", + [(0x3d4UL)] = "CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE", + [(0x3d5UL)] = "CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE", + [(0x3d6UL)] = "CKM_TLS10_MAC_SERVER", + [(0x3d7UL)] = "CKM_TLS10_MAC_CLIENT", + [(0x3d8UL)] = "CKM_TLS12_MAC", + [(0x3d9UL)] = "CKM_TLS12_KDF", + [(0x3e0UL)] = "CKM_TLS12_MASTER_KEY_DERIVE", + [(0x3e1UL)] = "CKM_TLS12_KEY_AND_MAC_DERIVE", + [(0x3e2UL)] = "CKM_TLS12_MASTER_KEY_DERIVE_DH", + [(0x3e3UL)] = "CKM_TLS12_KEY_SAFE_DERIVE", + [(0x3e4UL)] = "CKM_TLS_MAC", + [(0x3e5UL)] = "CKM_TLS_KDF", + [(0x4001UL)] = "CKM_RSA_PKCS_TPM_1_1", + [(0x4002UL)] = "CKM_RSA_PKCS_OAEP_TPM_1_1", + [(0x400UL)] = "CKM_KEY_WRAP_LYNKS", + [(0x401UL)] = "CKM_KEY_WRAP_SET_OAEP", + [(0x40UL)] = "CKM_SHA256_RSA_PKCS", + [(0x41UL)] = "CKM_SHA384_RSA_PKCS", + [(0x42UL)] = "CKM_SHA512_RSA_PKCS", + [(0x43UL)] = "CKM_SHA256_RSA_PKCS_PSS", + [(0x44UL)] = "CKM_SHA384_RSA_PKCS_PSS", + [(0x45UL)] = "CKM_SHA512_RSA_PKCS_PSS", + [(0x46UL)] = "CKM_SHA224_RSA_PKCS", + [(0x47UL)] = "CKM_SHA224_RSA_PKCS_PSS", + [(0x48UL)] = "CKM_SHA512_224", + [(0x49UL)] = "CKM_SHA512_224_HMAC", + [(0x4aUL)] = "CKM_SHA512_224_HMAC_GENERAL", + [(0x4bUL)] = "CKM_SHA512_224_KEY_DERIVATION", + [(0x4cUL)] = "CKM_SHA512_256", + [(0x4dUL)] = "CKM_SHA512_256_HMAC", + [(0x4eUL)] = "CKM_SHA512_256_HMAC_GENERAL", + [(0x4fUL)] = "CKM_SHA512_256_KEY_DERIVATION", + [(0x500UL)] = "CKM_CMS_SIG", + [(0x50UL)] = "CKM_SHA512_T", + [(0x510UL)] = "CKM_KIP_DERIVE", + [(0x511UL)] = "CKM_KIP_WRAP", + [(0x512UL)] = "CKM_KIP_MAC", + [(0x51UL)] = "CKM_SHA512_T_HMAC", + [(0x52UL)] = "CKM_SHA512_T_HMAC_GENERAL", + [(0x53UL)] = "CKM_SHA512_T_KEY_DERIVATION", + [(0x550UL)] = "CKM_CAMELLIA_KEY_GEN", + [(0x551UL)] = "CKM_CAMELLIA_ECB", + [(0x552UL)] = "CKM_CAMELLIA_CBC", + [(0x553UL)] = "CKM_CAMELLIA_MAC", + [(0x554UL)] = "CKM_CAMELLIA_MAC_GENERAL", + [(0x555UL)] = "CKM_CAMELLIA_CBC_PAD", + [(0x556UL)] = "CKM_CAMELLIA_ECB_ENCRYPT_DATA", + [(0x557UL)] = "CKM_CAMELLIA_CBC_ENCRYPT_DATA", + [(0x558UL)] = "CKM_CAMELLIA_CTR", + [(0x560UL)] = "CKM_ARIA_KEY_GEN", + [(0x561UL)] = "CKM_ARIA_ECB", + [(0x562UL)] = "CKM_ARIA_CBC", + [(0x563UL)] = "CKM_ARIA_MAC", + [(0x564UL)] = "CKM_ARIA_MAC_GENERAL", + [(0x565UL)] = "CKM_ARIA_CBC_PAD", + [(0x566UL)] = "CKM_ARIA_ECB_ENCRYPT_DATA", + [(0x567UL)] = "CKM_ARIA_CBC_ENCRYPT_DATA", + [(0x650UL)] = "CKM_SEED_KEY_GEN", + [(0x651UL)] = "CKM_SEED_ECB", + [(0x652UL)] = "CKM_SEED_CBC", + [(0x653UL)] = "CKM_SEED_MAC", + [(0x654UL)] = "CKM_SEED_MAC_GENERAL", + [(0x655UL)] = "CKM_SEED_CBC_PAD", + [(0x656UL)] = "CKM_SEED_ECB_ENCRYPT_DATA", + [(0x657UL)] = "CKM_SEED_CBC_ENCRYPT_DATA", + [(0xaUL)] = "CKM_RSA_X9_31_KEY_PAIR_GEN", + [(0xbUL)] = "CKM_RSA_X9_31", + [(0xcUL)] = "CKM_SHA1_RSA_X9_31", + [(0xdUL)] = "CKM_RSA_PKCS_PSS", + [(0xeUL)] = "CKM_SHA1_RSA_PKCS_PSS", + [(1UL)] = "CKM_RSA_PKCS", + [(2UL)] = "CKM_RSA_9796", + [(3UL)] = "CKM_RSA_X_509", + [(4UL)] = "CKM_MD2_RSA_PKCS", + [(5UL)] = "CKM_MD5_RSA_PKCS", + [(6UL)] = "CKM_SHA1_RSA_PKCS", + [(7UL)] = "CKM_RIPEMD128_RSA_PKCS", + [(8UL)] = "CKM_RIPEMD160_RSA_PKCS", + [(9UL)] = "CKM_RSA_PKCS_OAEP", +}; |