blob: 84ebfcc1ffb45ef8b89550dd05146975753d97ad [file] [log] [blame]
Jan Engelhardtb5114312007-07-15 23:39:36 -07001
2menuconfig CRYPTO_HW
3 bool "Hardware crypto devices"
4 default y
5
6if CRYPTO_HW
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8config CRYPTO_DEV_PADLOCK
Herbert Xud1583252007-05-18 13:17:22 +10009 tristate "Support for VIA PadLock ACE"
Herbert Xucce9e062006-08-21 21:08:13 +100010 depends on X86_32
11 select CRYPTO_ALGAPI
Herbert Xud1583252007-05-18 13:17:22 +100012 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 help
14 Some VIA processors come with an integrated crypto engine
15 (so called VIA PadLock ACE, Advanced Cryptography Engine)
Michal Ludvig1191f0a2006-08-06 22:46:20 +100016 that provides instructions for very fast cryptographic
17 operations with supported algorithms.
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19 The instructions are used only when the CPU supports them.
Michal Ludvig5644bda2006-08-06 22:50:30 +100020 Otherwise software encryption is used.
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022config CRYPTO_DEV_PADLOCK_AES
Michal Ludvig1191f0a2006-08-06 22:46:20 +100023 tristate "PadLock driver for AES algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070024 depends on CRYPTO_DEV_PADLOCK
Herbert Xu28ce7282006-08-21 21:38:42 +100025 select CRYPTO_BLKCIPHER
Michal Ludvig1191f0a2006-08-06 22:46:20 +100026 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 help
28 Use VIA PadLock for AES algorithm.
29
Michal Ludvig1191f0a2006-08-06 22:46:20 +100030 Available in VIA C3 and newer CPUs.
31
32 If unsure say M. The compiled module will be
33 called padlock-aes.ko
34
Michal Ludvig6c833272006-07-12 12:29:38 +100035config CRYPTO_DEV_PADLOCK_SHA
36 tristate "PadLock driver for SHA1 and SHA256 algorithms"
37 depends on CRYPTO_DEV_PADLOCK
38 select CRYPTO_SHA1
39 select CRYPTO_SHA256
40 default m
41 help
42 Use VIA PadLock for SHA1/SHA256 algorithms.
43
44 Available in VIA C7 and newer processors.
45
46 If unsure say M. The compiled module will be
47 called padlock-sha.ko
48
Jan Glauber1b278292007-02-05 21:18:22 +010049source "arch/s390/crypto/Kconfig"
50
Jordan Crouse9fe757b2006-10-04 18:48:57 +100051config CRYPTO_DEV_GEODE
52 tristate "Support for the Geode LX AES engine"
Simon Arlottf6259de2007-05-02 22:08:26 +100053 depends on X86_32 && PCI
Jordan Crouse9fe757b2006-10-04 18:48:57 +100054 select CRYPTO_ALGAPI
55 select CRYPTO_BLKCIPHER
56 default m
57 help
58 Say 'Y' here to use the AMD Geode LX processor on-board AES
David Sterba3dde6ad2007-05-09 07:12:20 +020059 engine for the CryptoAPI AES algorithm.
Jordan Crouse9fe757b2006-10-04 18:48:57 +100060
61 To compile this driver as a module, choose M here: the module
62 will be called geode-aes.
63
Martin Schwidefsky61d48c22007-05-10 15:46:00 +020064config ZCRYPT
65 tristate "Support for PCI-attached cryptographic adapters"
66 depends on S390
67 select ZCRYPT_MONOLITHIC if ZCRYPT="y"
68 default "m"
69 help
70 Select this option if you want to use a PCI-attached cryptographic
71 adapter like:
72 + PCI Cryptographic Accelerator (PCICA)
73 + PCI Cryptographic Coprocessor (PCICC)
74 + PCI-X Cryptographic Coprocessor (PCIXCC)
75 + Crypto Express2 Coprocessor (CEX2C)
76 + Crypto Express2 Accelerator (CEX2A)
77
78config ZCRYPT_MONOLITHIC
79 bool "Monolithic zcrypt module"
80 depends on ZCRYPT="m"
81 help
82 Select this option if you want to have a single module z90crypt.ko
83 that contains all parts of the crypto device driver (ap bus,
84 request router and all the card drivers).
85
Jan Engelhardtb5114312007-07-15 23:39:36 -070086endif # CRYPTO_HW