blob: adb554153f672a48d2d4d9f711513ef93d5ce9c8 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070054endmenu