Re: [PATCH] crypto_null autoload

From: Michal Ludvig
Date: Tue Apr 27 2004 - 07:37:41 EST


James Morris told me that:
On Thu, 22 Apr 2004, Michal Ludvig wrote:
the attached patch enables autoload of crypto_null module. Please apply.

It would be nice to also have these for:

alias des3_ede des
alias sha384 sha512

Attached.

Michal Ludvig
--
SUSE Labs mludvig@xxxxxxx | Cray is the only computer
(+420) 296.545.373 http://www.suse.cz | that runs an endless loop
Personal homepage http://www.logix.cz/michal | in just four hours.
diff -upr linux-2.6.5.orig/crypto/des.c linux-2.6.5/crypto/des.c
--- linux-2.6.5.orig/crypto/des.c 2004-04-04 05:38:22.000000000 +0200
+++ linux-2.6.5/crypto/des.c 2004-04-26 13:09:08.847375208 +0200
@@ -1269,6 +1269,8 @@ static struct crypto_alg des3_ede_alg =
.cia_decrypt = des3_ede_decrypt } }
};

+MODULE_ALIAS("des3_ede");
+
static int __init init(void)
{
int ret = 0;
diff -upr linux-2.6.5.orig/crypto/sha512.c linux-2.6.5/crypto/sha512.c
--- linux-2.6.5.orig/crypto/sha512.c 2004-04-04 05:38:18.000000000 +0200
+++ linux-2.6.5/crypto/sha512.c 2004-04-26 13:09:45.647780696 +0200
@@ -348,6 +348,8 @@ static struct crypto_alg sha384 = {
}
};

+MODULE_ALIAS("sha384");
+
static int __init init(void)
{
int ret = 0;