Diff

Differences From Artifact [fc1173d064]:

To Artifact [93592f1dcc]:


1

2
3
4
5
6

7
8
9
10
11
12
13
# Auto generated from "HMAC_SHA3-256.txt"

package require tls
package require tcltest

tcltest::testConstraint HMAC [expr {[lsearch -nocase [tls::macs] HMAC] > -1}]
tcltest::testConstraint SHA3_256 [expr {[lsearch -nocase [tls::digests] SHA3-256] > -1}]


tcltest::test MAC_HMAC-SHA3-256-1.1 {HMAC_SHA3-256} \
	-constraints {HMAC SHA3_256 } \
	-setup {} \
	-body {string range [tls::hmac -hex -digest SHA3-256 -key [binary decode hex 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f] -data "Sample message for keylen<blocklen"] 0 63} \
	-match exact -result 4fe8e202c4f058e8dddc23d8c34e467343e23555e24fc2f025d598f558f67205


>





>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Auto generated from "HMAC_SHA3-256.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 HMAC [expr {[lsearch -nocase [tls::macs] HMAC] > -1}]
tcltest::testConstraint SHA3_256 [expr {[lsearch -nocase [tls::digests] SHA3-256] > -1}]
catch {tls::provider legacy}

tcltest::test MAC_HMAC-SHA3-256-1.1 {HMAC_SHA3-256} \
	-constraints {HMAC SHA3_256 } \
	-setup {} \
	-body {string range [tls::hmac -hex -digest SHA3-256 -key [binary decode hex 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f] -data "Sample message for keylen<blocklen"] 0 63} \
	-match exact -result 4fe8e202c4f058e8dddc23d8c34e467343e23555e24fc2f025d598f558f67205