Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Hardware crypto devices" |
| 2 | |
| 3 | config CRYPTO_DEV_PADLOCK |
Michal Ludvig | 5644bda | 2006-08-06 22:50:30 +1000 | [diff] [blame^] | 4 | tristate "Support for VIA PadLock ACE" |
Herbert Xu | cce9e06 | 2006-08-21 21:08:13 +1000 | [diff] [blame] | 5 | depends on X86_32 |
| 6 | select CRYPTO_ALGAPI |
Michal Ludvig | 5644bda | 2006-08-06 22:50:30 +1000 | [diff] [blame^] | 7 | default m |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | help |
| 9 | Some VIA processors come with an integrated crypto engine |
| 10 | (so called VIA PadLock ACE, Advanced Cryptography Engine) |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 11 | that provides instructions for very fast cryptographic |
| 12 | operations with supported algorithms. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | The instructions are used only when the CPU supports them. |
Michal Ludvig | 5644bda | 2006-08-06 22:50:30 +1000 | [diff] [blame^] | 15 | 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | config CRYPTO_DEV_PADLOCK_AES |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 28 | tristate "PadLock driver for AES algorithm" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | depends on CRYPTO_DEV_PADLOCK |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 30 | default m |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | help |
| 32 | Use VIA PadLock for AES algorithm. |
| 33 | |
Michal Ludvig | 1191f0a | 2006-08-06 22:46:20 +1000 | [diff] [blame] | 34 | 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 Ludvig | 6c83327 | 2006-07-12 12:29:38 +1000 | [diff] [blame] | 39 | config 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | endmenu |