On Thu, May 22, 2008 at 08:03:00AM +0800, Herbert Xu wrote: > On Wed, May 21, 2008 at 04:09:38PM -0400, Neil Horman wrote: > > Patch to add checking of DES3 test vectors using CBC mode. FIPS-1402-2 > > compliance mandates that any supported mode of oepration must include a self > > test. This satisfies that requirement for cbc(des_ebe). Tested successfully by > > me > > Sorry but this makes no sense. The test vectors you're feeding > into it are only one block long. For a single block (and no IV) > there is no difference between ECB and CBC. So please add some > real CBC test vectors for this. > You're right, it doesn't make any sense. I'm sorry, I'm not sure what I'm thinking. I'll repost when I generate some test vectors. Patch rescinded. Sorry for the noise. Regards Neil > Thanks, > -- > Visit Openswan at http://www.openswan.org/ > Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- /*************************************************** *Neil Horman *nhorman@xxxxxxxxxxxxx *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/ -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html