84ebfcc1ffb45ef8b89550dd05146975753d97ad
[safe/jmp/linux-2.6] / drivers / crypto / Kconfig
1
2 menuconfig CRYPTO_HW
3         bool "Hardware crypto devices"
4         default y
5
6 if CRYPTO_HW
7
8 config CRYPTO_DEV_PADLOCK
9         tristate "Support for VIA PadLock ACE"
10         depends on X86_32
11         select CRYPTO_ALGAPI
12         default m
13         help
14           Some VIA processors come with an integrated crypto engine
15           (so called VIA PadLock ACE, Advanced Cryptography Engine)
16           that provides instructions for very fast cryptographic
17           operations with supported algorithms.
18           
19           The instructions are used only when the CPU supports them.
20           Otherwise software encryption is used.
21
22 config CRYPTO_DEV_PADLOCK_AES
23         tristate "PadLock driver for AES algorithm"
24         depends on CRYPTO_DEV_PADLOCK
25         select CRYPTO_BLKCIPHER
26         default m
27         help
28           Use VIA PadLock for AES algorithm.
29
30           Available in VIA C3 and newer CPUs.
31
32           If unsure say M. The compiled module will be
33           called padlock-aes.ko
34
35 config 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
49 source "arch/s390/crypto/Kconfig"
50
51 config CRYPTO_DEV_GEODE
52         tristate "Support for the Geode LX AES engine"
53         depends on X86_32 && PCI
54         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
59           engine for the CryptoAPI AES algorithm.
60
61           To compile this driver as a module, choose M here: the module
62           will be called geode-aes.
63
64 config 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
78 config 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
86 endif # CRYPTO_HW