chiark / gitweb /
symm/rijndael-mktab.c: Produce more round constants.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 5 Jan 2018 04:28:56 +0000 (04:28 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jun 2018 23:51:39 +0000 (00:51 +0100)
commit388489cbb302cb86ee0fd4927243a24525dfd5ee
tree034be89abb589277d93202c45a0c8afcc938e9bb
parent67c3ec710ed0938ea77537deaf9e080873f24248
symm/rijndael-mktab.c: Produce more round constants.

We don't have enough for large blocks and/or small keys.  We need 15*8 =
120 words of keys for 256-bit Rijndael, and if we have only a 32-bit key
then we'll need 120 round constants.  So generate them all.
symm/rijndael-mktab.c