OpenCores
URL https://opencores.org/ocsvn/aes_crypto_core/aes_crypto_core/trunk

Subversion Repositories aes_crypto_core

[/] [aes_crypto_core/] [trunk/] [doc/] [aes_kat/] [ecb_iv.readme] - Rev 2

Go to most recent revision | Compare with Previous | Blame | View Log

Description of the Intermediate Value Known Answer Test
--------------------------------------------------------

The test encrypts one plaintext with a variable number of rounds.
In ECB encryption mode, the output PTi is the output after the 
initial key addition and i rounds (a round ends with a key
addition). 

As explained in the documentation, in ECB decryption mode 
there are several definitions of a `round' possible. In order
to make visual inspection more intuitive, we output the
intermediate values that correspond with the output of the
encryption mode. 
These values might actually not occur in a practical decryption,
especially in an optimised implementation, where various operations
of different rounds are interchanged.

This explains also why the Java and the C code output different
files for this test.

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.