classpathx-crypto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-crypto] PATCH: NIST cipher tester


From: Casey Marshall
Subject: [Classpathx-crypto] PATCH: NIST cipher tester
Date: Mon, 17 Jun 2002 16:01:28 -0700 (PDT)

Hello,

I've put together a (fairly simple) cipher testing program that will read
in the standard test vector files that the NIST AES submissions required;
all that is involved in testing an algorithm foo with a 128 bit block size
is putting all the test vectors in a directory `tv/foo-128', then
instantiating the class test.cipher.NISTCipherTest. The class loads test
files with the `getResource' method of java.lang.Class, so the vector
files can simply be put into gnu-crypto-test.jar.

The patch only adds the class itself, and updates the build scripts and
test.cipher.AllTests. I didn't include the test files for the three AES
submitted ciphers in Classpathx, because they're probably far too big for
this mailing list.

I've also noted that in the file `Makefile.in' there is a line that says
`gnu/crypto/mac/UMash32.java' which I'm guessing should have read
`gnu/crypto/mac/UMac32.java'.

Cheers,

-- 
Casey Marshall < address@hidden > http://metastatic.org/

Attachment: patch-test
Description: NIST cipher test patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]