aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-05-19 12:58:56 +1000
committerBrian Behlendorf <[email protected]>2024-05-31 15:13:16 -0700
commit1291c46ea4baf3f8807cf533edbdbd4999f6759e (patch)
tree4e05a0f3c9e148cb3e495069bda6b62e11414428 /include/sys
parent94f1e56e412909cf76b9acf799f5154a08d50a2f (diff)
icp: remove digest entry points
For whatever reason, we call digest mechanisms directly, not through the KCF digest provider. So we can remove those entry points entirely. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16209
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/skein.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/sys/skein.h b/include/sys/skein.h
index 2f649d6b2..3359d48af 100644
--- a/include/sys/skein.h
+++ b/include/sys/skein.h
@@ -152,25 +152,16 @@ typedef struct skein_param {
/* Module definitions */
#ifdef SKEIN_MODULE_IMPL
-#define CKM_SKEIN_256 "CKM_SKEIN_256"
-#define CKM_SKEIN_512 "CKM_SKEIN_512"
-#define CKM_SKEIN1024 "CKM_SKEIN1024"
#define CKM_SKEIN_256_MAC "CKM_SKEIN_256_MAC"
#define CKM_SKEIN_512_MAC "CKM_SKEIN_512_MAC"
#define CKM_SKEIN1024_MAC "CKM_SKEIN1024_MAC"
typedef enum skein_mech_type {
- SKEIN_256_MECH_INFO_TYPE,
- SKEIN_512_MECH_INFO_TYPE,
- SKEIN1024_MECH_INFO_TYPE,
SKEIN_256_MAC_MECH_INFO_TYPE,
SKEIN_512_MAC_MECH_INFO_TYPE,
SKEIN1024_MAC_MECH_INFO_TYPE
} skein_mech_type_t;
-#define VALID_SKEIN_DIGEST_MECH(__mech) \
- ((int)(__mech) >= SKEIN_256_MECH_INFO_TYPE && \
- (__mech) <= SKEIN1024_MECH_INFO_TYPE)
#define VALID_SKEIN_MAC_MECH(__mech) \
((int)(__mech) >= SKEIN_256_MAC_MECH_INFO_TYPE && \
(__mech) <= SKEIN1024_MAC_MECH_INFO_TYPE)