blob: 86c99cd333faeea737efeba0815c37535c75216b [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
Michal Ludvig1191f0a2006-08-06 22:46:20 +100030 default m
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 help
32 Use VIA PadLock for AES algorithm.
33
Michal Ludvig1191f0a2006-08-06 22:46:20 +100034 Available in VIA C3 and newer CPUs.
35
36 If unsure say M. The compiled module will be
37 called padlock-aes.ko
38
Michal Ludvig6c833272006-07-12 12:29:38 +100039config CRYPTO_DEV_PADLOCK_SHA
40 tristate "PadLock driver for SHA1 and SHA256 algorithms"
41 depends on CRYPTO_DEV_PADLOCK
42 select CRYPTO_SHA1
43 select CRYPTO_SHA256
44 default m
45 help
46 Use VIA PadLock for SHA1/SHA256 algorithms.
47
48 Available in VIA C7 and newer processors.
49
50 If unsure say M. The compiled module will be
51 called padlock-sha.ko
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053endmenu