diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-09 19:05:24 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-09 19:05:24 +0300 |
commit | 9c74535b3829bea94e6a358d66e83477b9445f67 (patch) | |
tree | cdc0bce2a3779678c9b14bdc6d99d04e1abe0fe4 /test/README.md | |
parent | test/800-38a.py: get rid of unittest (diff) | |
download | aes-tools-9c74535b3829bea94e6a358d66e83477b9445f67.tar.gz aes-tools-9c74535b3829bea94e6a358d66e83477b9445f67.zip |
add KAT vectors from the CAVP
Diffstat (limited to '')
-rw-r--r-- | test/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md index fd0f37c..69058be 100644 --- a/test/README.md +++ b/test/README.md @@ -56,3 +56,22 @@ using python 800-32a.py -r C:\build\test\Debug -e The script writes a log file, with a short summary at the end. + +### From Cryptographic Algorithm Validation Program + +You can test the implementation against the vectors from +[CAVP](http://csrc.nist.gov/groups/STM/cavp/) using `cavp.py`. +The AES Known Answer Test (KAT) Vectors are used and included in `KAT_AES.zip`. + +The script is written in Python 3, so you need to be able to run Python 3 scripts prior to testing. +Then you can run the script, passing the path to the directory with the required `*_encrypt.exe` and `*_decrypt.exe` files like this: + + python cavp.py -r C:\build\test\Debug + +On older CPUs, you can make the script run the executables +[using Intel SDE](https://github.com/egor-tensin/aesni#running-on-older-cpus) +using + + python cavp.py -r C:\build\test\Debug -e + +The script writes a log file, with a short summary at the end. |