I am trying to do an AES CBC Monte Carlo Test according to the pseudocode
described in section
6.4.2 (pages 8 & 9) of this NIST document:
http://csrc.nist.gov/groups/STM/cavp/documents/aes/AESAVS.pdf
According to my reading, the first iteration should be a simple encryption
of the key, IV, and PT. Yet, I can't get even my first iteration to match
the sample output in the PDF! I know my algorithm is working because it
is passing all the other tests in the PDF. I am clearly misunderstanding
something about the Monte Carlo CBC pseudocode.
Can someone shed any light on what I might be doing wrong, even for the
first iteration?
Thanks.