Differences From Artifact [58d145302d]:
- File tests/test_vectors/Hash/SHA256ShortMsg.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: 20752) [annotate] [blame] [check-ins using]
To Artifact [3c579310ba]:
- File tests/test_vectors/Hash/SHA256ShortMsg.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: 20793) [annotate] [blame] [check-ins using]
︙ | |||
390 391 392 393 394 395 396 | 390 391 392 393 394 395 396 397 398 399 | + + + | tcltest::test Hash_SHA256-2.65 {SHA256ShortMsg} \ -constraints SHA256 \ -setup {set data [binary decode hex 5a86b737eaea8ee976a0a24da63e7ed7eefad18a101c1211e2b3650c5187c2a8a650547208251f6d4237e661c7bf4c77f335390394c37fa1a9f9be836ac28509]} \ -body {tls::digest -digest SHA256 -data $data} \ -match exact -result 42e61e174fbb3897d6dd6cef3dd2802fe67b331953b06114a65c772859dfc1aa # Cleanup ::tcltest::cleanupTests return |