Skip to contentSkip to conversation

ixp4xx: Hardware crypto support for IXP4xx CPUs

PATCH Applied Christian Hohnstaedt 2 participants 2 messages Jun 15, 2008 – Jun 25, 2008 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ixp4xx: Hardware crypto support for IXP4xx CPUs

Add support for the hardware crypto engine provided by the NPE C of the Intel IXP4xx networking processor series.

Supported ciphers: des, des3, aes
and a combination of them with md5 and sha1 hmac

---
 drivers/crypto/Kconfig         |    9 +
 drivers/crypto/Makefile        |    1 +
 drivers/crypto/ixp4xx_crypto.c | 1506 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1516 insertions(+), 0 deletions(-)
 create mode 100644 drivers/crypto/ixp4xx_crypto.c
drivers/crypto/Kconfig +9 -0
index 98d96df..b51b3f9 100644
@@ -189,4 +189,13 @@ config CRYPTO_DEV_TALITOS
 	  To compile this driver as a module, choose M here: the module
 	  will be called talitos.
 
+config CRYPTO_DEV_IXP4XX
+	tristate "Driver for IXP4xx crypto hardware acceleration"
+	depends on ARCH_IXP4XX
+	select CRYPTO_DES
+	select CRYPTO_ALGAPI
+	select CRYPTO_BLKCIPHER
+	help
+	  Driver for the IXP4xx NPE crypto engine.
+
 endif # CRYPTO_HW
drivers/crypto/Makefile +1 -0
index d29d2cd..73557b2 100644
@@ -3,3 +3,4 @@ obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
 obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
 obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o
 obj-$(CONFIG_CRYPTO_DEV_TALITOS) += talitos.o
+obj-$(CONFIG_CRYPTO_DEV_IXP4XX) += ixp4xx_crypto.o
drivers/crypto/ixp4xx_crypto.c new file +1506 -0

1,506 lines not on this page · raw message

Signature · 1 line
1.5.5.3
maintainer Applied
#1 lore raw
Quoted 7 lines · Christian Hohnstaedt

Add support for the hardware crypto engine provided by the NPE C of the Intel IXP4xx networking processor series.

Supported ciphers: des, des3, aes
and a combination of them with md5 and sha1 hmac

Applied to crpytodev-2.6. Thanks Christian!

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt