Differences From Artifact [1fafb9cc50]:
- File tests/test_vectors/Hash/SM3.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: 1791) [annotate] [blame] [check-ins using]
To Artifact [7ee5f4974a]:
- File tests/test_vectors/Hash/SM3.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: 1832) [annotate] [blame] [check-ins using]
︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 | + + + | tcltest::test Hash_SM3-1.6 {SM3} \ -constraints SM3 \ -setup {set data "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"} \ -body {tls::digest -digest SM3 -data $data} \ -match exact -result b965764c8bebb091c7602b74afd34eefb531dccb4e0076d9b7cd813199b45971 # Cleanup ::tcltest::cleanupTests return |