-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
Michal Ludvig
authored and
Herbert Xu
committed
Sep 21, 2006
1 parent
b14cdd6
commit 1191f0a
Showing
4 changed files
with
42 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
menu "Hardware crypto devices" | ||
|
||
config CRYPTO_DEV_PADLOCK | ||
tristate "Support for VIA PadLock ACE" | ||
bool "Support for VIA PadLock ACE" | ||
depends on X86_32 | ||
select CRYPTO_ALGAPI | ||
default y | ||
help | ||
Some VIA processors come with an integrated crypto engine | ||
(so called VIA PadLock ACE, Advanced Cryptography Engine) | ||
that provides instructions for very fast {en,de}cryption | ||
with some algorithms. | ||
that provides instructions for very fast cryptographic | ||
operations with supported algorithms. | ||
|
||
The instructions are used only when the CPU supports them. | ||
Otherwise software encryption is used. If you are unsure, | ||
say Y. | ||
|
||
config CRYPTO_DEV_PADLOCK_AES | ||
bool "Support for AES in VIA PadLock" | ||
tristate "PadLock driver for AES algorithm" | ||
depends on CRYPTO_DEV_PADLOCK | ||
default y | ||
default m | ||
help | ||
Use VIA PadLock for AES algorithm. | ||
|
||
Available in VIA C3 and newer CPUs. | ||
|
||
If unsure say M. The compiled module will be | ||
called padlock-aes.ko | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
|
||
obj-$(CONFIG_CRYPTO_DEV_PADLOCK) += padlock.o | ||
|
||
padlock-objs-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o | ||
|
||
padlock-objs := padlock-generic.o $(padlock-objs-y) | ||
|
||
obj-$(CONFIG_CRYPTO_DEV_PADLOCK_AES) += padlock-aes.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.