Skip to content

Commit

Permalink
crypto: x86 - remove glue helper module
Browse files Browse the repository at this point in the history
All dependencies on the x86 glue helper module have been replaced by
local instantiations of the new ECB/CBC preprocessor helper macros, so
the glue helper module can be retired.

Acked-by: Eric Biggers <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ardbiesheuvel authored and herbertx committed Jan 14, 2021
1 parent 165f357 commit 64ca771
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 243 deletions.
2 changes: 0 additions & 2 deletions arch/x86/crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

OBJECT_FILES_NON_STANDARD := y

obj-$(CONFIG_CRYPTO_GLUE_HELPER_X86) += glue_helper.o

obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o
twofish-i586-y := twofish-i586-asm_32.o twofish_glue.o
obj-$(CONFIG_CRYPTO_TWOFISH_X86_64) += twofish-x86_64.o
Expand Down
155 changes: 0 additions & 155 deletions arch/x86/crypto/glue_helper.c

This file was deleted.

74 changes: 0 additions & 74 deletions arch/x86/include/asm/crypto/glue_helper.h

This file was deleted.

5 changes: 0 additions & 5 deletions crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,6 @@ config CRYPTO_SIMD
tristate
select CRYPTO_CRYPTD

config CRYPTO_GLUE_HELPER_X86
tristate
depends on X86
select CRYPTO_SKCIPHER

config CRYPTO_ENGINE
tristate

Expand Down
6 changes: 0 additions & 6 deletions crypto/skcipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,6 @@ int skcipher_walk_virt(struct skcipher_walk *walk,
}
EXPORT_SYMBOL_GPL(skcipher_walk_virt);

void skcipher_walk_atomise(struct skcipher_walk *walk)
{
walk->flags &= ~SKCIPHER_WALK_SLEEP;
}
EXPORT_SYMBOL_GPL(skcipher_walk_atomise);

int skcipher_walk_async(struct skcipher_walk *walk,
struct skcipher_request *req)
{
Expand Down
1 change: 0 additions & 1 deletion include/crypto/internal/skcipher.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ int skcipher_walk_done(struct skcipher_walk *walk, int err);
int skcipher_walk_virt(struct skcipher_walk *walk,
struct skcipher_request *req,
bool atomic);
void skcipher_walk_atomise(struct skcipher_walk *walk);
int skcipher_walk_async(struct skcipher_walk *walk,
struct skcipher_request *req);
int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
Expand Down

0 comments on commit 64ca771

Please sign in to comment.