Skip to content

Commit 64ca771

Browse files
ardbiesheuvelherbertx
authored andcommitted
crypto: x86 - remove glue helper module
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 <ebiggers@google.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 165f357 commit 64ca771

File tree

6 files changed

+0
-243
lines changed

6 files changed

+0
-243
lines changed

arch/x86/crypto/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
OBJECT_FILES_NON_STANDARD := y
66

7-
obj-$(CONFIG_CRYPTO_GLUE_HELPER_X86) += glue_helper.o
8-
97
obj-$(CONFIG_CRYPTO_TWOFISH_586) += twofish-i586.o
108
twofish-i586-y := twofish-i586-asm_32.o twofish_glue.o
119
obj-$(CONFIG_CRYPTO_TWOFISH_X86_64) += twofish-x86_64.o

arch/x86/crypto/glue_helper.c

Lines changed: 0 additions & 155 deletions
This file was deleted.

arch/x86/include/asm/crypto/glue_helper.h

Lines changed: 0 additions & 74 deletions
This file was deleted.

crypto/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ config CRYPTO_SIMD
210210
tristate
211211
select CRYPTO_CRYPTD
212212

213-
config CRYPTO_GLUE_HELPER_X86
214-
tristate
215-
depends on X86
216-
select CRYPTO_SKCIPHER
217-
218213
config CRYPTO_ENGINE
219214
tristate
220215

crypto/skcipher.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -491,12 +491,6 @@ int skcipher_walk_virt(struct skcipher_walk *walk,
491491
}
492492
EXPORT_SYMBOL_GPL(skcipher_walk_virt);
493493

494-
void skcipher_walk_atomise(struct skcipher_walk *walk)
495-
{
496-
walk->flags &= ~SKCIPHER_WALK_SLEEP;
497-
}
498-
EXPORT_SYMBOL_GPL(skcipher_walk_atomise);
499-
500494
int skcipher_walk_async(struct skcipher_walk *walk,
501495
struct skcipher_request *req)
502496
{

include/crypto/internal/skcipher.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ int skcipher_walk_done(struct skcipher_walk *walk, int err);
133133
int skcipher_walk_virt(struct skcipher_walk *walk,
134134
struct skcipher_request *req,
135135
bool atomic);
136-
void skcipher_walk_atomise(struct skcipher_walk *walk);
137136
int skcipher_walk_async(struct skcipher_walk *walk,
138137
struct skcipher_request *req);
139138
int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,

0 commit comments

Comments
 (0)