1
2
3
4
5
6
7
8
9
10
11
12
|
# Auto generated from "SM3.txt"
package require tls
package require tcltest
tcltest::testConstraint SM3 [expr {[lsearch -nocase [tls::digests] SM3] > -1}]
tcltest::test Hash_SM3-1.1 {SM3} \
-constraints SM3 \
-setup {set data ""} \
-body {tls::digest -digest SM3 -data $data} \
-match exact -result 1ab21d8355cfa17f8e61194831e81a8f22bec8c728fefb747ed035eb5082aa2b
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Auto generated from "SM3.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 SM3 [expr {[lsearch -nocase [tls::digests] SM3] > -1}]
catch {tls::provider legacy}
tcltest::test Hash_SM3-1.1 {SM3} \
-constraints SM3 \
-setup {set data ""} \
-body {tls::digest -digest SM3 -data $data} \
-match exact -result 1ab21d8355cfa17f8e61194831e81a8f22bec8c728fefb747ed035eb5082aa2b
|