Differences From Artifact [1ebfc3935e]:
- File tests/test_vectors/Hash/SHA256.test — part of check-in [25db067636] at 2023-12-19 05:53:21 on branch crypto — Added test vectors files for hash functions. Added test files and make script to generate TCL test cases from test vector files. These files come from NIST, IETC, etc. documents, examples, etc. (user: bohagan, size: 7156) [annotate] [blame] [check-ins using]
To Artifact [e73af40184]:
- File tests/test_vectors/Hash/SHA256.test — part of check-in [feef0d0cef] at 2023-12-24 06:36:24 on branch crypto — Added MAC test vectors. Added all.tcl files to each test subdirectory so all tests run. Updated Hash and KDF test vectors to add missing cleanupTests. Corrected bug with using dash in constraints. Added constraints for ciphers, digests, and kdfs. (user: bohagan, size: 7197) [annotate] [blame] [check-ins using]
︙ | |||
150 151 152 153 154 155 156 | 150 151 152 153 154 155 156 157 158 159 | + + + | tcltest::test Hash_SHA256-1.25 {SHA256} \ -constraints SHA256 \ -setup {set data [binary decode hex 8326754e2277372f4fc12b20527afef04d8a056971b11ad57123a7c137760000d7bef6f3c1f7a9083aa39d810db310777dab8b1e7f02b84a26c773325f8b2374de7a4b5a58cb5c5cf35bcee6fb946e5bd694fa593a8beb3f9d6592ecedaa66ca82a29d0c51bcf9336230e5d784e4c0a43f8d79a30a165cbabe452b774b9c7109a97d138f129228966f6c0adc106aad5a9fdd30825769b2c671af6759df28eb393d54d6]} \ -body {tls::digest -digest SHA256 -data $data} \ -match exact -result 97dbca7df46d62c8a422c941dd7e835b8ad3361763f7e9b2d95f4f0da6e1ccbc # Cleanup ::tcltest::cleanupTests return |