Skip to contentSkip to conversation

Testing Module Cleanup.

CRYPTO kartikey bhatt 1 participant 1 message Oct 5, 2003

lore
Share & tools
lore
#0 lore raw

done it.
sending it as an attachment.

- Kartikey Mahendra Bhatt

Quoted 42 lines

From: James Morris <[email protected]>
To: kartikey bhatt <[email protected]>
CC: [email protected]
Subject: Re: [CRYPTO] Testing Module Cleanup.
Date: Thu, 2 Oct 2003 10:35:09 -0400 (EDT)

Quoted 2 lines · kartikey bhatt

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 <[email protected]>$
+ * Copyright (c) 2002 Jean-Francois Dive <[email protected]> ^I$

Otherwise, it looks good.

Thanks,

- James
--
James Morris
<[email protected]>

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
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.