public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto_null autoload
@ 2004-04-22 21:17 Michal Ludvig
  2004-04-23 14:06 ` James Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Ludvig @ 2004-04-22 21:17 UTC (permalink / raw)
  To: David S. Miller, James Morris; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

Hi,

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

Michal Ludvig
-- 
SUSE Labs                    mludvig@suse.cz
(+420) 296.545.373        http://www.suse.cz
Personal homepage http://www.logix.cz/michal

[-- Attachment #2: kernel-cryptonull.diff --]
[-- Type: text/plain, Size: 353 bytes --]

--- linux-2.6.5.orig/crypto/crypto_null.c	2004-04-04 05:36:58.000000000 +0200
+++ linux-2.6.5/crypto/crypto_null.c	2004-04-22 22:47:22.323413336 +0200
@@ -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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto_null autoload
  2004-04-22 21:17 [PATCH] crypto_null autoload Michal Ludvig
@ 2004-04-23 14:06 ` James Morris
  2004-04-27 12:36   ` Michal Ludvig
  0 siblings, 1 reply; 4+ messages in thread
From: James Morris @ 2004-04-23 14:06 UTC (permalink / raw)
  To: Michal Ludvig; +Cc: David S. Miller, linux-kernel

On Thu, 22 Apr 2004, Michal Ludvig wrote:

> 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
-- 
James Morris
<jmorris@redhat.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto_null autoload
  2004-04-23 14:06 ` James Morris
@ 2004-04-27 12:36   ` Michal Ludvig
  2004-04-27 17:26     ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Ludvig @ 2004-04-27 12:36 UTC (permalink / raw)
  To: James Morris; +Cc: David S. Miller, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

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@suse.cz | 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.

[-- Attachment #2: kernel-crypto-autoload-des+sha.diff --]
[-- Type: text/plain, Size: 754 bytes --]

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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] crypto_null autoload
  2004-04-27 12:36   ` Michal Ludvig
@ 2004-04-27 17:26     ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2004-04-27 17:26 UTC (permalink / raw)
  To: Michal Ludvig; +Cc: jmorris, linux-kernel

On Tue, 27 Apr 2004 14:36:56 +0200
Michal Ludvig <mludvig@suse.cz> wrote:

> > It would be nice to also have these for:
> > 
> > alias des3_ede des
> > alias sha384 sha512
> 
> Attached.

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-27 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-22 21:17 [PATCH] crypto_null autoload Michal Ludvig
2004-04-23 14:06 ` James Morris
2004-04-27 12:36   ` Michal Ludvig
2004-04-27 17:26     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox