symm/t/rijndael256: Add tests for small key sizes.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 31 Oct 2018 13:47:47 +0000 (13:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 24 Nov 2018 20:12:43 +0000 (20:12 +0000)
commitf76d6e478c64030aee5e03c2eebdb802f9e48ca9
treeaa81ba60f6818ae7d5dabae91e4dd5487c471b71
parentc90ce6bb395bac18afa5b189e4664151d4d8ea2c
symm/t/rijndael256: Add tests for small key sizes.

Commit 388489cbb302cb86ee0fd4927243a24525dfd5ee (released in 2.4.2)
added more round constants so that we give the correct answers for
large-block Rijndael with small keys -- and this works fine for clean
builds.  Unfortunately, Catacomb's build system doesn't regenerate
recomputed tables automatically (and that would anyway be a problem for
cross builds), which means that old working trees will still be building
broken code.

Add some tests so that developers notice and hopefully rebuild the
offending tables.
symm/t/rijndael256