1
2
3
4
5
6
7
8
9
10
11
12
|
# Auto generated from "SHA256ShortMsg.rsp"
package require tls
package require tcltest
tcltest::testConstraint SHA256 [expr {[lsearch -nocase [tls::digests] SHA256] > -1}]
tcltest::test Hash_SHA256-2.1 {SHA256ShortMsg} \
-constraints SHA256 \
-setup {set data ""} \
-body {tls::digest -digest SHA256 -data $data} \
-match exact -result e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Auto generated from "SHA256ShortMsg.rsp"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest
tcltest::testConstraint SHA256 [expr {[lsearch -nocase [tls::digests] SHA256] > -1}]
catch {tls::provider legacy}
tcltest::test Hash_SHA256-2.1 {SHA256ShortMsg} \
-constraints SHA256 \
-setup {set data ""} \
-body {tls::digest -digest SHA256 -data $data} \
-match exact -result e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|