blob: c0fc4aeb8596071ff67f73852e8d9f475cb30ee4 [file] [log] [blame]
Jan Engelhardtb5114312007-07-15 23:39:36 -07001
2menuconfig CRYPTO_HW
3 bool "Hardware crypto devices"
4 default y
Jan Engelhardt06bfb7e2007-08-18 12:56:21 +02005 ---help---
6 Say Y here to get to see options for hardware crypto devices and
7 processors. This option alone does not add any kernel code.
8
9 If you say N, all options in this submenu will be skipped and disabled.
Jan Engelhardtb5114312007-07-15 23:39:36 -070010
11if CRYPTO_HW
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13config CRYPTO_DEV_PADLOCK
Herbert Xud1583252007-05-18 13:17:22 +100014 tristate "Support for VIA PadLock ACE"
Herbert Xucce9e062006-08-21 21:08:13 +100015 depends on X86_32
16 select CRYPTO_ALGAPI
Herbert Xud1583252007-05-18 13:17:22 +100017 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070018 help
19 Some VIA processors come with an integrated crypto engine
20 (so called VIA PadLock ACE, Advanced Cryptography Engine)
Michal Ludvig1191f0a2006-08-06 22:46:20 +100021 that provides instructions for very fast cryptographic
22 operations with supported algorithms.
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
24 The instructions are used only when the CPU supports them.
Michal Ludvig5644bda2006-08-06 22:50:30 +100025 Otherwise software encryption is used.
26
Linus Torvalds1da177e2005-04-16 15:20:36 -070027config CRYPTO_DEV_PADLOCK_AES
Michal Ludvig1191f0a2006-08-06 22:46:20 +100028 tristate "PadLock driver for AES algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 depends on CRYPTO_DEV_PADLOCK
Herbert Xu28ce7282006-08-21 21:38:42 +100030 select CRYPTO_BLKCIPHER
Michal Ludvig1191f0a2006-08-06 22:46:20 +100031 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 help
33 Use VIA PadLock for AES algorithm.
34
Michal Ludvig1191f0a2006-08-06 22:46:20 +100035 Available in VIA C3 and newer CPUs.
36
37 If unsure say M. The compiled module will be
38 called padlock-aes.ko
39
Michal Ludvig6c833272006-07-12 12:29:38 +100040config CRYPTO_DEV_PADLOCK_SHA
41 tristate "PadLock driver for SHA1 and SHA256 algorithms"
42 depends on CRYPTO_DEV_PADLOCK
43 select CRYPTO_SHA1
44 select CRYPTO_SHA256
45 default m
46 help
47 Use VIA PadLock for SHA1/SHA256 algorithms.
48
49 Available in VIA C7 and newer processors.
50
51 If unsure say M. The compiled module will be
52 called padlock-sha.ko
53
Jan Glauber1b278292007-02-05 21:18:22 +010054source "arch/s390/crypto/Kconfig"
55
Jordan Crouse9fe757b2006-10-04 18:48:57 +100056config CRYPTO_DEV_GEODE
57 tristate "Support for the Geode LX AES engine"
Simon Arlottf6259de2007-05-02 22:08:26 +100058 depends on X86_32 && PCI
Jordan Crouse9fe757b2006-10-04 18:48:57 +100059 select CRYPTO_ALGAPI
60 select CRYPTO_BLKCIPHER
61 default m
62 help
63 Say 'Y' here to use the AMD Geode LX processor on-board AES
David Sterba3dde6ad2007-05-09 07:12:20 +020064 engine for the CryptoAPI AES algorithm.
Jordan Crouse9fe757b2006-10-04 18:48:57 +100065
66 To compile this driver as a module, choose M here: the module
67 will be called geode-aes.
68
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020069config ZCRYPT
70 tristate "Support for PCI-attached cryptographic adapters"
71 depends on S390
72 select ZCRYPT_MONOLITHIC if ZCRYPT="y"
73 default "m"
74 help
75 Select this option if you want to use a PCI-attached cryptographic
76 adapter like:
77 + PCI Cryptographic Accelerator (PCICA)
78 + PCI Cryptographic Coprocessor (PCICC)
79 + PCI-X Cryptographic Coprocessor (PCIXCC)
80 + Crypto Express2 Coprocessor (CEX2C)
81 + Crypto Express2 Accelerator (CEX2A)
82
83config ZCRYPT_MONOLITHIC
84 bool "Monolithic zcrypt module"
85 depends on ZCRYPT="m"
86 help
87 Select this option if you want to have a single module z90crypt.ko
88 that contains all parts of the crypto device driver (ap bus,
89 request router and all the card drivers).
90
Jan Engelhardtb5114312007-07-15 23:39:36 -070091endif # CRYPTO_HW