aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-09 19:05:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-09 19:05:24 +0300
commit9c74535b3829bea94e6a358d66e83477b9445f67 (patch)
treecdc0bce2a3779678c9b14bdc6d99d04e1abe0fe4 /test/README.md
parenttest/800-38a.py: get rid of unittest (diff)
downloadaes-tools-9c74535b3829bea94e6a358d66e83477b9445f67.tar.gz
aes-tools-9c74535b3829bea94e6a358d66e83477b9445f67.zip
add KAT vectors from the CAVP
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md19
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.