diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-10-05 04:42:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:49 -0400 |
commit | c5a511f1cd6f90a98ad11dd97e2313c7c787deb2 (patch) | |
tree | 209dc01d7dc32ae00563ee81ee4df98118f95f1c /crypto | |
parent | 7607bd8ff03b8af5af887931318cb2bb20361856 (diff) |
[CRYPTO] des: Rename des to des-generic
Loading the crypto algorithm by the alias instead of by module directly
has the advantage that all possible implementations of this algorithm
are loaded automatically and the crypto API can choose the best one
depending on its priority.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Makefile | 2 | ||||
-rw-r--r-- | crypto/des_generic.c (renamed from crypto/des.c) | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index e96a07e16bf2..a624cbc188fc 100644 --- a/crypto/Makefile +++ b/crypto/Makefile | |||
@@ -33,7 +33,7 @@ obj-$(CONFIG_CRYPTO_PCBC) += pcbc.o | |||
33 | obj-$(CONFIG_CRYPTO_LRW) += lrw.o | 33 | obj-$(CONFIG_CRYPTO_LRW) += lrw.o |
34 | obj-$(CONFIG_CRYPTO_XTS) += xts.o | 34 | obj-$(CONFIG_CRYPTO_XTS) += xts.o |
35 | obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o | 35 | obj-$(CONFIG_CRYPTO_CRYPTD) += cryptd.o |
36 | obj-$(CONFIG_CRYPTO_DES) += des.o | 36 | obj-$(CONFIG_CRYPTO_DES) += des_generic.o |
37 | obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o | 37 | obj-$(CONFIG_CRYPTO_FCRYPT) += fcrypt.o |
38 | obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o | 38 | obj-$(CONFIG_CRYPTO_BLOWFISH) += blowfish.o |
39 | obj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o | 39 | obj-$(CONFIG_CRYPTO_TWOFISH) += twofish.o |
diff --git a/crypto/des.c b/crypto/des_generic.c index 1df3a714fa47..59966d14b8e0 100644 --- a/crypto/des.c +++ b/crypto/des_generic.c | |||
@@ -1009,3 +1009,4 @@ module_exit(fini); | |||
1009 | MODULE_LICENSE("GPL"); | 1009 | MODULE_LICENSE("GPL"); |
1010 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); | 1010 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); |
1011 | MODULE_AUTHOR("Dag Arne Osvik <da@osvik.no>"); | 1011 | MODULE_AUTHOR("Dag Arne Osvik <da@osvik.no>"); |
1012 | MODULE_ALIAS("des"); | ||