module: icp: remove algorithm name defines used only in the default mechtab

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12901
This commit is contained in:
наб
2021-12-25 03:40:59 +01:00
committed by Brian Behlendorf
parent d223af9bbc
commit f43748f6e1
2 changed files with 1 additions and 27 deletions
+1 -14
View File
@@ -76,26 +76,13 @@
/* RFE 4687834 Will deal with the extensibility of these tables later */
static kcf_mech_entry_t kcf_digest_mechs_tab[KCF_MAXDIGEST] = {
{ SUN_CKM_MD5 },
{ SUN_CKM_SHA1 },
};
static kcf_mech_entry_t kcf_cipher_mechs_tab[KCF_MAXCIPHER] = {
{ SUN_CKM_DES_CBC },
{ SUN_CKM_DES3_CBC },
{ SUN_CKM_DES_ECB },
{ SUN_CKM_DES3_ECB },
{ SUN_CKM_BLOWFISH_CBC },
{ SUN_CKM_BLOWFISH_ECB },
{ SUN_CKM_AES_CBC },
{ SUN_CKM_AES_ECB },
{ SUN_CKM_RC4 },
};
static kcf_mech_entry_t kcf_mac_mechs_tab[KCF_MAXMAC] = {
{ SUN_CKM_MD5_HMAC },
{ SUN_CKM_MD5_HMAC_GENERAL },
{ SUN_CKM_SHA1_HMAC },
{ SUN_CKM_SHA1_HMAC_GENERAL },
};
static kcf_mech_entry_t kcf_mac_mechs_tab[KCF_MAXMAC];
const kcf_mech_entry_tab_t kcf_mech_tabs_tab[KCF_LAST_OPSCLASS + 1] = {
{0, NULL}, /* No class zero */