So I've been looking at these test vectors for the Known Answer Test for AES / Rijndael (with 128-bit block) in CBC mode, and I wonder: what kind of padding do they use? PKCS7?
+2
A:
The Zip archive you link to contains a file called katmct.pdf
which describes how the tests are computed. There is no padding; for each test, the data already has the 128-bit length that the algorithm expects.
Thomas Pornin
2010-05-27 14:49:01
In retrospect, this was an RTFM question. Thank you for being kind.
sheepsimulator
2010-06-16 18:48:00