Differences From Artifact [3a9c3f08a3]:
- File tests/test_vectors/MAC/CMAC-AES-128-CBC.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: 1791) [annotate] [blame] [check-ins using]
To Artifact [d14d6c41f8]:
- File tests/test_vectors/MAC/CMAC-AES-128-CBC.test — part of check-in [8440f589be] at 2024-02-11 21:24:47 on branch crypto — Updated test cases for OpenSSL 3.0. Added load legacy provider for obsolete algorithms. (user: bohagan, size: 1930) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | + + | # Auto generated from "CMAC-AES-128-CBC.txt" lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]] package require tls package require tcltest tcltest::testConstraint CMAC [expr {[lsearch -nocase [tls::macs] CMAC] > -1}] tcltest::testConstraint AES_128_CBC [expr {[lsearch -nocase [tls::ciphers] AES-128-CBC] > -1}] catch {tls::provider legacy} tcltest::test MAC_CMAC-AES-128-CBC-1.1 {CMAC-AES-128-CBC} \ -constraints {CMAC AES_128_CBC} \ -setup {} \ -body {string range [tls::cmac -hex -cipher AES-128-CBC -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] -data ""] 0 31} \ -match exact -result bb1d6929e95937287fa37d129b756746 |
︙ |