3

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?

J. Polfer
  • 12,251
  • 10
  • 54
  • 83

1 Answers1

3

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
  • 72,986
  • 14
  • 147
  • 189