All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto/arc4: now arc needs blockcipher support
@ 2012-06-26 16:13 Sebastian Andrzej Siewior
  2012-06-27  0:54 ` Sandy Harris
  2012-06-27  6:52 ` Herbert Xu
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Andrzej Siewior @ 2012-06-26 16:13 UTC (permalink / raw)
  To: Jussi Kivilinna; +Cc: linux-crypto, Herbert Xu

Since commit ce6dd368 ("crypto: arc4 - improve performance by adding
ecb(arc4)) we need to pull in a blkcipher.

|ERROR: "crypto_blkcipher_type" [crypto/arc4.ko] undefined!
|ERROR: "blkcipher_walk_done" [crypto/arc4.ko] undefined!
|ERROR: "blkcipher_walk_virt" [crypto/arc4.ko] undefined!

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---

On a side note: do we pull in the blkcipher block mode for each cipher now to
gain some extra performance like the openssl project? I was under the
impression that is in general not worth it.

 crypto/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 2c1c2df..cefbe15 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -593,7 +593,7 @@ config CRYPTO_ANUBIS
 
 config CRYPTO_ARC4
 	tristate "ARC4 cipher algorithm"
-	select CRYPTO_ALGAPI
+	select CRYPTO_BLKCIPHER
 	help
 	  ARC4 cipher algorithm.
 
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-08 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26 16:13 [PATCH] crypto/arc4: now arc needs blockcipher support Sebastian Andrzej Siewior
2012-06-27  0:54 ` Sandy Harris
2012-06-27  4:35   ` Jussi Kivilinna
2012-06-27  6:52 ` Herbert Xu
2012-07-08 17:46   ` Sebastian Andrzej Siewior
2012-07-08 21:55     ` Jussi Kivilinna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.