Re: [CRYPTO] Testing Module Cleanup.

From: kartikey bhatt
Date: Sun Oct 05 2003 - 13:07:10 EST


done it.
sending it as an attachment.

- Kartikey Mahendra Bhatt


From: James Morris <jmorris@xxxxxxxxxx>
To: kartikey bhatt <kartik_me@xxxxxxxxxxx>
CC: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [CRYPTO] Testing Module Cleanup.
Date: Thu, 2 Oct 2003 10:35:09 -0400 (EDT)

On Thu, 2 Oct 2003, kartikey bhatt wrote:

> sending it as an attachment
>

I'm seeing a failure with the 5th DES ECB test vector:

testing des ECB encryption
[...]
test 5 (64 bit key):
5630092f0161d576
fail

Could you also retain the weak key test for DES? Just add another field
to the test vector struct to indicate that CRYPTO_TFM_REQ_WEAK_KEY needs
to be set prior to setkey(), then clear it after the test. (Once you do
this the above test vector should fail anyway, which is probably why it
is buggy -- it's never been run).

Also, a minor nit: please be careful about this kind of thing:

- * Copyright (c) 2002 Jean-Francois Dive <jef@xxxxxxxxxxx>$
+ * Copyright (c) 2002 Jean-Francois Dive <jef@xxxxxxxxxxx> ^I$


Otherwise, it looks good.

Thanks,


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

_________________________________________________________________
MSN Hotmail now on your Mobile phone. http://server1.msn.co.in/sp03/mobilesms/ Click here.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/