Skip to content

Commit

Permalink
icp: remove skein module
Browse files Browse the repository at this point in the history
Nothing calls it through the KCF interface, so this is all unused.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16209
  • Loading branch information
robn authored and behlendorf committed May 31, 2024
1 parent f39241a commit ae51262
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 522 deletions.
3 changes: 0 additions & 3 deletions include/sys/crypto/icp.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ int aes_mod_fini(void);
int sha2_mod_init(void);
int sha2_mod_fini(void);

int skein_mod_init(void);
int skein_mod_fini(void);

int icp_init(void);
void icp_fini(void);

Expand Down
1 change: 0 additions & 1 deletion lib/libicp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ nodist_libicp_la_SOURCES = \
module/icp/illumos-crypto.c \
module/icp/io/aes.c \
module/icp/io/sha2_mod.c \
module/icp/io/skein_mod.c \
module/icp/core/kcf_sched.c \
module/icp/core/kcf_prov_lib.c \
module/icp/core/kcf_callprov.c \
Expand Down
1 change: 0 additions & 1 deletion module/Kbuild.in
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ ICP_OBJS := \
illumos-crypto.o \
io/aes.o \
io/sha2_mod.o \
io/skein_mod.o \
spi/kcf_spi.o

ICP_OBJS_X86_64 := \
Expand Down
2 changes: 0 additions & 2 deletions module/icp/illumos-crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
void
icp_fini(void)
{
skein_mod_fini();
sha2_mod_fini();
aes_mod_fini();
kcf_sched_destroy();
Expand All @@ -134,7 +133,6 @@ icp_init(void)
/* initialize algorithms */
aes_mod_init();
sha2_mod_init();
skein_mod_init();

return (0);
}
Expand Down
Loading

0 comments on commit ae51262

Please sign in to comment.