1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Auto generated from "CMAC-DES3.txt"
package require tls
package require tcltest
tcltest::testConstraint CMAC [expr {[lsearch -nocase [tls::macs] CMAC] > -1}]
tcltest::testConstraint DES3 [expr {[lsearch -nocase [tls::ciphers] DES3] > -1}]
tcltest::test MAC_CMAC-DES3-1.1 {CMAC-DES3} \
-constraints {CMAC DES3} \
-setup {} \
-body {string range [tls::cmac -hex -cipher DES3 -key [binary decode hex 8aa83bf8cbda10620bc1bf19fbb6cd58bc313d4a371ca8b5] -data ""] 0 15} \
-match exact -result b7a688e122ffaf95
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Auto generated from "CMAC-DES3.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 DES3 [expr {[lsearch -nocase [tls::ciphers] DES3] > -1}]
catch {tls::provider legacy}
tcltest::test MAC_CMAC-DES3-1.1 {CMAC-DES3} \
-constraints {CMAC DES3} \
-setup {} \
-body {string range [tls::cmac -hex -cipher DES3 -key [binary decode hex 8aa83bf8cbda10620bc1bf19fbb6cd58bc313d4a371ca8b5] -data ""] 0 15} \
-match exact -result b7a688e122ffaf95
|