Skip to contentSkip to conversation

crypto_null autoload

PATCH Applied Michal Ludvig 3 participants 4 messages Apr 22, 2004 – Apr 27, 2004 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto_null autoload

Hi,

the attached patch enables autoload of crypto_null module. Please apply.

Michal Ludvig

Signature · 3 lines
SUSE Labs                    [email protected]
(+420) 296.545.373        http://www.suse.cz
Personal homepage http://www.logix.cz/michal
crypto/crypto_null.c +4 -0
@@ -94,6 +94,10 @@
 	.cia_decrypt		=	null_decrypt } }
 };
 
+MODULE_ALIAS("compress_null");
+MODULE_ALIAS("digest_null");
+MODULE_ALIAS("cipher_null");
+
 static int __init init(void)
 {
 	int ret = 0;
#1 lore raw
Quoted 3 lines · Michal Ludvig

Hi,

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

- James

Signature · 2 lines
James Morris
<[email protected]>
#2 lore raw

James Morris told me that:

Quoted 7 lines · Michal Ludvig
Quoted 1 line

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

Signature · 3 lines
SUSE Labs                    [email protected] | 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.
crypto/des.c +2 -0
diff -upr linux-2.6.5.orig/crypto/des.c linux-2.6.5/crypto/des.c
@@ -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;
crypto/sha512.c +2 -0
diff -upr linux-2.6.5.orig/crypto/sha512.c linux-2.6.5/crypto/sha512.c
@@ -348,6 +348,8 @@ static struct crypto_alg sha384 = {
         }
 };
 
+MODULE_ALIAS("sha384");
+
 static int __init init(void)
 {
         int ret = 0;
#3 lore raw
Quoted 6 lines · On Tue, 27 Apr 2004 14:36:56 +0200 Michal Ludvig <[email protected]> wrote:
Quoted 4 lines

It would be nice to also have these for:

alias des3_ede des
alias sha384 sha512

Attached.

Applied, thanks.