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