blob: 910c715325be444ae1f88feca39cc250fd88ea1c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Hardware crypto devices"
2
3config CRYPTO_DEV_PADLOCK
Michal Ludvig1191f0a2006-08-06 22:46:20 +10004 bool "Support for VIA PadLock ACE"
Herbert Xucce9e062006-08-21 21:08:13 +10005 depends on X86_32
6 select CRYPTO_ALGAPI
Michal Ludvig1191f0a2006-08-06 22:46:20 +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.
15 Otherwise software encryption is used. If you are unsure,
16 say Y.
17
18config CRYPTO_DEV_PADLOCK_AES
Michal Ludvig1191f0a2006-08-06 22:46:20 +100019 tristate "PadLock driver for AES algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070020 depends on CRYPTO_DEV_PADLOCK
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070044endmenu