aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/nist.py
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-23 11:47:46 +0200
committerEgor Tensin <egor@tensin.name>2026-06-23 11:47:46 +0200
commit71afcbd6d59307b039ff02c7c2fd152fc6bfcec5 (patch)
tree4ef50fcbdf43e1fdafb4f80dfc4af5f0a5df989d /test/nist.py
parentaesxx/utils: add tests for *_bmp utils (diff)
downloadaes-tools-71afcbd6d59307b039ff02c7c2fd152fc6bfcec5.tar.gz
aes-tools-71afcbd6d59307b039ff02c7c2fd152fc6bfcec5.zip
test: add comments with sources
Diffstat (limited to 'test/nist.py')
-rwxr-xr-xtest/nist.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nist.py b/test/nist.py
index 274cbbc..d9b0477 100755
--- a/test/nist.py
+++ b/test/nist.py
@@ -13,6 +13,9 @@ import sys
from toolkit import Algorithm, BlockInput, Mode, Tools
+# The data is from "Example Vectors for Modes of Operation of the AES":
+# https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf
+
_TEST_PLAINTEXTS = [
"6bc1bee22e409f96e93d7e117393172a",
"ae2d8a571e03ac9c9eb76fac45af8e51",