diff options
author | Michal Ludvig <michal@logix.cz> | 2006-08-06 08:46:20 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:40:21 -0400 |
commit | 1191f0a49390caf16f4a2831a4fc373757471ad6 (patch) | |
tree | 8b92255ab82b777feade49a68cc0dc9691f1c665 /drivers/crypto/Kconfig | |
parent | b14cdd6704c96474ba5c74b5959487beaa5ee1cd (diff) |
[CRYPTO] padlock: Get rid of padlock-generic.c
Merge padlock-generic.c into padlock-aes.c and compile
AES as a standalone module. We won't make a monolithic
padlock.ko with all supported algorithms, instead we'll
compile each driver into its own module.
Signed-off-by: Michal Ludvig <michal@logix.cz>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/Kconfig')
-rw-r--r-- | drivers/crypto/Kconfig | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index ba23683ab8c4..d260c86218fa 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig | |||
@@ -1,24 +1,30 @@ | |||
1 | menu "Hardware crypto devices" | 1 | menu "Hardware crypto devices" |
2 | 2 | ||
3 | config CRYPTO_DEV_PADLOCK | 3 | config CRYPTO_DEV_PADLOCK |
4 | tristate "Support for VIA PadLock ACE" | 4 | bool "Support for VIA PadLock ACE" |
5 | depends on X86_32 | 5 | depends on X86_32 |
6 | select CRYPTO_ALGAPI | 6 | select CRYPTO_ALGAPI |
7 | default y | ||
7 | help | 8 | help |
8 | Some VIA processors come with an integrated crypto engine | 9 | Some VIA processors come with an integrated crypto engine |
9 | (so called VIA PadLock ACE, Advanced Cryptography Engine) | 10 | (so called VIA PadLock ACE, Advanced Cryptography Engine) |
10 | that provides instructions for very fast {en,de}cryption | 11 | that provides instructions for very fast cryptographic |
11 | with some algorithms. | 12 | operations with supported algorithms. |
12 | 13 | ||
13 | The instructions are used only when the CPU supports them. | 14 | The instructions are used only when the CPU supports them. |
14 | Otherwise software encryption is used. If you are unsure, | 15 | Otherwise software encryption is used. If you are unsure, |
15 | say Y. | 16 | say Y. |
16 | 17 | ||
17 | config CRYPTO_DEV_PADLOCK_AES | 18 | config CRYPTO_DEV_PADLOCK_AES |
18 | bool "Support for AES in VIA PadLock" | 19 | tristate "PadLock driver for AES algorithm" |
19 | depends on CRYPTO_DEV_PADLOCK | 20 | depends on CRYPTO_DEV_PADLOCK |
20 | default y | 21 | default m |
21 | help | 22 | help |
22 | Use VIA PadLock for AES algorithm. | 23 | Use VIA PadLock for AES algorithm. |
23 | 24 | ||
25 | Available in VIA C3 and newer CPUs. | ||
26 | |||
27 | If unsure say M. The compiled module will be | ||
28 | called padlock-aes.ko | ||
29 | |||
24 | endmenu | 30 | endmenu |