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,
...