blob: ff8c4beaace41577ad384a171a63966e992b01e0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Hardware crypto devices"
2
3config CRYPTO_DEV_PADLOCK
Michal Ludvig5644bda2006-08-06 22:50:30 +10004 tristate "Support for VIA PadLock ACE"
Herbert Xucce9e062006-08-21 21:08:13 +10005 depends on X86_32
6 select CRYPTO_ALGAPI
Michal Ludvig5644bda2006-08-06 22:50:30 +10007 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 help
9 Some VIA processors come with an integrated crypto engine
10 (so called VIA PadLock ACE, Advanced Cryptography Engine)
Michal Ludvig1191f0a2006-08-06 22:46:20 +100011 that provides instructions for very fast cryptographic
12 operations with supported algorithms.
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14 The instructions are used only when the CPU supports them.
Michal Ludvig5644bda2006-08-06 22:50:30 +100015 Otherwise software encryption is used.
16
17 Selecting M for this option will compile a helper module
18 padlock.ko that should autoload all below configured
19 algorithms. Don't worry if your hardware does not support
20 some or all of them. In such case padlock.ko will
21 simply write a single line into the kernel log informing
22 about its failure but everything will keep working fine.
23
24 If you are unsure, say M. The compiled module will be
25 called padlock.ko
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27config 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"
Randy Dunlap9080d0a2006-12-10 02:19:00 -080058 depends on CRYPTO && 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
64 engine for the CryptoAPI AES alogrithm.
65
66 To compile this driver as a module, choose M here: the module
67 will be called geode-aes.
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069endmenu