blob: f4c634504d1adac8ae847e95d5970bec6f3a3ead [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Hardware crypto devices"
2
3config CRYPTO_DEV_PADLOCK
Simon Arlottf6259de2007-05-02 22:08:26 +10004 bool "Support for VIA PadLock ACE"
Herbert Xucce9e062006-08-21 21:08:13 +10005 depends on X86_32
6 select CRYPTO_ALGAPI
Simon Arlottf6259de2007-05-02 22:08:26 +10007 default y
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070017config CRYPTO_DEV_PADLOCK_AES
Michal Ludvig1191f0a2006-08-06 22:46:20 +100018 tristate "PadLock driver for AES algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 depends on CRYPTO_DEV_PADLOCK
Herbert Xu28ce7282006-08-21 21:38:42 +100020 select CRYPTO_BLKCIPHER
Michal Ludvig1191f0a2006-08-06 22:46:20 +100021 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 help
23 Use VIA PadLock for AES algorithm.
24
Michal Ludvig1191f0a2006-08-06 22:46:20 +100025 Available in VIA C3 and newer CPUs.
26
27 If unsure say M. The compiled module will be
28 called padlock-aes.ko
29
Michal Ludvig6c833272006-07-12 12:29:38 +100030config CRYPTO_DEV_PADLOCK_SHA
31 tristate "PadLock driver for SHA1 and SHA256 algorithms"
32 depends on CRYPTO_DEV_PADLOCK
33 select CRYPTO_SHA1
34 select CRYPTO_SHA256
35 default m
36 help
37 Use VIA PadLock for SHA1/SHA256 algorithms.
38
39 Available in VIA C7 and newer processors.
40
41 If unsure say M. The compiled module will be
42 called padlock-sha.ko
43
Jan Glauber1b278292007-02-05 21:18:22 +010044source "arch/s390/crypto/Kconfig"
45
Jordan Crouse9fe757b2006-10-04 18:48:57 +100046config CRYPTO_DEV_GEODE
47 tristate "Support for the Geode LX AES engine"
Simon Arlottf6259de2007-05-02 22:08:26 +100048 depends on X86_32 && PCI
Jordan Crouse9fe757b2006-10-04 18:48:57 +100049 select CRYPTO_ALGAPI
50 select CRYPTO_BLKCIPHER
51 default m
52 help
53 Say 'Y' here to use the AMD Geode LX processor on-board AES
David Sterba3dde6ad2007-05-09 07:12:20 +020054 engine for the CryptoAPI AES algorithm.
Jordan Crouse9fe757b2006-10-04 18:48:57 +100055
56 To compile this driver as a module, choose M here: the module
57 will be called geode-aes.
58
Linus Torvalds1da177e2005-04-16 15:20:36 -070059endmenu