[CRYPTO] hifn_795x: HIFN 795x driver

This is a driver for HIFN 795x crypto accelerator chips.

It passed all tests for AES, DES and DES3_EDE except weak test for DES,
since hardware can not determine weak keys.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Evgeniy Polyakov 2007-10-26 21:31:14 +08:00 committed by Herbert Xu
parent 23e353c8a6
commit f7d0561ea1
3 changed files with 2630 additions and 0 deletions

View file

@ -83,4 +83,14 @@ config ZCRYPT_MONOLITHIC
that contains all parts of the crypto device driver (ap bus, that contains all parts of the crypto device driver (ap bus,
request router and all the card drivers). request router and all the card drivers).
config CRYPTO_DEV_HIFN_795X
tristate "Driver HIFN 795x crypto accelerator chips"
select CRYPTO_ALGAPI
select CRYPTO_ABLKCIPHER
select CRYPTO_BLKCIPHER
help
This option allows you to have support for HIFN 795x crypto adapters.
endif # CRYPTO_HW endif # CRYPTO_HW

View file

@ -1,3 +1,4 @@
obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o
obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o obj-$(CONFIG_CRYPTO_DEV_PADLOCK_SHA) += padlock-sha.o
obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o obj-$(CONFIG_CRYPTO_DEV_GEODE) += geode-aes.o
obj-$(CONFIG_CRYPTO_DEV_HIFN_795X) += hifn_795x.o

2619
drivers/crypto/hifn_795x.c Normal file

File diff suppressed because it is too large Load diff