2007-12-03 22:38:00

by Tan Swee Heng

[permalink] [raw]
Subject: [PATCH 2/2] tcrypt.h: Salsa20 large test vector

This is a large test vector for Salsa20 that crosses the 4096-bytes
page boundary.

Signed-off-by: Tan Swee Heng <[email protected]>

Note: The test vector is generated using a C++ program calling
Crypto++. Again we have assumed that the Crypto++ implementation is
sufficiently different from ours to make this a meaningful test. (If
they came from the same code base, they may have the same bugs.)


Attachments:
(No filename) (403.00 B)
patch2-large_vector.txt (53.12 kB)
Download all attachments

2007-12-07 08:43:20

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 2/2] tcrypt.h: Salsa20 large test vector

On Tue, Dec 04, 2007 at 06:37:59AM +0800, Tan Swee Heng wrote:
> This is a large test vector for Salsa20 that crosses the 4096-bytes
> page boundary.
>
> Signed-off-by: Tan Swee Heng <[email protected]>

Both patches applied. Thanks a lot!

BTW, I had to fix a couple of white space errors in the second
patch:

$ git apply --check --whitespace=error-all ~/p
Adds trailing whitespace.
/export/home/herbert/p:544: 0x00, 0x21, 0x42, 0x63,
Adds trailing whitespace.
/export/home/herbert/p:1060: 0xaf, 0xdf, 0x11, 0x95,
fatal: 2 lines add trailing whitespaces.
$

So please try this command yourself in future.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt