SPB Git

Repository Public

README.txt 3.4 KB 54 lines text

1Test vectors for QyvoraSymmetric2================================341. NIST ACVP (unmodified)56acvp-sha2-256.json.gz   NIST ACVP-Server  gen-val/json-files/SHA2-256-1.0/internalProjection.json7acvp-sha2-512.json.gz   NIST ACVP-Server  gen-val/json-files/SHA2-512-1.0/internalProjection.json89Source      https://github.com/usnistgov/ACVP-Server10Revision    c719d09ba78c58c8a2083f0967c23fafb2e088bc (ACVP_SERVER_REV, retrieved 2026-12-03)11Copied from spb-quantum-crypto/tests/kat/acvp/<algorithm>/internalProjection.json.gz on 2026-12-0412            (see that repository's tests/kat/README.md); byte-for-byte the NIST files, gzip-compressed13            (gzip -9), renamed here so that each has a distinct name.14Licence     NIST-developed software/data, public domain in the United States (17 U.S.C. §105).151604f80ade157977f9240b213d469b6769999fc7ab875da115312429b7b25b9be3  acvp-sha2-256.json.gz17d78fef08ce772b1697e942a663e0321cf09ef474f80f93729a71ab55dcd52645  acvp-sha2-512.json.gz18192. NIST CAVP AES-GCM (converted, values unmodified)2021cavp-gcm256-encrypt.json.gz  from gcmEncryptExtIV256.rsp (CAVS 14.0, generated 2012-08-31)22cavp-gcm256-decrypt.json.gz  from gcmDecrypt256.rsp      (CAVS 14.0, generated 2012-08-31)2324Source      https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/mac/gcmtestvectors.zip25            retrieved 2026-12-04, SHA-256 f9fc479e134cde2980b3bb7cddbcb567b2cd96fd753835243ed067699f26a02326Conversion  tools/convert-gcm.py: the .rsp text is rewritten as JSON; only the tests with a full27            128-bit tag are kept (1125 of 7875 per file: IV lengths 8, 96 and 1024 bits). Hex values are28            copied without change; "pass": false marks the decrypt tests answered FAIL by NIST.29Licence     NIST data, public domain in the United States (17 U.S.C. §105).30313. GCM specification (converted, values unmodified)3233gcm-spec-vectors.json.gz  D. McGrew, J. Viega, "The Galois/Counter Mode of Operation (GCM)", Appendix B,34                          test cases 1 to 18 (AES-128, AES-192, AES-256; IV of 96, 64 and 480 bits).35Source      gcm-spec.pdf, retrieved 2026-12-04 from36            https://csrc.nist.rip/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-spec.pdf37            (archive of the NIST "proposed modes" page), SHA-25638            8cec9d63d2e28400773fff488c7aa9fcecb9636d50d994baca3cc025aa23df9539Conversion  pdftotext -layout, then tools/convert-gcm.py (fields K, P, A, IV, C, T only).40Licence     Test values of a specification submitted to NIST; reproduced for interoperability testing.41424. RFC 8439 (converted, values unmodified)4344rfc8439-vectors.json.gz  hex dumps of RFC 8439 sections 2.3.2 to 2.8.2 and Appendix A (A.1 to A.5).45Source      https://www.rfc-editor.org/rfc/rfc8439.txt, retrieved 2026-12-04, SHA-25646            25bef70fbf7a07ff45c2fe4cb7c6ce954eac687413d8610603268b4e4415324c47Conversion  tools/extract-rfc8439.py (hex dumps keyed by the label that precedes them).48Licence     IETF Trust; code components and test vectors of RFCs are reproduced under the IETF Trust49            Legal Provisions (Revised BSD for code components).5051Vectors written directly in the test sources: RFC 5869 A.1-A.3 (HKDF-SHA-256), RFC 7914 section 1152(PBKDF2-HMAC-SHA-256), RFC 7693 Appendix A and Appendix E (BLAKE2b), RFC 9106 section 5 (Argon2d, Argon2i,53Argon2id), FIPS 197 Appendix C (AES), RFC 8439 A.3 vectors 5 to 11 (Poly1305), RIPEMD-160 reference vectors.54
Files main
Menu

Theme