Check-in [37325867e6]
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA
Overview
Comment:Added IDEA cipher test vectors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | crypto
Files: files | file ages | folders
SHA3-256: 37325867e682a3caafb29ac72ee2a61235870f0583fa4b546fc38a2e65c8a94a
User & Date: bohagan on 2024-04-08 02:51:53
Other Links: branch diff | manifest | tags
Context
2024-04-08
03:30
Make test case files from test vectors script updates to optimize logic check-in: 45c6b53f90 user: bohagan tags: crypto
02:51
Added IDEA cipher test vectors check-in: 37325867e6 user: bohagan tags: crypto
2024-04-07
22:20
Added Seed cipher test vectors check-in: 18bed2dd62 user: bohagan tags: crypto
Changes

Modified tests/test_vectors/Symetric_Block/AES-128-CBC.test from [65c5b321f9] to [e19d54dff8].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CBC [expr {[lsearch -nocase [tls::ciphers] AES-128-CBC] > -1}]

tcltest::test Block_AES-128-CBC-1.1 {Encrypt AES-128-CBC} \
	-constraints AES_128_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CBC -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a7

tcltest::test Block_AES-128-CBC-1.2 {Decrypt AES-128-CBC} \
	-constraints AES_128_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CBC -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CBC [expr {[lsearch -nocase [tls::ciphers] AES-128-CBC] > -1}]

tcltest::test Symetric_Block_AES-128-CBC-1.1 {Encrypt AES-128-CBC} \
	-constraints AES_128_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CBC -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a7

tcltest::test Symetric_Block_AES-128-CBC-1.2 {Decrypt AES-128-CBC} \
	-constraints AES_128_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CBC -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-128-CFB.test from [7d24d887c8] to [23592c06a9].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB] > -1}]

tcltest::test Block_AES-128-CFB-1.1 {Encrypt AES-128-CFB} \
	-constraints AES_128_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3b3fd92eb72dad20333449f8e83cfb4ac8a64537a0b3a93fcde3cdad9f1ce58b26751f67a3cbb140b1808cf187a4f4dfc04b05357c5d1c0eeac4c66f9ff7f2e6

tcltest::test Block_AES-128-CFB-1.2 {Decrypt AES-128-CFB} \
	-constraints AES_128_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b3fd92eb72dad20333449f8e83cfb4ac8a64537a0b3a93fcde3cdad9f1ce58b26751f67a3cbb140b1808cf187a4f4dfc04b05357c5d1c0eeac4c66f9ff7f2e6]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB] > -1}]

tcltest::test Symetric_Block_AES-128-CFB-1.1 {Encrypt AES-128-CFB} \
	-constraints AES_128_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3b3fd92eb72dad20333449f8e83cfb4ac8a64537a0b3a93fcde3cdad9f1ce58b26751f67a3cbb140b1808cf187a4f4dfc04b05357c5d1c0eeac4c66f9ff7f2e6

tcltest::test Symetric_Block_AES-128-CFB-1.2 {Decrypt AES-128-CFB} \
	-constraints AES_128_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b3fd92eb72dad20333449f8e83cfb4ac8a64537a0b3a93fcde3cdad9f1ce58b26751f67a3cbb140b1808cf187a4f4dfc04b05357c5d1c0eeac4c66f9ff7f2e6]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-128-CFB1.test from [3bd696dc72] to [e9429b9d23].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB1] > -1}]

tcltest::test Block_AES-128-CFB1-1.1 {Encrypt AES-128-CFB1} \
	-constraints AES_128_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB1 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 68b3

tcltest::test Block_AES-128-CFB1-1.2 {Decrypt AES-128-CFB1} \
	-constraints AES_128_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB1 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 68b3]]} \
	-match exact -result 6bc1









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB1] > -1}]

tcltest::test Symetric_Block_AES-128-CFB1-1.1 {Encrypt AES-128-CFB1} \
	-constraints AES_128_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB1 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 68b3

tcltest::test Symetric_Block_AES-128-CFB1-1.2 {Decrypt AES-128-CFB1} \
	-constraints AES_128_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB1 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 68b3]]} \
	-match exact -result 6bc1

Modified tests/test_vectors/Symetric_Block/AES-128-CFB8.test from [6dc07bce40] to [707d078c22].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB8] > -1}]

tcltest::test Block_AES-128-CFB8-1.1 {Encrypt AES-128-CFB8} \
	-constraints AES_128_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB8 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result 3b79424c9c0dd436bace9e0ed4586a4f32b9

tcltest::test Block_AES-128-CFB8-1.2 {Decrypt AES-128-CFB8} \
	-constraints AES_128_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB8 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b79424c9c0dd436bace9e0ed4586a4f32b9]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-128-CFB8] > -1}]

tcltest::test Symetric_Block_AES-128-CFB8-1.1 {Encrypt AES-128-CFB8} \
	-constraints AES_128_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CFB8 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result 3b79424c9c0dd436bace9e0ed4586a4f32b9

tcltest::test Symetric_Block_AES-128-CFB8-1.2 {Decrypt AES-128-CFB8} \
	-constraints AES_128_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CFB8 -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b79424c9c0dd436bace9e0ed4586a4f32b9]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d

Modified tests/test_vectors/Symetric_Block/AES-128-CTR.test from [edb0e884ff] to [8eee83348b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CTR [expr {[lsearch -nocase [tls::ciphers] AES-128-CTR] > -1}]

tcltest::test Block_AES-128-CTR-1.1 {Encrypt AES-128-CTR} \
	-constraints AES_128_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CTR -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 874d6191b620e3261bef6864990db6ce9806f66b7970fdff8617187bb9fffdff5ae4df3edbd5d35e5b4f09020db03eab1e031dda2fbe03d1792170a0f3009cee

tcltest::test Block_AES-128-CTR-1.2 {Decrypt AES-128-CTR} \
	-constraints AES_128_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CTR -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 874d6191b620e3261bef6864990db6ce9806f66b7970fdff8617187bb9fffdff5ae4df3edbd5d35e5b4f09020db03eab1e031dda2fbe03d1792170a0f3009cee]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_CTR [expr {[lsearch -nocase [tls::ciphers] AES-128-CTR] > -1}]

tcltest::test Symetric_Block_AES-128-CTR-1.1 {Encrypt AES-128-CTR} \
	-constraints AES_128_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-128-CTR -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 874d6191b620e3261bef6864990db6ce9806f66b7970fdff8617187bb9fffdff5ae4df3edbd5d35e5b4f09020db03eab1e031dda2fbe03d1792170a0f3009cee

tcltest::test Symetric_Block_AES-128-CTR-1.2 {Decrypt AES-128-CTR} \
	-constraints AES_128_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-128-CTR -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 874d6191b620e3261bef6864990db6ce9806f66b7970fdff8617187bb9fffdff5ae4df3edbd5d35e5b4f09020db03eab1e031dda2fbe03d1792170a0f3009cee]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-128-ECB.test from [d0e873f017] to [d6a54b5c73].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-128-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_ECB [expr {[lsearch -nocase [tls::ciphers] AES-128-ECB] > -1}]

tcltest::test Block_AES-128-ECB-1.1 {Encrypt AES-128-ECB} \
	-constraints AES_128_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-ECB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3ad77bb40d7a3660a89ecaf32466ef97f5d3d58503b9699de785895a96fdbaaf43b1cd7f598ece23881b00e3ed0306887b0c785e27e8ad3f8223207104725dd4

tcltest::test Block_AES-128-ECB-1.2 {Decrypt AES-128-ECB} \
	-constraints AES_128_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-ECB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -data [binary decode hex 3ad77bb40d7a3660a89ecaf32466ef97f5d3d58503b9699de785895a96fdbaaf43b1cd7f598ece23881b00e3ed0306887b0c785e27e8ad3f8223207104725dd4]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup








|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-128-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_ECB [expr {[lsearch -nocase [tls::ciphers] AES-128-ECB] > -1}]

tcltest::test Symetric_Block_AES-128-ECB-1.1 {Encrypt AES-128-ECB} \
	-constraints AES_128_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-ECB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3ad77bb40d7a3660a89ecaf32466ef97f5d3d58503b9699de785895a96fdbaaf43b1cd7f598ece23881b00e3ed0306887b0c785e27e8ad3f8223207104725dd4

tcltest::test Symetric_Block_AES-128-ECB-1.2 {Decrypt AES-128-ECB} \
	-constraints AES_128_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-ECB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -data [binary decode hex 3ad77bb40d7a3660a89ecaf32466ef97f5d3d58503b9699de785895a96fdbaaf43b1cd7f598ece23881b00e3ed0306887b0c785e27e8ad3f8223207104725dd4]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup

Modified tests/test_vectors/Symetric_Block/AES-128-OFB.test from [eac590d856] to [f6e77133c7].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_OFB [expr {[lsearch -nocase [tls::ciphers] AES-128-OFB] > -1}]

tcltest::test Block_AES-128-OFB-1.1 {Encrypt AES-128-OFB} \
	-constraints AES_128_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-OFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3b3fd92eb72dad20333449f8e83cfb4a7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e

tcltest::test Block_AES-128-OFB-1.2 {Decrypt AES-128-OFB} \
	-constraints AES_128_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-OFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b3fd92eb72dad20333449f8e83cfb4a7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-128-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_128_OFB [expr {[lsearch -nocase [tls::ciphers] AES-128-OFB] > -1}]

tcltest::test Symetric_Block_AES-128-OFB-1.1 {Encrypt AES-128-OFB} \
	-constraints AES_128_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-128-OFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 3b3fd92eb72dad20333449f8e83cfb4a7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e

tcltest::test Symetric_Block_AES-128-OFB-1.2 {Decrypt AES-128-OFB} \
	-constraints AES_128_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-128-OFB -padding 0 \
		 -key [binary decode hex 2b7e151628aed2a6abf7158809cf4f3c] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 3b3fd92eb72dad20333449f8e83cfb4a7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-192-CBC.test from [64074eee9c] to [f854923791].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CBC [expr {[lsearch -nocase [tls::ciphers] AES-192-CBC] > -1}]

tcltest::test Block_AES-192-CBC-1.1 {Encrypt AES-192-CBC} \
	-constraints AES_192_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CBC -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0e27988598881d920a9e64f5615cd

tcltest::test Block_AES-192-CBC-1.2 {Decrypt AES-192-CBC} \
	-constraints AES_192_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CBC -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0e27988598881d920a9e64f5615cd]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CBC [expr {[lsearch -nocase [tls::ciphers] AES-192-CBC] > -1}]

tcltest::test Symetric_Block_AES-192-CBC-1.1 {Encrypt AES-192-CBC} \
	-constraints AES_192_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CBC -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0e27988598881d920a9e64f5615cd

tcltest::test Symetric_Block_AES-192-CBC-1.2 {Decrypt AES-192-CBC} \
	-constraints AES_192_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CBC -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e738763f69145a571b242012fb7ae07fa9baac3df102e008b0e27988598881d920a9e64f5615cd]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-192-CFB.test from [01e591ca3c] to [33ebf8d108].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB] > -1}]

tcltest::test Block_AES-192-CFB-1.1 {Encrypt AES-192-CFB} \
	-constraints AES_192_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result cdc80d6fddf18cab34c25909c99a417467ce7f7f81173621961a2b70171d3d7a2e1e8a1dd59b88b1c8e60fed1efac4c9c05f9f9ca9834fa042ae8fba584b09ff

tcltest::test Block_AES-192-CFB-1.2 {Decrypt AES-192-CFB} \
	-constraints AES_192_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cdc80d6fddf18cab34c25909c99a417467ce7f7f81173621961a2b70171d3d7a2e1e8a1dd59b88b1c8e60fed1efac4c9c05f9f9ca9834fa042ae8fba584b09ff]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB] > -1}]

tcltest::test Symetric_Block_AES-192-CFB-1.1 {Encrypt AES-192-CFB} \
	-constraints AES_192_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result cdc80d6fddf18cab34c25909c99a417467ce7f7f81173621961a2b70171d3d7a2e1e8a1dd59b88b1c8e60fed1efac4c9c05f9f9ca9834fa042ae8fba584b09ff

tcltest::test Symetric_Block_AES-192-CFB-1.2 {Decrypt AES-192-CFB} \
	-constraints AES_192_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cdc80d6fddf18cab34c25909c99a417467ce7f7f81173621961a2b70171d3d7a2e1e8a1dd59b88b1c8e60fed1efac4c9c05f9f9ca9834fa042ae8fba584b09ff]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-192-CFB1.test from [932dbfda2a] to [f67be2762a].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB1] > -1}]

tcltest::test Block_AES-192-CFB1-1.1 {Encrypt AES-192-CFB1} \
	-constraints AES_192_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB1 -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 9359

tcltest::test Block_AES-192-CFB1-1.2 {Decrypt AES-192-CFB1} \
	-constraints AES_192_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB1 -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 9359]]} \
	-match exact -result 6bc1









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB1] > -1}]

tcltest::test Symetric_Block_AES-192-CFB1-1.1 {Encrypt AES-192-CFB1} \
	-constraints AES_192_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB1 -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 9359

tcltest::test Symetric_Block_AES-192-CFB1-1.2 {Decrypt AES-192-CFB1} \
	-constraints AES_192_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB1 -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 9359]]} \
	-match exact -result 6bc1

Modified tests/test_vectors/Symetric_Block/AES-192-CFB8.test from [738f1cb327] to [1becc429a9].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB8] > -1}]

tcltest::test Block_AES-192-CFB8-1.1 {Encrypt AES-192-CFB8} \
	-constraints AES_192_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB8 -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result cda2521ef0a905ca44cd057cbf0d47a0678a

tcltest::test Block_AES-192-CFB8-1.2 {Decrypt AES-192-CFB8} \
	-constraints AES_192_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB8 -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cda2521ef0a905ca44cd057cbf0d47a0678a]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-192-CFB8] > -1}]

tcltest::test Symetric_Block_AES-192-CFB8-1.1 {Encrypt AES-192-CFB8} \
	-constraints AES_192_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CFB8 -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result cda2521ef0a905ca44cd057cbf0d47a0678a

tcltest::test Symetric_Block_AES-192-CFB8-1.2 {Decrypt AES-192-CFB8} \
	-constraints AES_192_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CFB8 -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cda2521ef0a905ca44cd057cbf0d47a0678a]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d

Modified tests/test_vectors/Symetric_Block/AES-192-CTR.test from [e9bd75d05d] to [fcd1a806ee].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CTR [expr {[lsearch -nocase [tls::ciphers] AES-192-CTR] > -1}]

tcltest::test Block_AES-192-CTR-1.1 {Encrypt AES-192-CTR} \
	-constraints AES_192_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CTR -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 1abc932417521ca24f2b0459fe7e6e0b090339ec0aa6faefd5ccc2c6f4ce8e941e36b26bd1ebc670d1bd1d665620abf74f78a7f6d29809585a97daec58c6b050

tcltest::test Block_AES-192-CTR-1.2 {Decrypt AES-192-CTR} \
	-constraints AES_192_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CTR -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 1abc932417521ca24f2b0459fe7e6e0b090339ec0aa6faefd5ccc2c6f4ce8e941e36b26bd1ebc670d1bd1d665620abf74f78a7f6d29809585a97daec58c6b050]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_CTR [expr {[lsearch -nocase [tls::ciphers] AES-192-CTR] > -1}]

tcltest::test Symetric_Block_AES-192-CTR-1.1 {Encrypt AES-192-CTR} \
	-constraints AES_192_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-192-CTR -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 1abc932417521ca24f2b0459fe7e6e0b090339ec0aa6faefd5ccc2c6f4ce8e941e36b26bd1ebc670d1bd1d665620abf74f78a7f6d29809585a97daec58c6b050

tcltest::test Symetric_Block_AES-192-CTR-1.2 {Decrypt AES-192-CTR} \
	-constraints AES_192_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-192-CTR -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 1abc932417521ca24f2b0459fe7e6e0b090339ec0aa6faefd5ccc2c6f4ce8e941e36b26bd1ebc670d1bd1d665620abf74f78a7f6d29809585a97daec58c6b050]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-192-ECB.test from [86743a06c2] to [48b9e7cd3a].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-192-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_ECB [expr {[lsearch -nocase [tls::ciphers] AES-192-ECB] > -1}]

tcltest::test Block_AES-192-ECB-1.1 {Encrypt AES-192-ECB} \
	-constraints AES_192_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-ECB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result bd334f1d6e45f25ff712a214571fa5cc974104846d0ad3ad7734ecb3ecee4eefef7afd2270e2e60adce0ba2face6444e9a4b41ba738d6c72fb16691603c18e0e

tcltest::test Block_AES-192-ECB-1.2 {Decrypt AES-192-ECB} \
	-constraints AES_192_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-ECB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -data [binary decode hex bd334f1d6e45f25ff712a214571fa5cc974104846d0ad3ad7734ecb3ecee4eefef7afd2270e2e60adce0ba2face6444e9a4b41ba738d6c72fb16691603c18e0e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup








|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-192-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_ECB [expr {[lsearch -nocase [tls::ciphers] AES-192-ECB] > -1}]

tcltest::test Symetric_Block_AES-192-ECB-1.1 {Encrypt AES-192-ECB} \
	-constraints AES_192_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-ECB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result bd334f1d6e45f25ff712a214571fa5cc974104846d0ad3ad7734ecb3ecee4eefef7afd2270e2e60adce0ba2face6444e9a4b41ba738d6c72fb16691603c18e0e

tcltest::test Symetric_Block_AES-192-ECB-1.2 {Decrypt AES-192-ECB} \
	-constraints AES_192_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-ECB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -data [binary decode hex bd334f1d6e45f25ff712a214571fa5cc974104846d0ad3ad7734ecb3ecee4eefef7afd2270e2e60adce0ba2face6444e9a4b41ba738d6c72fb16691603c18e0e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup

Modified tests/test_vectors/Symetric_Block/AES-192-OFB.test from [f40553a7c5] to [4c63bc3822].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_OFB [expr {[lsearch -nocase [tls::ciphers] AES-192-OFB] > -1}]

tcltest::test Block_AES-192-OFB-1.1 {Encrypt AES-192-OFB} \
	-constraints AES_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-OFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result cdc80d6fddf18cab34c25909c99a4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a

tcltest::test Block_AES-192-OFB-1.2 {Decrypt AES-192-OFB} \
	-constraints AES_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-OFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cdc80d6fddf18cab34c25909c99a4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-192-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_192_OFB [expr {[lsearch -nocase [tls::ciphers] AES-192-OFB] > -1}]

tcltest::test Symetric_Block_AES-192-OFB-1.1 {Encrypt AES-192-OFB} \
	-constraints AES_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-192-OFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result cdc80d6fddf18cab34c25909c99a4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a

tcltest::test Symetric_Block_AES-192-OFB-1.2 {Decrypt AES-192-OFB} \
	-constraints AES_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-192-OFB -padding 0 \
		 -key [binary decode hex 8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex cdc80d6fddf18cab34c25909c99a4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-256-CBC.test from [57c7756a8b] to [7375992b8b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CBC [expr {[lsearch -nocase [tls::ciphers] AES-256-CBC] > -1}]

tcltest::test Block_AES-256-CBC-1.1 {Encrypt AES-256-CBC} \
	-constraints AES_256_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CBC -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f777bc6702c7d39f23369a9d9bacfa530e26304231461b2eb05e2c39be9fcda6c19078c6a9d1b

tcltest::test Block_AES-256-CBC-1.2 {Decrypt AES-256-CBC} \
	-constraints AES_256_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CBC -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f777bc6702c7d39f23369a9d9bacfa530e26304231461b2eb05e2c39be9fcda6c19078c6a9d1b]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CBC [expr {[lsearch -nocase [tls::ciphers] AES-256-CBC] > -1}]

tcltest::test Symetric_Block_AES-256-CBC-1.1 {Encrypt AES-256-CBC} \
	-constraints AES_256_CBC \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CBC -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f777bc6702c7d39f23369a9d9bacfa530e26304231461b2eb05e2c39be9fcda6c19078c6a9d1b

tcltest::test Symetric_Block_AES-256-CBC-1.2 {Decrypt AES-256-CBC} \
	-constraints AES_256_CBC \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CBC -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f777bc6702c7d39f23369a9d9bacfa530e26304231461b2eb05e2c39be9fcda6c19078c6a9d1b]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-256-CFB.test from [6ec5673682] to [aa30e2ea13].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB] > -1}]

tcltest::test Block_AES-256-CFB-1.1 {Encrypt AES-256-CFB} \
	-constraints AES_256_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result dc7e84bfda79164b7ecd8486985d386039ffed143b28b1c832113c6331e5407bdf10132415e54b92a13ed0a8267ae2f975a385741ab9cef82031623d55b1e471

tcltest::test Block_AES-256-CFB-1.2 {Decrypt AES-256-CFB} \
	-constraints AES_256_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc7e84bfda79164b7ecd8486985d386039ffed143b28b1c832113c6331e5407bdf10132415e54b92a13ed0a8267ae2f975a385741ab9cef82031623d55b1e471]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB] > -1}]

tcltest::test Symetric_Block_AES-256-CFB-1.1 {Encrypt AES-256-CFB} \
	-constraints AES_256_CFB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result dc7e84bfda79164b7ecd8486985d386039ffed143b28b1c832113c6331e5407bdf10132415e54b92a13ed0a8267ae2f975a385741ab9cef82031623d55b1e471

tcltest::test Symetric_Block_AES-256-CFB-1.2 {Decrypt AES-256-CFB} \
	-constraints AES_256_CFB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc7e84bfda79164b7ecd8486985d386039ffed143b28b1c832113c6331e5407bdf10132415e54b92a13ed0a8267ae2f975a385741ab9cef82031623d55b1e471]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-256-CFB1.test from [8cc2def4a3] to [35b47bc17f].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB1] > -1}]

tcltest::test Block_AES-256-CFB1-1.1 {Encrypt AES-256-CFB1} \
	-constraints AES_256_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB1 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 9029

tcltest::test Block_AES-256-CFB1-1.2 {Decrypt AES-256-CFB1} \
	-constraints AES_256_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB1 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 9029]]} \
	-match exact -result 6bc1









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB1 [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB1] > -1}]

tcltest::test Symetric_Block_AES-256-CFB1-1.1 {Encrypt AES-256-CFB1} \
	-constraints AES_256_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB1 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1]]} \
	-match exact -result 9029

tcltest::test Symetric_Block_AES-256-CFB1-1.2 {Decrypt AES-256-CFB1} \
	-constraints AES_256_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB1 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 9029]]} \
	-match exact -result 6bc1

Modified tests/test_vectors/Symetric_Block/AES-256-CFB8.test from [8f01a4d3af] to [5930e625c8].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB8] > -1}]

tcltest::test Block_AES-256-CFB8-1.1 {Encrypt AES-256-CFB8} \
	-constraints AES_256_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB8 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result dc1f1a8520a64db55fcc8ac554844e889700

tcltest::test Block_AES-256-CFB8-1.2 {Decrypt AES-256-CFB8} \
	-constraints AES_256_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB8 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc1f1a8520a64db55fcc8ac554844e889700]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CFB8 [expr {[lsearch -nocase [tls::ciphers] AES-256-CFB8] > -1}]

tcltest::test Symetric_Block_AES-256-CFB8-1.1 {Encrypt AES-256-CFB8} \
	-constraints AES_256_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CFB8 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d]]} \
	-match exact -result dc1f1a8520a64db55fcc8ac554844e889700

tcltest::test Symetric_Block_AES-256-CFB8-1.2 {Decrypt AES-256-CFB8} \
	-constraints AES_256_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CFB8 -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc1f1a8520a64db55fcc8ac554844e889700]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d

Modified tests/test_vectors/Symetric_Block/AES-256-CTR.test from [3bfdcb10cf] to [ee2ba131f2].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CTR [expr {[lsearch -nocase [tls::ciphers] AES-256-CTR] > -1}]

tcltest::test Block_AES-256-CTR-1.1 {Encrypt AES-256-CTR} \
	-constraints AES_256_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CTR -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 601ec313775789a5b7a7f504bbf3d228f443e3ca4d62b59aca84e990cacaf5c52b0930daa23de94ce87017ba2d84988ddfc9c58db67aada613c2dd08457941a6

tcltest::test Block_AES-256-CTR-1.2 {Decrypt AES-256-CTR} \
	-constraints AES_256_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CTR -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 601ec313775789a5b7a7f504bbf3d228f443e3ca4d62b59aca84e990cacaf5c52b0930daa23de94ce87017ba2d84988ddfc9c58db67aada613c2dd08457941a6]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_CTR [expr {[lsearch -nocase [tls::ciphers] AES-256-CTR] > -1}]

tcltest::test Symetric_Block_AES-256-CTR-1.1 {Encrypt AES-256-CTR} \
	-constraints AES_256_CTR \
	-body {binary encode hex [tls::encrypt -cipher AES-256-CTR -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result 601ec313775789a5b7a7f504bbf3d228f443e3ca4d62b59aca84e990cacaf5c52b0930daa23de94ce87017ba2d84988ddfc9c58db67aada613c2dd08457941a6

tcltest::test Symetric_Block_AES-256-CTR-1.2 {Decrypt AES-256-CTR} \
	-constraints AES_256_CTR \
	-body {binary encode hex [tls::decrypt -cipher AES-256-CTR -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff] \
		 -data [binary decode hex 601ec313775789a5b7a7f504bbf3d228f443e3ca4d62b59aca84e990cacaf5c52b0930daa23de94ce87017ba2d84988ddfc9c58db67aada613c2dd08457941a6]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/AES-256-ECB.test from [c37f09ae87] to [b03bb45b92].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-256-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_ECB [expr {[lsearch -nocase [tls::ciphers] AES-256-ECB] > -1}]

tcltest::test Block_AES-256-ECB-1.1 {Encrypt AES-256-ECB} \
	-constraints AES_256_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-ECB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result f3eed1bdb5d2a03c064b5a7e3db181f8591ccb10d410ed26dc5ba74a31362870b6ed21b99ca6f4f9f153e7b1beafed1d23304b7a39f9f3ff067d8d8f9e24ecc7

tcltest::test Block_AES-256-ECB-1.2 {Decrypt AES-256-ECB} \
	-constraints AES_256_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-ECB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -data [binary decode hex f3eed1bdb5d2a03c064b5a7e3db181f8591ccb10d410ed26dc5ba74a31362870b6ed21b99ca6f4f9f153e7b1beafed1d23304b7a39f9f3ff067d8d8f9e24ecc7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup








|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Auto generated from "AES-256-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_ECB [expr {[lsearch -nocase [tls::ciphers] AES-256-ECB] > -1}]

tcltest::test Symetric_Block_AES-256-ECB-1.1 {Encrypt AES-256-ECB} \
	-constraints AES_256_ECB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-ECB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result f3eed1bdb5d2a03c064b5a7e3db181f8591ccb10d410ed26dc5ba74a31362870b6ed21b99ca6f4f9f153e7b1beafed1d23304b7a39f9f3ff067d8d8f9e24ecc7

tcltest::test Symetric_Block_AES-256-ECB-1.2 {Decrypt AES-256-ECB} \
	-constraints AES_256_ECB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-ECB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -data [binary decode hex f3eed1bdb5d2a03c064b5a7e3db181f8591ccb10d410ed26dc5ba74a31362870b6ed21b99ca6f4f9f153e7b1beafed1d23304b7a39f9f3ff067d8d8f9e24ecc7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

# Cleanup

Modified tests/test_vectors/Symetric_Block/AES-256-OFB.test from [4f13e8c331] to [4e8362c0e2].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_OFB [expr {[lsearch -nocase [tls::ciphers] AES-256-OFB] > -1}]

tcltest::test Block_AES-256-OFB-1.1 {Encrypt AES-256-OFB} \
	-constraints AES_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-OFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result dc7e84bfda79164b7ecd8486985d38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484

tcltest::test Block_AES-256-OFB-1.2 {Decrypt AES-256-OFB} \
	-constraints AES_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-OFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc7e84bfda79164b7ecd8486985d38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "AES-256-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint AES_256_OFB [expr {[lsearch -nocase [tls::ciphers] AES-256-OFB] > -1}]

tcltest::test Symetric_Block_AES-256-OFB-1.1 {Encrypt AES-256-OFB} \
	-constraints AES_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher AES-256-OFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710]]} \
	-match exact -result dc7e84bfda79164b7ecd8486985d38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484

tcltest::test Symetric_Block_AES-256-OFB-1.2 {Decrypt AES-256-OFB} \
	-constraints AES_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher AES-256-OFB -padding 0 \
		 -key [binary decode hex 603deb1015ca71be2b73aef0857d77811f352c073b6108d72d9810a30914dff4] \
		 -iv [binary decode hex 000102030405060708090a0b0c0d0e0f] \
		 -data [binary decode hex dc7e84bfda79164b7ecd8486985d38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710

Modified tests/test_vectors/Symetric_Block/DES-CBC.test from [cb0cbf5ffa] to [93694fffed].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CBC [expr {[lsearch -nocase [tls::ciphers] DES-CBC] > -1}]

tcltest::test Block_DES-CBC-1.1 {Encrypt DES-CBC} \
	-constraints DES_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77206973207468652074696d6520666f7220616c6c20]]} \
	-match exact -result e5c7cdde872bf27c43e934008c389c0f683788499a7c05f6

tcltest::test Block_DES-CBC-1.2 {Decrypt DES-CBC} \
	-constraints DES_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex e5c7cdde872bf27c43e934008c389c0f683788499a7c05f6]]} \
	-match exact -result 4e6f77206973207468652074696d6520666f7220616c6c20









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CBC [expr {[lsearch -nocase [tls::ciphers] DES-CBC] > -1}]

tcltest::test Symetric_Block_DES-CBC-1.1 {Encrypt DES-CBC} \
	-constraints DES_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77206973207468652074696d6520666f7220616c6c20]]} \
	-match exact -result e5c7cdde872bf27c43e934008c389c0f683788499a7c05f6

tcltest::test Symetric_Block_DES-CBC-1.2 {Decrypt DES-CBC} \
	-constraints DES_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex e5c7cdde872bf27c43e934008c389c0f683788499a7c05f6]]} \
	-match exact -result 4e6f77206973207468652074696d6520666f7220616c6c20

Modified tests/test_vectors/Symetric_Block/DES-CFB.test from [b436b3e392] to [d83e4dff8a].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB [expr {[lsearch -nocase [tls::ciphers] DES-CFB] > -1}]

tcltest::test Block_DES-CFB-1.1 {Encrypt DES-CFB} \
	-constraints DES_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77206973207468652074696d6520666f7220616c6c20]]} \
	-match exact -result f3096249c7f46e51a69e839b1a92f78403467133898ea622

tcltest::test Block_DES-CFB-1.2 {Decrypt DES-CFB} \
	-constraints DES_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f3096249c7f46e51a69e839b1a92f78403467133898ea622]]} \
	-match exact -result 4e6f77206973207468652074696d6520666f7220616c6c20









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB [expr {[lsearch -nocase [tls::ciphers] DES-CFB] > -1}]

tcltest::test Symetric_Block_DES-CFB-1.1 {Encrypt DES-CFB} \
	-constraints DES_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77206973207468652074696d6520666f7220616c6c20]]} \
	-match exact -result f3096249c7f46e51a69e839b1a92f78403467133898ea622

tcltest::test Symetric_Block_DES-CFB-1.2 {Decrypt DES-CFB} \
	-constraints DES_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f3096249c7f46e51a69e839b1a92f78403467133898ea622]]} \
	-match exact -result 4e6f77206973207468652074696d6520666f7220616c6c20

Modified tests/test_vectors/Symetric_Block/DES-CFB1.test from [4043cb42be] to [f743cbdc5c].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB1 [expr {[lsearch -nocase [tls::ciphers] DES-CFB1] > -1}]

tcltest::test Block_DES-CFB1-1.1 {Encrypt DES-CFB1} \
	-constraints DES_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77]]} \
	-match exact -result cd1ec9

tcltest::test Block_DES-CFB1-1.2 {Decrypt DES-CFB1} \
	-constraints DES_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex cd1ec9]]} \
	-match exact -result 4e6f77









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB1 [expr {[lsearch -nocase [tls::ciphers] DES-CFB1] > -1}]

tcltest::test Symetric_Block_DES-CFB1-1.1 {Encrypt DES-CFB1} \
	-constraints DES_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77]]} \
	-match exact -result cd1ec9

tcltest::test Symetric_Block_DES-CFB1-1.2 {Decrypt DES-CFB1} \
	-constraints DES_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex cd1ec9]]} \
	-match exact -result 4e6f77

Modified tests/test_vectors/Symetric_Block/DES-CFB8.test from [49f880056a] to [c0534f2c09].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB8 [expr {[lsearch -nocase [tls::ciphers] DES-CFB8] > -1}]

tcltest::test Block_DES-CFB8-1.1 {Encrypt DES-CFB8} \
	-constraints DES_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f7720697320746865]]} \
	-match exact -result f31fda07011462ee187f

tcltest::test Block_DES-CFB8-1.2 {Decrypt DES-CFB8} \
	-constraints DES_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f31fda07011462ee187f]]} \
	-match exact -result 4e6f7720697320746865









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_CFB8 [expr {[lsearch -nocase [tls::ciphers] DES-CFB8] > -1}]

tcltest::test Symetric_Block_DES-CFB8-1.1 {Encrypt DES-CFB8} \
	-constraints DES_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f7720697320746865]]} \
	-match exact -result f31fda07011462ee187f

tcltest::test Symetric_Block_DES-CFB8-1.2 {Decrypt DES-CFB8} \
	-constraints DES_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f31fda07011462ee187f]]} \
	-match exact -result 4e6f7720697320746865

Modified tests/test_vectors/Symetric_Block/DES-ECB.test from [77cff59e3a] to [2538a9cfa3].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Auto generated from "DES-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_ECB [expr {[lsearch -nocase [tls::ciphers] DES-ECB] > -1}]

tcltest::test Block_DES-ECB-1.1 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 4e6f772069732074]]} \
	-match exact -result 3fa40e8a984d4815

tcltest::test Block_DES-ECB-1.2 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 3fa40e8a984d4815]]} \
	-match exact -result 4e6f772069732074

tcltest::test Block_DES-ECB-1.3 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 68652074696d6520]]} \
	-match exact -result 6a271787ab8883f9

tcltest::test Block_DES-ECB-1.4 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 6a271787ab8883f9]]} \
	-match exact -result 68652074696d6520

tcltest::test Block_DES-ECB-1.5 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 666f7220616c6c20]]} \
	-match exact -result 893d51ec4b563b53

tcltest::test Block_DES-ECB-1.6 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 893d51ec4b563b53]]} \
	-match exact -result 666f7220616c6c20

# Cleanup








|






|






|






|






|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Auto generated from "DES-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_ECB [expr {[lsearch -nocase [tls::ciphers] DES-ECB] > -1}]

tcltest::test Symetric_Block_DES-ECB-1.1 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 4e6f772069732074]]} \
	-match exact -result 3fa40e8a984d4815

tcltest::test Symetric_Block_DES-ECB-1.2 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 3fa40e8a984d4815]]} \
	-match exact -result 4e6f772069732074

tcltest::test Symetric_Block_DES-ECB-1.3 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 68652074696d6520]]} \
	-match exact -result 6a271787ab8883f9

tcltest::test Symetric_Block_DES-ECB-1.4 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 6a271787ab8883f9]]} \
	-match exact -result 68652074696d6520

tcltest::test Symetric_Block_DES-ECB-1.5 {Encrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 666f7220616c6c20]]} \
	-match exact -result 893d51ec4b563b53

tcltest::test Symetric_Block_DES-ECB-1.6 {Decrypt DES-ECB} \
	-constraints DES_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -data [binary decode hex 893d51ec4b563b53]]} \
	-match exact -result 666f7220616c6c20

# Cleanup

Modified tests/test_vectors/Symetric_Block/DES-EDE3-CBC.test from [edde17b69d] to [9129d4640f].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CBC [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CBC] > -1}]

tcltest::test Block_DES-EDE3-CBC-1.1 {Encrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7

tcltest::test Block_DES-EDE3-CBC-1.2 {Decrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-CBC-1.3 {Encrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581

tcltest::test Block_DES-EDE3-CBC-1.4 {Decrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CBC [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CBC] > -1}]

tcltest::test Symetric_Block_DES-EDE3-CBC-1.1 {Encrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7

tcltest::test Symetric_Block_DES-EDE3-CBC-1.2 {Decrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-CBC-1.3 {Encrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581

tcltest::test Symetric_Block_DES-EDE3-CBC-1.4 {Decrypt DES-EDE3-CBC} \
	-constraints DES_EDE3_CBC \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CBC -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

Modified tests/test_vectors/Symetric_Block/DES-EDE3-CFB.test from [eb649b4076] to [8e2ca440af].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB] > -1}]

tcltest::test Block_DES-EDE3-CFB-1.1 {Encrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed67666de9cf95eaf3fe9ed6bb460f451528a5f9fe4ed710918

tcltest::test Block_DES-EDE3-CFB-1.2 {Decrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed67666de9cf95eaf3fe9ed6bb460f451528a5f9fe4ed710918]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-CFB-1.3 {Encrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c52ef313667b5a66af688672a3993aeae55b931ae24ee24c5c

tcltest::test Block_DES-EDE3-CFB-1.4 {Decrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c52ef313667b5a66af688672a3993aeae55b931ae24ee24c5c]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB] > -1}]

tcltest::test Symetric_Block_DES-EDE3-CFB-1.1 {Encrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed67666de9cf95eaf3fe9ed6bb460f451528a5f9fe4ed710918

tcltest::test Symetric_Block_DES-EDE3-CFB-1.2 {Decrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed67666de9cf95eaf3fe9ed6bb460f451528a5f9fe4ed710918]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-CFB-1.3 {Encrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c52ef313667b5a66af688672a3993aeae55b931ae24ee24c5c

tcltest::test Symetric_Block_DES-EDE3-CFB-1.4 {Decrypt DES-EDE3-CFB} \
	-constraints DES_EDE3_CFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c52ef313667b5a66af688672a3993aeae55b931ae24ee24c5c]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

Modified tests/test_vectors/Symetric_Block/DES-EDE3-CFB1.test from [43efa43d2e] to [6cf512668c].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB1 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB1] > -1}]

tcltest::test Block_DES-EDE3-CFB1-1.1 {Encrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6b]]} \
	-match exact -result 5c

tcltest::test Block_DES-EDE3-CFB1-1.2 {Decrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 5c]]} \
	-match exact -result 6b

tcltest::test Block_DES-EDE3-CFB1-1.3 {Encrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6b]]} \
	-match exact -result 66

tcltest::test Block_DES-EDE3-CFB1-1.4 {Decrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 66]]} \
	-match exact -result 6b









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB1 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB1] > -1}]

tcltest::test Symetric_Block_DES-EDE3-CFB1-1.1 {Encrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6b]]} \
	-match exact -result 5c

tcltest::test Symetric_Block_DES-EDE3-CFB1-1.2 {Decrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 5c]]} \
	-match exact -result 6b

tcltest::test Symetric_Block_DES-EDE3-CFB1-1.3 {Encrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6b]]} \
	-match exact -result 66

tcltest::test Symetric_Block_DES-EDE3-CFB1-1.4 {Decrypt DES-EDE3-CFB1} \
	-constraints DES_EDE3_CFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 66]]} \
	-match exact -result 6b

Modified tests/test_vectors/Symetric_Block/DES-EDE3-CFB8.test from [32ed496a8a] to [812022114e].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB8 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB8] > -1}]

tcltest::test Block_DES-EDE3-CFB8-1.1 {Encrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96]]} \
	-match exact -result 07951b729dc23ab4

tcltest::test Block_DES-EDE3-CFB8-1.2 {Decrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 07951b729dc23ab4]]} \
	-match exact -result 6bc1bee22e409f96

tcltest::test Block_DES-EDE3-CFB8-1.3 {Encrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96]]} \
	-match exact -result 61d86d9aee9693fd

tcltest::test Block_DES-EDE3-CFB8-1.4 {Decrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 61d86d9aee9693fd]]} \
	-match exact -result 6bc1bee22e409f96









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CFB8 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CFB8] > -1}]

tcltest::test Symetric_Block_DES-EDE3-CFB8-1.1 {Encrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96]]} \
	-match exact -result 07951b729dc23ab4

tcltest::test Symetric_Block_DES-EDE3-CFB8-1.2 {Decrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 07951b729dc23ab4]]} \
	-match exact -result 6bc1bee22e409f96

tcltest::test Symetric_Block_DES-EDE3-CFB8-1.3 {Encrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96]]} \
	-match exact -result 61d86d9aee9693fd

tcltest::test Symetric_Block_DES-EDE3-CFB8-1.4 {Decrypt DES-EDE3-CFB8} \
	-constraints DES_EDE3_CFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 61d86d9aee9693fd]]} \
	-match exact -result 6bc1bee22e409f96

Modified tests/test_vectors/Symetric_Block/DES-EDE3-CTR.test from [409677134b] to [476de6ec60].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CTR [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CTR] > -1}]

tcltest::test Block_DES-EDE3-CTR-1.1 {Encrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed619aa11d25004fb65a03cedf1ba0b09baa3bc81b8f69c1da9

tcltest::test Block_DES-EDE3-CTR-1.2 {Decrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed619aa11d25004fb65a03cedf1ba0b09baa3bc81b8f69c1da9]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-CTR-1.3 {Encrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c5dbdf92dadbad5a5d1568482bf25c42c96d3853a8e71b010e

tcltest::test Block_DES-EDE3-CTR-1.4 {Decrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c5dbdf92dadbad5a5d1568482bf25c42c96d3853a8e71b010e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-CTR.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_CTR [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-CTR] > -1}]

tcltest::test Symetric_Block_DES-EDE3-CTR-1.1 {Encrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed619aa11d25004fb65a03cedf1ba0b09baa3bc81b8f69c1da9

tcltest::test Symetric_Block_DES-EDE3-CTR-1.2 {Decrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed619aa11d25004fb65a03cedf1ba0b09baa3bc81b8f69c1da9]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-CTR-1.3 {Encrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c5dbdf92dadbad5a5d1568482bf25c42c96d3853a8e71b010e

tcltest::test Symetric_Block_DES-EDE3-CTR-1.4 {Decrypt DES-EDE3-CTR} \
	-constraints DES_EDE3_CTR \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-CTR -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c5dbdf92dadbad5a5d1568482bf25c42c96d3853a8e71b010e]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

Modified tests/test_vectors/Symetric_Block/DES-EDE3-ECB.test from [b3b08b4691] to [1fedef3a3b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Auto generated from "DES-EDE3-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_ECB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-ECB] > -1}]

tcltest::test Block_DES-EDE3-ECB-1.1 {Encrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87

tcltest::test Block_DES-EDE3-ECB-1.2 {Decrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-ECB-1.3 {Encrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d

tcltest::test Block_DES-EDE3-ECB-1.4 {Decrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

# Cleanup








|






|






|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Auto generated from "DES-EDE3-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_ECB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-ECB] > -1}]

tcltest::test Symetric_Block_DES-EDE3-ECB-1.1 {Encrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87

tcltest::test Symetric_Block_DES-EDE3-ECB-1.2 {Decrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-ECB-1.3 {Encrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d

tcltest::test Symetric_Block_DES-EDE3-ECB-1.4 {Decrypt DES-EDE3-ECB} \
	-constraints DES_EDE3_ECB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-ECB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

# Cleanup

Modified tests/test_vectors/Symetric_Block/DES-EDE3-OFB.test from [f575679096] to [cbde3c164f].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_OFB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-OFB] > -1}]

tcltest::test Block_DES-EDE3-OFB-1.1 {Encrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed6267e120692667da1a58662d7e04cbc642144d55c03db5aee

tcltest::test Block_DES-EDE3-OFB-1.2 {Decrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed6267e120692667da1a58662d7e04cbc642144d55c03db5aee]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-OFB-1.3 {Encrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c53334ba77ffdccc80e485e85f0a63e7646d8d732e33241f94

tcltest::test Block_DES-EDE3-OFB-1.4 {Decrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c53334ba77ffdccc80e485e85f0a63e7646d8d732e33241f94]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES-EDE3-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3_OFB [expr {[lsearch -nocase [tls::ciphers] DES-EDE3-OFB] > -1}]

tcltest::test Symetric_Block_DES-EDE3-OFB-1.1 {Encrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 078bb74e59ce7ed6267e120692667da1a58662d7e04cbc642144d55c03db5aee

tcltest::test Symetric_Block_DES-EDE3-OFB-1.2 {Decrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 078bb74e59ce7ed6267e120692667da1a58662d7e04cbc642144d55c03db5aee]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-OFB-1.3 {Encrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 6195b9c2c39909c53334ba77ffdccc80e485e85f0a63e7646d8d732e33241f94

tcltest::test Symetric_Block_DES-EDE3-OFB-1.4 {Decrypt DES-EDE3-OFB} \
	-constraints DES_EDE3_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6195b9c2c39909c53334ba77ffdccc80e485e85f0a63e7646d8d732e33241f94]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

Modified tests/test_vectors/Symetric_Block/DES-EDE3.test from [f8976db99b] to [e4ecada073].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Auto generated from "DES-EDE3.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3] > -1}]

tcltest::test Block_DES-EDE3-1.1 {Encrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87

tcltest::test Block_DES-EDE3-1.2 {Decrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES-EDE3-1.3 {Encrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d

tcltest::test Block_DES-EDE3-1.4 {Decrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

# Cleanup








|






|






|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Auto generated from "DES-EDE3.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_EDE3 [expr {[lsearch -nocase [tls::ciphers] DES-EDE3] > -1}]

tcltest::test Symetric_Block_DES-EDE3-1.1 {Encrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87

tcltest::test Symetric_Block_DES-EDE3-1.2 {Decrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -data [binary decode hex 714772f339841d34267fcc4bd2949cc3ee11c22a576a303876183f99c0b6de87]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES-EDE3-1.3 {Encrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::encrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d

tcltest::test Symetric_Block_DES-EDE3-1.4 {Decrypt DES-EDE3} \
	-constraints DES_EDE3 \
	-body {binary encode hex [tls::decrypt -cipher DES-EDE3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -data [binary decode hex 06ede3d82884090aff322c19f0518486730576972a666e58b6c88cf107340d3d]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

# Cleanup

Modified tests/test_vectors/Symetric_Block/DES-OFB.test from [d362dffe40] to [97734d59d5].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB [expr {[lsearch -nocase [tls::ciphers] DES-OFB] > -1}]

tcltest::test Block_DES-OFB-1.1 {Encrypt DES-OFB} \
	-constraints DES_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 5765207468652070656f706c65206f662074686520556e69746564205374617465732c20696e206f7264657220746f20]]} \
	-match exact -result ea03351dc6e26e5538f81a3c22a637797b7641a66463fa8a0c9d1ead3ed113d70608a565602f23c421c8836e82c5f07b

tcltest::test Block_DES-OFB-1.2 {Decrypt DES-OFB} \
	-constraints DES_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex ea03351dc6e26e5538f81a3c22a637797b7641a66463fa8a0c9d1ead3ed113d70608a565602f23c421c8836e82c5f07b]]} \
	-match exact -result 5765207468652070656f706c65206f662074686520556e69746564205374617465732c20696e206f7264657220746f20









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB [expr {[lsearch -nocase [tls::ciphers] DES-OFB] > -1}]

tcltest::test Symetric_Block_DES-OFB-1.1 {Encrypt DES-OFB} \
	-constraints DES_OFB \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 5765207468652070656f706c65206f662074686520556e69746564205374617465732c20696e206f7264657220746f20]]} \
	-match exact -result ea03351dc6e26e5538f81a3c22a637797b7641a66463fa8a0c9d1ead3ed113d70608a565602f23c421c8836e82c5f07b

tcltest::test Symetric_Block_DES-OFB-1.2 {Decrypt DES-OFB} \
	-constraints DES_OFB \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex ea03351dc6e26e5538f81a3c22a637797b7641a66463fa8a0c9d1ead3ed113d70608a565602f23c421c8836e82c5f07b]]} \
	-match exact -result 5765207468652070656f706c65206f662074686520556e69746564205374617465732c20696e206f7264657220746f20

Modified tests/test_vectors/Symetric_Block/DES-OFB1.test from [ccefc093e4] to [8dd18633d7].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB1 [expr {[lsearch -nocase [tls::ciphers] DES-OFB1] > -1}]

tcltest::test Block_DES-OFB1-1.1 {Encrypt DES-OFB1} \
	-constraints DES_OFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77]]} \
	-match exact -result e3d34b

tcltest::test Block_DES-OFB1-1.2 {Decrypt DES-OFB1} \
	-constraints DES_OFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex e3d34b]]} \
	-match exact -result 4e6f77









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB1.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB1 [expr {[lsearch -nocase [tls::ciphers] DES-OFB1] > -1}]

tcltest::test Symetric_Block_DES-OFB1-1.1 {Encrypt DES-OFB1} \
	-constraints DES_OFB1 \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f77]]} \
	-match exact -result e3d34b

tcltest::test Symetric_Block_DES-OFB1-1.2 {Decrypt DES-OFB1} \
	-constraints DES_OFB1 \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB1 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex e3d34b]]} \
	-match exact -result 4e6f77

Modified tests/test_vectors/Symetric_Block/DES-OFB8.test from [764174ce91] to [13ab825abf].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB8 [expr {[lsearch -nocase [tls::ciphers] DES-OFB8] > -1}]

tcltest::test Block_DES-OFB8-1.1 {Encrypt DES-OFB8} \
	-constraints DES_OFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f7720697320746865]]} \
	-match exact -result f34a2850c9c64985d684

tcltest::test Block_DES-OFB8-1.2 {Decrypt DES-OFB8} \
	-constraints DES_OFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f34a2850c9c64985d684]]} \
	-match exact -result 4e6f7720697320746865









|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Auto generated from "DES-OFB8.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES_OFB8 [expr {[lsearch -nocase [tls::ciphers] DES-OFB8] > -1}]

tcltest::test Symetric_Block_DES-OFB8-1.1 {Encrypt DES-OFB8} \
	-constraints DES_OFB8 \
	-body {binary encode hex [tls::encrypt -cipher DES-OFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex 4e6f7720697320746865]]} \
	-match exact -result f34a2850c9c64985d684

tcltest::test Symetric_Block_DES-OFB8-1.2 {Decrypt DES-OFB8} \
	-constraints DES_OFB8 \
	-body {binary encode hex [tls::decrypt -cipher DES-OFB8 -padding 0 \
		 -key [binary decode hex 0123456789abcdef] \
		 -iv [binary decode hex 1234567890abcdef] \
		 -data [binary decode hex f34a2850c9c64985d684]]} \
	-match exact -result 4e6f7720697320746865

Modified tests/test_vectors/Symetric_Block/DES.test from [862208e857] to [45a26280f7].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
# Auto generated from "DES.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES [expr {[lsearch -nocase [tls::ciphers] DES] > -1}]

tcltest::test Block_DES-1.1 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 10316E028C8F3B4A] \
		-data [binary decode hex 0000000000000000]]} \
	-match exact -result 82dcbafbdeab6602

tcltest::test Block_DES-1.2 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 10316E028C8F3B4A] \
		-data [binary decode hex 82DCBAFBDEAB6602]]} \
	-match exact -result 0000000000000000

tcltest::test Block_DES-1.3 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 95F8A5E5DD31D900]]} \
	-match exact -result 8000000000000000

tcltest::test Block_DES-1.4 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 8000000000000000]]} \
	-match exact -result 95f8a5e5dd31d900

tcltest::test Block_DES-1.5 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex DD7F121CA5015619]]} \
	-match exact -result 4000000000000000

tcltest::test Block_DES-1.6 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 4000000000000000]]} \
	-match exact -result dd7f121ca5015619

tcltest::test Block_DES-1.7 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 2E8653104F3834EA]]} \
	-match exact -result 2000000000000000

tcltest::test Block_DES-1.8 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 2000000000000000]]} \
	-match exact -result 2e8653104f3834ea

tcltest::test Block_DES-1.9 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 4BD388FF6CD81D4F]]} \
	-match exact -result 1000000000000000

tcltest::test Block_DES-1.10 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 1000000000000000]]} \
	-match exact -result 4bd388ff6cd81d4f

tcltest::test Block_DES-1.11 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 20B9E767B2FB1456]]} \
	-match exact -result 0800000000000000

tcltest::test Block_DES-1.12 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0800000000000000]]} \
	-match exact -result 20b9e767b2fb1456

tcltest::test Block_DES-1.13 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 55579380D77138EF]]} \
	-match exact -result 0400000000000000

tcltest::test Block_DES-1.14 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0400000000000000]]} \
	-match exact -result 55579380d77138ef

tcltest::test Block_DES-1.15 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 6CC5DEFAAF04512F]]} \
	-match exact -result 0200000000000000

tcltest::test Block_DES-1.16 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0200000000000000]]} \
	-match exact -result 6cc5defaaf04512f

tcltest::test Block_DES-1.17 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0D9F279BA5D87260]]} \
	-match exact -result 0100000000000000

tcltest::test Block_DES-1.18 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0100000000000000]]} \
	-match exact -result 0d9f279ba5d87260

tcltest::test Block_DES-1.19 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex D9031B0271BD5A0A]]} \
	-match exact -result 0080000000000000

tcltest::test Block_DES-1.20 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0080000000000000]]} \
	-match exact -result d9031b0271bd5a0a

tcltest::test Block_DES-1.21 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 424250B37C3DD951]]} \
	-match exact -result 0040000000000000

tcltest::test Block_DES-1.22 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0040000000000000]]} \
	-match exact -result 424250b37c3dd951

tcltest::test Block_DES-1.23 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex B8061B7ECD9A21E5]]} \
	-match exact -result 0020000000000000

tcltest::test Block_DES-1.24 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0020000000000000]]} \
	-match exact -result b8061b7ecd9a21e5

tcltest::test Block_DES-1.25 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex F15D0F286B65BD28]]} \
	-match exact -result 0010000000000000

tcltest::test Block_DES-1.26 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0010000000000000]]} \
	-match exact -result f15d0f286b65bd28

tcltest::test Block_DES-1.27 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex ADD0CC8D6E5DEBA1]]} \
	-match exact -result 0008000000000000

tcltest::test Block_DES-1.28 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0008000000000000]]} \
	-match exact -result add0cc8d6e5deba1

tcltest::test Block_DES-1.29 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E6D5F82752AD63D1]]} \
	-match exact -result 0004000000000000

tcltest::test Block_DES-1.30 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0004000000000000]]} \
	-match exact -result e6d5f82752ad63d1

tcltest::test Block_DES-1.31 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex ECBFE3BD3F591A5E]]} \
	-match exact -result 0002000000000000

tcltest::test Block_DES-1.32 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0002000000000000]]} \
	-match exact -result ecbfe3bd3f591a5e

tcltest::test Block_DES-1.33 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex F356834379D165CD]]} \
	-match exact -result 0001000000000000

tcltest::test Block_DES-1.34 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0001000000000000]]} \
	-match exact -result f356834379d165cd

tcltest::test Block_DES-1.35 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 2B9F982F20037FA9]]} \
	-match exact -result 0000800000000000

tcltest::test Block_DES-1.36 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000800000000000]]} \
	-match exact -result 2b9f982f20037fa9

tcltest::test Block_DES-1.37 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 889DE068A16F0BE6]]} \
	-match exact -result 0000400000000000

tcltest::test Block_DES-1.38 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000400000000000]]} \
	-match exact -result 889de068a16f0be6

tcltest::test Block_DES-1.39 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E19E275D846A1298]]} \
	-match exact -result 0000200000000000

tcltest::test Block_DES-1.40 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000200000000000]]} \
	-match exact -result e19e275d846a1298

tcltest::test Block_DES-1.41 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 329A8ED523D71AEC]]} \
	-match exact -result 0000100000000000

tcltest::test Block_DES-1.42 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000100000000000]]} \
	-match exact -result 329a8ed523d71aec

tcltest::test Block_DES-1.43 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E7FCE22557D23C97]]} \
	-match exact -result 0000080000000000

tcltest::test Block_DES-1.44 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000080000000000]]} \
	-match exact -result e7fce22557d23c97

tcltest::test Block_DES-1.45 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 12A9F5817FF2D65D]]} \
	-match exact -result 0000040000000000

tcltest::test Block_DES-1.46 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000040000000000]]} \
	-match exact -result 12a9f5817ff2d65d

tcltest::test Block_DES-1.47 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex A484C3AD38DC9C19]]} \
	-match exact -result 0000020000000000

tcltest::test Block_DES-1.48 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000020000000000]]} \
	-match exact -result a484c3ad38dc9c19

tcltest::test Block_DES-1.49 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex FBE00A8A1EF8AD72]]} \
	-match exact -result 0000010000000000

tcltest::test Block_DES-1.50 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000010000000000]]} \
	-match exact -result fbe00a8a1ef8ad72

tcltest::test Block_DES-1.51 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 750D079407521363]]} \
	-match exact -result 0000008000000000

tcltest::test Block_DES-1.52 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000008000000000]]} \
	-match exact -result 750d079407521363

tcltest::test Block_DES-1.53 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 64FEED9C724C2FAF]]} \
	-match exact -result 0000004000000000

tcltest::test Block_DES-1.54 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000004000000000]]} \
	-match exact -result 64feed9c724c2faf

tcltest::test Block_DES-1.55 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex F02B263B328E2B60]]} \
	-match exact -result 0000002000000000

tcltest::test Block_DES-1.56 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000002000000000]]} \
	-match exact -result f02b263b328e2b60

tcltest::test Block_DES-1.57 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 9D64555A9A10B852]]} \
	-match exact -result 0000001000000000

tcltest::test Block_DES-1.58 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000001000000000]]} \
	-match exact -result 9d64555a9a10b852

tcltest::test Block_DES-1.59 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex D106FF0BED5255D7]]} \
	-match exact -result 0000000800000000

tcltest::test Block_DES-1.60 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000800000000]]} \
	-match exact -result d106ff0bed5255d7

tcltest::test Block_DES-1.61 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E1652C6B138C64A5]]} \
	-match exact -result 0000000400000000

tcltest::test Block_DES-1.62 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000400000000]]} \
	-match exact -result e1652c6b138c64a5

tcltest::test Block_DES-1.63 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E428581186EC8F46]]} \
	-match exact -result 0000000200000000

tcltest::test Block_DES-1.64 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000200000000]]} \
	-match exact -result e428581186ec8f46

tcltest::test Block_DES-1.65 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex AEB5F5EDE22D1A36]]} \
	-match exact -result 0000000100000000

tcltest::test Block_DES-1.66 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000100000000]]} \
	-match exact -result aeb5f5ede22d1a36

tcltest::test Block_DES-1.67 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E943D7568AEC0C5C]]} \
	-match exact -result 0000000080000000

tcltest::test Block_DES-1.68 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000080000000]]} \
	-match exact -result e943d7568aec0c5c

tcltest::test Block_DES-1.69 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex DF98C8276F54B04B]]} \
	-match exact -result 0000000040000000

tcltest::test Block_DES-1.70 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000040000000]]} \
	-match exact -result df98c8276f54b04b

tcltest::test Block_DES-1.71 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex B160E4680F6C696F]]} \
	-match exact -result 0000000020000000

tcltest::test Block_DES-1.72 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000020000000]]} \
	-match exact -result b160e4680f6c696f

tcltest::test Block_DES-1.73 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex FA0752B07D9C4AB8]]} \
	-match exact -result 0000000010000000

tcltest::test Block_DES-1.74 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000010000000]]} \
	-match exact -result fa0752b07d9c4ab8

tcltest::test Block_DES-1.75 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex CA3A2B036DBC8502]]} \
	-match exact -result 0000000008000000

tcltest::test Block_DES-1.76 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000008000000]]} \
	-match exact -result ca3a2b036dbc8502

tcltest::test Block_DES-1.77 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 5E0905517BB59BCF]]} \
	-match exact -result 0000000004000000

tcltest::test Block_DES-1.78 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000004000000]]} \
	-match exact -result 5e0905517bb59bcf

tcltest::test Block_DES-1.79 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 814EEB3B91D90726]]} \
	-match exact -result 0000000002000000

tcltest::test Block_DES-1.80 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000002000000]]} \
	-match exact -result 814eeb3b91d90726

tcltest::test Block_DES-1.81 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 4D49DB1532919C9F]]} \
	-match exact -result 0000000001000000

tcltest::test Block_DES-1.82 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000001000000]]} \
	-match exact -result 4d49db1532919c9f

tcltest::test Block_DES-1.83 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 25EB5FC3F8CF0621]]} \
	-match exact -result 0000000000800000

tcltest::test Block_DES-1.84 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000800000]]} \
	-match exact -result 25eb5fc3f8cf0621

tcltest::test Block_DES-1.85 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex AB6A20C0620D1C6F]]} \
	-match exact -result 0000000000400000

tcltest::test Block_DES-1.86 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000400000]]} \
	-match exact -result ab6a20c0620d1c6f

tcltest::test Block_DES-1.87 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 79E90DBC98F92CCA]]} \
	-match exact -result 0000000000200000

tcltest::test Block_DES-1.88 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000200000]]} \
	-match exact -result 79e90dbc98f92cca

tcltest::test Block_DES-1.89 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 866ECEDD8072BB0E]]} \
	-match exact -result 0000000000100000

tcltest::test Block_DES-1.90 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000100000]]} \
	-match exact -result 866ecedd8072bb0e

tcltest::test Block_DES-1.91 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 8B54536F2F3E64A8]]} \
	-match exact -result 0000000000080000

tcltest::test Block_DES-1.92 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000080000]]} \
	-match exact -result 8b54536f2f3e64a8

tcltest::test Block_DES-1.93 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex EA51D3975595B86B]]} \
	-match exact -result 0000000000040000

tcltest::test Block_DES-1.94 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000040000]]} \
	-match exact -result ea51d3975595b86b

tcltest::test Block_DES-1.95 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex CAFFC6AC4542DE31]]} \
	-match exact -result 0000000000020000

tcltest::test Block_DES-1.96 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000020000]]} \
	-match exact -result caffc6ac4542de31

tcltest::test Block_DES-1.97 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 8DD45A2DDF90796C]]} \
	-match exact -result 0000000000010000

tcltest::test Block_DES-1.98 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000010000]]} \
	-match exact -result 8dd45a2ddf90796c

tcltest::test Block_DES-1.99 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 1029D55E880EC2D0]]} \
	-match exact -result 0000000000008000

tcltest::test Block_DES-1.100 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000008000]]} \
	-match exact -result 1029d55e880ec2d0

tcltest::test Block_DES-1.101 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 5D86CB23639DBEA9]]} \
	-match exact -result 0000000000004000

tcltest::test Block_DES-1.102 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000004000]]} \
	-match exact -result 5d86cb23639dbea9

tcltest::test Block_DES-1.103 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 1D1CA853AE7C0C5F]]} \
	-match exact -result 0000000000002000

tcltest::test Block_DES-1.104 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000002000]]} \
	-match exact -result 1d1ca853ae7c0c5f

tcltest::test Block_DES-1.105 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex CE332329248F3228]]} \
	-match exact -result 0000000000001000

tcltest::test Block_DES-1.106 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000001000]]} \
	-match exact -result ce332329248f3228

tcltest::test Block_DES-1.107 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 8405D1ABE24FB942]]} \
	-match exact -result 0000000000000800

tcltest::test Block_DES-1.108 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000800]]} \
	-match exact -result 8405d1abe24fb942

tcltest::test Block_DES-1.109 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E643D78090CA4207]]} \
	-match exact -result 0000000000000400

tcltest::test Block_DES-1.110 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000400]]} \
	-match exact -result e643d78090ca4207

tcltest::test Block_DES-1.111 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 48221B9937748A23]]} \
	-match exact -result 0000000000000200

tcltest::test Block_DES-1.112 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000200]]} \
	-match exact -result 48221b9937748a23

tcltest::test Block_DES-1.113 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex DD7C0BBD61FAFD54]]} \
	-match exact -result 0000000000000100

tcltest::test Block_DES-1.114 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000100]]} \
	-match exact -result dd7c0bbd61fafd54

tcltest::test Block_DES-1.115 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 2FBC291A570DB5C4]]} \
	-match exact -result 0000000000000080

tcltest::test Block_DES-1.116 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000080]]} \
	-match exact -result 2fbc291a570db5c4

tcltest::test Block_DES-1.117 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex E07C30D7E4E26E12]]} \
	-match exact -result 0000000000000040

tcltest::test Block_DES-1.118 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000040]]} \
	-match exact -result e07c30d7e4e26e12

tcltest::test Block_DES-1.119 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0953E2258E8E90A1]]} \
	-match exact -result 0000000000000020

tcltest::test Block_DES-1.120 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000020]]} \
	-match exact -result 0953e2258e8e90a1

tcltest::test Block_DES-1.121 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 5B711BC4CEEBF2EE]]} \
	-match exact -result 0000000000000010

tcltest::test Block_DES-1.122 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000010]]} \
	-match exact -result 5b711bc4ceebf2ee

tcltest::test Block_DES-1.123 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex CC083F1E6D9E85F6]]} \
	-match exact -result 0000000000000008

tcltest::test Block_DES-1.124 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000008]]} \
	-match exact -result cc083f1e6d9e85f6

tcltest::test Block_DES-1.125 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex D2FD8867D50D2DFE]]} \
	-match exact -result 0000000000000004

tcltest::test Block_DES-1.126 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000004]]} \
	-match exact -result d2fd8867d50d2dfe

tcltest::test Block_DES-1.127 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 06E7EA22CE92708F]]} \
	-match exact -result 0000000000000002

tcltest::test Block_DES-1.128 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000002]]} \
	-match exact -result 06e7ea22ce92708f

tcltest::test Block_DES-1.129 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 166B40B44ABA4BD6]]} \
	-match exact -result 0000000000000001

tcltest::test Block_DES-1.130 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000001]]} \
	-match exact -result 166b40b44aba4bd6

tcltest::test Block_DES-1.131 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 7CA110454A1A6E57] \
		-data [binary decode hex 01A1D6D039776742]]} \
	-match exact -result 690f5b0d9a26939b

tcltest::test Block_DES-1.132 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 7CA110454A1A6E57] \
		-data [binary decode hex 690F5B0D9A26939B]]} \
	-match exact -result 01a1d6d039776742

tcltest::test Block_DES-1.133 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0131D9619DC1376E] \
		-data [binary decode hex 5CD54CA83DEF57DA]]} \
	-match exact -result 7a389d10354bd271

tcltest::test Block_DES-1.134 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0131D9619DC1376E] \
		-data [binary decode hex 7A389D10354BD271]]} \
	-match exact -result 5cd54ca83def57da

tcltest::test Block_DES-1.135 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 07A1133E4A0B2686] \
		-data [binary decode hex 0248D43806F67172]]} \
	-match exact -result 868ebb51cab4599a

tcltest::test Block_DES-1.136 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 07A1133E4A0B2686] \
		-data [binary decode hex 868EBB51CAB4599A]]} \
	-match exact -result 0248d43806f67172

tcltest::test Block_DES-1.137 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 3849674C2602319E] \
		-data [binary decode hex 51454B582DDF440A]]} \
	-match exact -result 7178876e01f19b2a

tcltest::test Block_DES-1.138 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 3849674C2602319E] \
		-data [binary decode hex 7178876E01F19B2A]]} \
	-match exact -result 51454b582ddf440a

tcltest::test Block_DES-1.139 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 04B915BA43FEB5B6] \
		-data [binary decode hex 42FD443059577FA2]]} \
	-match exact -result af37fb421f8c4095

tcltest::test Block_DES-1.140 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 04B915BA43FEB5B6] \
		-data [binary decode hex AF37FB421F8C4095]]} \
	-match exact -result 42fd443059577fa2

tcltest::test Block_DES-1.141 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0113B970FD34F2CE] \
		-data [binary decode hex 059B5E0851CF143A]]} \
	-match exact -result 86a560f10ec6d85b

tcltest::test Block_DES-1.142 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0113B970FD34F2CE] \
		-data [binary decode hex 86A560F10EC6D85B]]} \
	-match exact -result 059b5e0851cf143a

tcltest::test Block_DES-1.143 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0170F175468FB5E6] \
		-data [binary decode hex 0756D8E0774761D2]]} \
	-match exact -result 0cd3da020021dc09

tcltest::test Block_DES-1.144 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0170F175468FB5E6] \
		-data [binary decode hex 0CD3DA020021DC09]]} \
	-match exact -result 0756d8e0774761d2

tcltest::test Block_DES-1.145 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 43297FAD38E373FE] \
		-data [binary decode hex 762514B829BF486A]]} \
	-match exact -result ea676b2cb7db2b7a

tcltest::test Block_DES-1.146 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 43297FAD38E373FE] \
		-data [binary decode hex EA676B2CB7DB2B7A]]} \
	-match exact -result 762514b829bf486a

tcltest::test Block_DES-1.147 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 07A7137045DA2A16] \
		-data [binary decode hex 3BDD119049372802]]} \
	-match exact -result dfd64a815caf1a0f

tcltest::test Block_DES-1.148 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 07A7137045DA2A16] \
		-data [binary decode hex DFD64A815CAF1A0F]]} \
	-match exact -result 3bdd119049372802

tcltest::test Block_DES-1.149 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 04689104C2FD3B2F] \
		-data [binary decode hex 26955F6835AF609A]]} \
	-match exact -result 5c513c9c4886c088

tcltest::test Block_DES-1.150 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 04689104C2FD3B2F] \
		-data [binary decode hex 5C513C9C4886C088]]} \
	-match exact -result 26955f6835af609a

tcltest::test Block_DES-1.151 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 37D06BB516CB7546] \
		-data [binary decode hex 164D5E404F275232]]} \
	-match exact -result 0a2aeeae3ff4ab77

tcltest::test Block_DES-1.152 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 37D06BB516CB7546] \
		-data [binary decode hex 0A2AEEAE3FF4AB77]]} \
	-match exact -result 164d5e404f275232

tcltest::test Block_DES-1.153 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 1F08260D1AC2465E] \
		-data [binary decode hex 6B056E18759F5CCA]]} \
	-match exact -result ef1bf03e5dfa575a

tcltest::test Block_DES-1.154 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 1F08260D1AC2465E] \
		-data [binary decode hex EF1BF03E5DFA575A]]} \
	-match exact -result 6b056e18759f5cca

tcltest::test Block_DES-1.155 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 584023641ABA6176] \
		-data [binary decode hex 004BD6EF09176062]]} \
	-match exact -result 88bf0db6d70dee56

tcltest::test Block_DES-1.156 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 584023641ABA6176] \
		-data [binary decode hex 88BF0DB6D70DEE56]]} \
	-match exact -result 004bd6ef09176062

tcltest::test Block_DES-1.157 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 025816164629B007] \
		-data [binary decode hex 480D39006EE762F2]]} \
	-match exact -result a1f9915541020b56

tcltest::test Block_DES-1.158 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 025816164629B007] \
		-data [binary decode hex A1F9915541020B56]]} \
	-match exact -result 480d39006ee762f2

tcltest::test Block_DES-1.159 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 49793EBC79B3258F] \
		-data [binary decode hex 437540C8698F3CFA]]} \
	-match exact -result 6fbf1cafcffd0556

tcltest::test Block_DES-1.160 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 49793EBC79B3258F] \
		-data [binary decode hex 6FBF1CAFCFFD0556]]} \
	-match exact -result 437540c8698f3cfa

tcltest::test Block_DES-1.161 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 4FB05E1515AB73A7] \
		-data [binary decode hex 072D43A077075292]]} \
	-match exact -result 2f22e49bab7ca1ac

tcltest::test Block_DES-1.162 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 4FB05E1515AB73A7] \
		-data [binary decode hex 2F22E49BAB7CA1AC]]} \
	-match exact -result 072d43a077075292

tcltest::test Block_DES-1.163 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 49E95D6D4CA229BF] \
		-data [binary decode hex 02FE55778117F12A]]} \
	-match exact -result 5a6b612cc26cce4a

tcltest::test Block_DES-1.164 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 49E95D6D4CA229BF] \
		-data [binary decode hex 5A6B612CC26CCE4A]]} \
	-match exact -result 02fe55778117f12a

tcltest::test Block_DES-1.165 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 018310DC409B26D6] \
		-data [binary decode hex 1D9D5C5018F728C2]]} \
	-match exact -result 5f4c038ed12b2e41

tcltest::test Block_DES-1.166 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 018310DC409B26D6] \
		-data [binary decode hex 5F4C038ED12B2E41]]} \
	-match exact -result 1d9d5c5018f728c2

tcltest::test Block_DES-1.167 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 1C587F1C13924FEF] \
		-data [binary decode hex 305532286D6F295A]]} \
	-match exact -result 63fac0d034d9f793

tcltest::test Block_DES-1.168 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 1C587F1C13924FEF] \
		-data [binary decode hex 63FAC0D034D9F793]]} \
	-match exact -result 305532286d6f295a

tcltest::test Block_DES-1.169 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 10316E028C8F3B4A] \
		-data [binary decode hex 0000000000000000]]} \
	-match exact -result 82dcbafbdeab6602

tcltest::test Block_DES-1.170 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 10316E028C8F3B4A] \
		-data [binary decode hex 82DCBAFBDEAB6602]]} \
	-match exact -result 0000000000000000

tcltest::test Block_DES-1.171 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 0000000000000000]]} \
	-match exact -result 8000000000000000

tcltest::test Block_DES-1.172 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		-key [binary decode hex 0101010101010101] \
		-data [binary decode hex 8000000000000000]]} \
	-match exact -result 0000000000000000

# Cleanup
::tcltest::cleanupTests
return








|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|


|


|
|





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
# Auto generated from "DES.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES [expr {[lsearch -nocase [tls::ciphers] DES] > -1}]

tcltest::test Symetric_Block_DES-1.1 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 10316E028C8F3B4A] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 82dcbafbdeab6602

tcltest::test Symetric_Block_DES-1.2 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 10316E028C8F3B4A] \
		 -data [binary decode hex 82DCBAFBDEAB6602]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_DES-1.3 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 95F8A5E5DD31D900]]} \
	-match exact -result 8000000000000000

tcltest::test Symetric_Block_DES-1.4 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 8000000000000000]]} \
	-match exact -result 95f8a5e5dd31d900

tcltest::test Symetric_Block_DES-1.5 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex DD7F121CA5015619]]} \
	-match exact -result 4000000000000000

tcltest::test Symetric_Block_DES-1.6 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 4000000000000000]]} \
	-match exact -result dd7f121ca5015619

tcltest::test Symetric_Block_DES-1.7 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 2E8653104F3834EA]]} \
	-match exact -result 2000000000000000

tcltest::test Symetric_Block_DES-1.8 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 2000000000000000]]} \
	-match exact -result 2e8653104f3834ea

tcltest::test Symetric_Block_DES-1.9 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 4BD388FF6CD81D4F]]} \
	-match exact -result 1000000000000000

tcltest::test Symetric_Block_DES-1.10 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 1000000000000000]]} \
	-match exact -result 4bd388ff6cd81d4f

tcltest::test Symetric_Block_DES-1.11 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 20B9E767B2FB1456]]} \
	-match exact -result 0800000000000000

tcltest::test Symetric_Block_DES-1.12 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0800000000000000]]} \
	-match exact -result 20b9e767b2fb1456

tcltest::test Symetric_Block_DES-1.13 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 55579380D77138EF]]} \
	-match exact -result 0400000000000000

tcltest::test Symetric_Block_DES-1.14 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0400000000000000]]} \
	-match exact -result 55579380d77138ef

tcltest::test Symetric_Block_DES-1.15 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 6CC5DEFAAF04512F]]} \
	-match exact -result 0200000000000000

tcltest::test Symetric_Block_DES-1.16 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0200000000000000]]} \
	-match exact -result 6cc5defaaf04512f

tcltest::test Symetric_Block_DES-1.17 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0D9F279BA5D87260]]} \
	-match exact -result 0100000000000000

tcltest::test Symetric_Block_DES-1.18 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0100000000000000]]} \
	-match exact -result 0d9f279ba5d87260

tcltest::test Symetric_Block_DES-1.19 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex D9031B0271BD5A0A]]} \
	-match exact -result 0080000000000000

tcltest::test Symetric_Block_DES-1.20 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0080000000000000]]} \
	-match exact -result d9031b0271bd5a0a

tcltest::test Symetric_Block_DES-1.21 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 424250B37C3DD951]]} \
	-match exact -result 0040000000000000

tcltest::test Symetric_Block_DES-1.22 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0040000000000000]]} \
	-match exact -result 424250b37c3dd951

tcltest::test Symetric_Block_DES-1.23 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex B8061B7ECD9A21E5]]} \
	-match exact -result 0020000000000000

tcltest::test Symetric_Block_DES-1.24 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0020000000000000]]} \
	-match exact -result b8061b7ecd9a21e5

tcltest::test Symetric_Block_DES-1.25 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex F15D0F286B65BD28]]} \
	-match exact -result 0010000000000000

tcltest::test Symetric_Block_DES-1.26 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0010000000000000]]} \
	-match exact -result f15d0f286b65bd28

tcltest::test Symetric_Block_DES-1.27 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex ADD0CC8D6E5DEBA1]]} \
	-match exact -result 0008000000000000

tcltest::test Symetric_Block_DES-1.28 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0008000000000000]]} \
	-match exact -result add0cc8d6e5deba1

tcltest::test Symetric_Block_DES-1.29 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E6D5F82752AD63D1]]} \
	-match exact -result 0004000000000000

tcltest::test Symetric_Block_DES-1.30 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0004000000000000]]} \
	-match exact -result e6d5f82752ad63d1

tcltest::test Symetric_Block_DES-1.31 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex ECBFE3BD3F591A5E]]} \
	-match exact -result 0002000000000000

tcltest::test Symetric_Block_DES-1.32 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0002000000000000]]} \
	-match exact -result ecbfe3bd3f591a5e

tcltest::test Symetric_Block_DES-1.33 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex F356834379D165CD]]} \
	-match exact -result 0001000000000000

tcltest::test Symetric_Block_DES-1.34 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0001000000000000]]} \
	-match exact -result f356834379d165cd

tcltest::test Symetric_Block_DES-1.35 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 2B9F982F20037FA9]]} \
	-match exact -result 0000800000000000

tcltest::test Symetric_Block_DES-1.36 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000800000000000]]} \
	-match exact -result 2b9f982f20037fa9

tcltest::test Symetric_Block_DES-1.37 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 889DE068A16F0BE6]]} \
	-match exact -result 0000400000000000

tcltest::test Symetric_Block_DES-1.38 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000400000000000]]} \
	-match exact -result 889de068a16f0be6

tcltest::test Symetric_Block_DES-1.39 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E19E275D846A1298]]} \
	-match exact -result 0000200000000000

tcltest::test Symetric_Block_DES-1.40 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000200000000000]]} \
	-match exact -result e19e275d846a1298

tcltest::test Symetric_Block_DES-1.41 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 329A8ED523D71AEC]]} \
	-match exact -result 0000100000000000

tcltest::test Symetric_Block_DES-1.42 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000100000000000]]} \
	-match exact -result 329a8ed523d71aec

tcltest::test Symetric_Block_DES-1.43 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E7FCE22557D23C97]]} \
	-match exact -result 0000080000000000

tcltest::test Symetric_Block_DES-1.44 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000080000000000]]} \
	-match exact -result e7fce22557d23c97

tcltest::test Symetric_Block_DES-1.45 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 12A9F5817FF2D65D]]} \
	-match exact -result 0000040000000000

tcltest::test Symetric_Block_DES-1.46 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000040000000000]]} \
	-match exact -result 12a9f5817ff2d65d

tcltest::test Symetric_Block_DES-1.47 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex A484C3AD38DC9C19]]} \
	-match exact -result 0000020000000000

tcltest::test Symetric_Block_DES-1.48 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000020000000000]]} \
	-match exact -result a484c3ad38dc9c19

tcltest::test Symetric_Block_DES-1.49 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex FBE00A8A1EF8AD72]]} \
	-match exact -result 0000010000000000

tcltest::test Symetric_Block_DES-1.50 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000010000000000]]} \
	-match exact -result fbe00a8a1ef8ad72

tcltest::test Symetric_Block_DES-1.51 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 750D079407521363]]} \
	-match exact -result 0000008000000000

tcltest::test Symetric_Block_DES-1.52 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000008000000000]]} \
	-match exact -result 750d079407521363

tcltest::test Symetric_Block_DES-1.53 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 64FEED9C724C2FAF]]} \
	-match exact -result 0000004000000000

tcltest::test Symetric_Block_DES-1.54 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000004000000000]]} \
	-match exact -result 64feed9c724c2faf

tcltest::test Symetric_Block_DES-1.55 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex F02B263B328E2B60]]} \
	-match exact -result 0000002000000000

tcltest::test Symetric_Block_DES-1.56 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000002000000000]]} \
	-match exact -result f02b263b328e2b60

tcltest::test Symetric_Block_DES-1.57 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 9D64555A9A10B852]]} \
	-match exact -result 0000001000000000

tcltest::test Symetric_Block_DES-1.58 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000001000000000]]} \
	-match exact -result 9d64555a9a10b852

tcltest::test Symetric_Block_DES-1.59 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex D106FF0BED5255D7]]} \
	-match exact -result 0000000800000000

tcltest::test Symetric_Block_DES-1.60 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000800000000]]} \
	-match exact -result d106ff0bed5255d7

tcltest::test Symetric_Block_DES-1.61 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E1652C6B138C64A5]]} \
	-match exact -result 0000000400000000

tcltest::test Symetric_Block_DES-1.62 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000400000000]]} \
	-match exact -result e1652c6b138c64a5

tcltest::test Symetric_Block_DES-1.63 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E428581186EC8F46]]} \
	-match exact -result 0000000200000000

tcltest::test Symetric_Block_DES-1.64 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000200000000]]} \
	-match exact -result e428581186ec8f46

tcltest::test Symetric_Block_DES-1.65 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex AEB5F5EDE22D1A36]]} \
	-match exact -result 0000000100000000

tcltest::test Symetric_Block_DES-1.66 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000100000000]]} \
	-match exact -result aeb5f5ede22d1a36

tcltest::test Symetric_Block_DES-1.67 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E943D7568AEC0C5C]]} \
	-match exact -result 0000000080000000

tcltest::test Symetric_Block_DES-1.68 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000080000000]]} \
	-match exact -result e943d7568aec0c5c

tcltest::test Symetric_Block_DES-1.69 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex DF98C8276F54B04B]]} \
	-match exact -result 0000000040000000

tcltest::test Symetric_Block_DES-1.70 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000040000000]]} \
	-match exact -result df98c8276f54b04b

tcltest::test Symetric_Block_DES-1.71 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex B160E4680F6C696F]]} \
	-match exact -result 0000000020000000

tcltest::test Symetric_Block_DES-1.72 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000020000000]]} \
	-match exact -result b160e4680f6c696f

tcltest::test Symetric_Block_DES-1.73 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex FA0752B07D9C4AB8]]} \
	-match exact -result 0000000010000000

tcltest::test Symetric_Block_DES-1.74 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000010000000]]} \
	-match exact -result fa0752b07d9c4ab8

tcltest::test Symetric_Block_DES-1.75 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex CA3A2B036DBC8502]]} \
	-match exact -result 0000000008000000

tcltest::test Symetric_Block_DES-1.76 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000008000000]]} \
	-match exact -result ca3a2b036dbc8502

tcltest::test Symetric_Block_DES-1.77 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 5E0905517BB59BCF]]} \
	-match exact -result 0000000004000000

tcltest::test Symetric_Block_DES-1.78 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000004000000]]} \
	-match exact -result 5e0905517bb59bcf

tcltest::test Symetric_Block_DES-1.79 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 814EEB3B91D90726]]} \
	-match exact -result 0000000002000000

tcltest::test Symetric_Block_DES-1.80 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000002000000]]} \
	-match exact -result 814eeb3b91d90726

tcltest::test Symetric_Block_DES-1.81 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 4D49DB1532919C9F]]} \
	-match exact -result 0000000001000000

tcltest::test Symetric_Block_DES-1.82 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000001000000]]} \
	-match exact -result 4d49db1532919c9f

tcltest::test Symetric_Block_DES-1.83 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 25EB5FC3F8CF0621]]} \
	-match exact -result 0000000000800000

tcltest::test Symetric_Block_DES-1.84 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000800000]]} \
	-match exact -result 25eb5fc3f8cf0621

tcltest::test Symetric_Block_DES-1.85 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex AB6A20C0620D1C6F]]} \
	-match exact -result 0000000000400000

tcltest::test Symetric_Block_DES-1.86 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000400000]]} \
	-match exact -result ab6a20c0620d1c6f

tcltest::test Symetric_Block_DES-1.87 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 79E90DBC98F92CCA]]} \
	-match exact -result 0000000000200000

tcltest::test Symetric_Block_DES-1.88 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000200000]]} \
	-match exact -result 79e90dbc98f92cca

tcltest::test Symetric_Block_DES-1.89 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 866ECEDD8072BB0E]]} \
	-match exact -result 0000000000100000

tcltest::test Symetric_Block_DES-1.90 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000100000]]} \
	-match exact -result 866ecedd8072bb0e

tcltest::test Symetric_Block_DES-1.91 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 8B54536F2F3E64A8]]} \
	-match exact -result 0000000000080000

tcltest::test Symetric_Block_DES-1.92 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000080000]]} \
	-match exact -result 8b54536f2f3e64a8

tcltest::test Symetric_Block_DES-1.93 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex EA51D3975595B86B]]} \
	-match exact -result 0000000000040000

tcltest::test Symetric_Block_DES-1.94 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000040000]]} \
	-match exact -result ea51d3975595b86b

tcltest::test Symetric_Block_DES-1.95 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex CAFFC6AC4542DE31]]} \
	-match exact -result 0000000000020000

tcltest::test Symetric_Block_DES-1.96 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000020000]]} \
	-match exact -result caffc6ac4542de31

tcltest::test Symetric_Block_DES-1.97 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 8DD45A2DDF90796C]]} \
	-match exact -result 0000000000010000

tcltest::test Symetric_Block_DES-1.98 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000010000]]} \
	-match exact -result 8dd45a2ddf90796c

tcltest::test Symetric_Block_DES-1.99 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 1029D55E880EC2D0]]} \
	-match exact -result 0000000000008000

tcltest::test Symetric_Block_DES-1.100 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000008000]]} \
	-match exact -result 1029d55e880ec2d0

tcltest::test Symetric_Block_DES-1.101 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 5D86CB23639DBEA9]]} \
	-match exact -result 0000000000004000

tcltest::test Symetric_Block_DES-1.102 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000004000]]} \
	-match exact -result 5d86cb23639dbea9

tcltest::test Symetric_Block_DES-1.103 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 1D1CA853AE7C0C5F]]} \
	-match exact -result 0000000000002000

tcltest::test Symetric_Block_DES-1.104 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000002000]]} \
	-match exact -result 1d1ca853ae7c0c5f

tcltest::test Symetric_Block_DES-1.105 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex CE332329248F3228]]} \
	-match exact -result 0000000000001000

tcltest::test Symetric_Block_DES-1.106 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000001000]]} \
	-match exact -result ce332329248f3228

tcltest::test Symetric_Block_DES-1.107 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 8405D1ABE24FB942]]} \
	-match exact -result 0000000000000800

tcltest::test Symetric_Block_DES-1.108 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000800]]} \
	-match exact -result 8405d1abe24fb942

tcltest::test Symetric_Block_DES-1.109 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E643D78090CA4207]]} \
	-match exact -result 0000000000000400

tcltest::test Symetric_Block_DES-1.110 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000400]]} \
	-match exact -result e643d78090ca4207

tcltest::test Symetric_Block_DES-1.111 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 48221B9937748A23]]} \
	-match exact -result 0000000000000200

tcltest::test Symetric_Block_DES-1.112 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000200]]} \
	-match exact -result 48221b9937748a23

tcltest::test Symetric_Block_DES-1.113 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex DD7C0BBD61FAFD54]]} \
	-match exact -result 0000000000000100

tcltest::test Symetric_Block_DES-1.114 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000100]]} \
	-match exact -result dd7c0bbd61fafd54

tcltest::test Symetric_Block_DES-1.115 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 2FBC291A570DB5C4]]} \
	-match exact -result 0000000000000080

tcltest::test Symetric_Block_DES-1.116 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000080]]} \
	-match exact -result 2fbc291a570db5c4

tcltest::test Symetric_Block_DES-1.117 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex E07C30D7E4E26E12]]} \
	-match exact -result 0000000000000040

tcltest::test Symetric_Block_DES-1.118 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000040]]} \
	-match exact -result e07c30d7e4e26e12

tcltest::test Symetric_Block_DES-1.119 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0953E2258E8E90A1]]} \
	-match exact -result 0000000000000020

tcltest::test Symetric_Block_DES-1.120 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000020]]} \
	-match exact -result 0953e2258e8e90a1

tcltest::test Symetric_Block_DES-1.121 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 5B711BC4CEEBF2EE]]} \
	-match exact -result 0000000000000010

tcltest::test Symetric_Block_DES-1.122 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000010]]} \
	-match exact -result 5b711bc4ceebf2ee

tcltest::test Symetric_Block_DES-1.123 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex CC083F1E6D9E85F6]]} \
	-match exact -result 0000000000000008

tcltest::test Symetric_Block_DES-1.124 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000008]]} \
	-match exact -result cc083f1e6d9e85f6

tcltest::test Symetric_Block_DES-1.125 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex D2FD8867D50D2DFE]]} \
	-match exact -result 0000000000000004

tcltest::test Symetric_Block_DES-1.126 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000004]]} \
	-match exact -result d2fd8867d50d2dfe

tcltest::test Symetric_Block_DES-1.127 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 06E7EA22CE92708F]]} \
	-match exact -result 0000000000000002

tcltest::test Symetric_Block_DES-1.128 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000002]]} \
	-match exact -result 06e7ea22ce92708f

tcltest::test Symetric_Block_DES-1.129 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 166B40B44ABA4BD6]]} \
	-match exact -result 0000000000000001

tcltest::test Symetric_Block_DES-1.130 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000001]]} \
	-match exact -result 166b40b44aba4bd6

tcltest::test Symetric_Block_DES-1.131 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 7CA110454A1A6E57] \
		 -data [binary decode hex 01A1D6D039776742]]} \
	-match exact -result 690f5b0d9a26939b

tcltest::test Symetric_Block_DES-1.132 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 7CA110454A1A6E57] \
		 -data [binary decode hex 690F5B0D9A26939B]]} \
	-match exact -result 01a1d6d039776742

tcltest::test Symetric_Block_DES-1.133 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0131D9619DC1376E] \
		 -data [binary decode hex 5CD54CA83DEF57DA]]} \
	-match exact -result 7a389d10354bd271

tcltest::test Symetric_Block_DES-1.134 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0131D9619DC1376E] \
		 -data [binary decode hex 7A389D10354BD271]]} \
	-match exact -result 5cd54ca83def57da

tcltest::test Symetric_Block_DES-1.135 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 07A1133E4A0B2686] \
		 -data [binary decode hex 0248D43806F67172]]} \
	-match exact -result 868ebb51cab4599a

tcltest::test Symetric_Block_DES-1.136 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 07A1133E4A0B2686] \
		 -data [binary decode hex 868EBB51CAB4599A]]} \
	-match exact -result 0248d43806f67172

tcltest::test Symetric_Block_DES-1.137 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 3849674C2602319E] \
		 -data [binary decode hex 51454B582DDF440A]]} \
	-match exact -result 7178876e01f19b2a

tcltest::test Symetric_Block_DES-1.138 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 3849674C2602319E] \
		 -data [binary decode hex 7178876E01F19B2A]]} \
	-match exact -result 51454b582ddf440a

tcltest::test Symetric_Block_DES-1.139 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 04B915BA43FEB5B6] \
		 -data [binary decode hex 42FD443059577FA2]]} \
	-match exact -result af37fb421f8c4095

tcltest::test Symetric_Block_DES-1.140 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 04B915BA43FEB5B6] \
		 -data [binary decode hex AF37FB421F8C4095]]} \
	-match exact -result 42fd443059577fa2

tcltest::test Symetric_Block_DES-1.141 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0113B970FD34F2CE] \
		 -data [binary decode hex 059B5E0851CF143A]]} \
	-match exact -result 86a560f10ec6d85b

tcltest::test Symetric_Block_DES-1.142 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0113B970FD34F2CE] \
		 -data [binary decode hex 86A560F10EC6D85B]]} \
	-match exact -result 059b5e0851cf143a

tcltest::test Symetric_Block_DES-1.143 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0170F175468FB5E6] \
		 -data [binary decode hex 0756D8E0774761D2]]} \
	-match exact -result 0cd3da020021dc09

tcltest::test Symetric_Block_DES-1.144 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0170F175468FB5E6] \
		 -data [binary decode hex 0CD3DA020021DC09]]} \
	-match exact -result 0756d8e0774761d2

tcltest::test Symetric_Block_DES-1.145 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 43297FAD38E373FE] \
		 -data [binary decode hex 762514B829BF486A]]} \
	-match exact -result ea676b2cb7db2b7a

tcltest::test Symetric_Block_DES-1.146 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 43297FAD38E373FE] \
		 -data [binary decode hex EA676B2CB7DB2B7A]]} \
	-match exact -result 762514b829bf486a

tcltest::test Symetric_Block_DES-1.147 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 07A7137045DA2A16] \
		 -data [binary decode hex 3BDD119049372802]]} \
	-match exact -result dfd64a815caf1a0f

tcltest::test Symetric_Block_DES-1.148 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 07A7137045DA2A16] \
		 -data [binary decode hex DFD64A815CAF1A0F]]} \
	-match exact -result 3bdd119049372802

tcltest::test Symetric_Block_DES-1.149 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 04689104C2FD3B2F] \
		 -data [binary decode hex 26955F6835AF609A]]} \
	-match exact -result 5c513c9c4886c088

tcltest::test Symetric_Block_DES-1.150 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 04689104C2FD3B2F] \
		 -data [binary decode hex 5C513C9C4886C088]]} \
	-match exact -result 26955f6835af609a

tcltest::test Symetric_Block_DES-1.151 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 37D06BB516CB7546] \
		 -data [binary decode hex 164D5E404F275232]]} \
	-match exact -result 0a2aeeae3ff4ab77

tcltest::test Symetric_Block_DES-1.152 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 37D06BB516CB7546] \
		 -data [binary decode hex 0A2AEEAE3FF4AB77]]} \
	-match exact -result 164d5e404f275232

tcltest::test Symetric_Block_DES-1.153 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 1F08260D1AC2465E] \
		 -data [binary decode hex 6B056E18759F5CCA]]} \
	-match exact -result ef1bf03e5dfa575a

tcltest::test Symetric_Block_DES-1.154 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 1F08260D1AC2465E] \
		 -data [binary decode hex EF1BF03E5DFA575A]]} \
	-match exact -result 6b056e18759f5cca

tcltest::test Symetric_Block_DES-1.155 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 584023641ABA6176] \
		 -data [binary decode hex 004BD6EF09176062]]} \
	-match exact -result 88bf0db6d70dee56

tcltest::test Symetric_Block_DES-1.156 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 584023641ABA6176] \
		 -data [binary decode hex 88BF0DB6D70DEE56]]} \
	-match exact -result 004bd6ef09176062

tcltest::test Symetric_Block_DES-1.157 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 025816164629B007] \
		 -data [binary decode hex 480D39006EE762F2]]} \
	-match exact -result a1f9915541020b56

tcltest::test Symetric_Block_DES-1.158 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 025816164629B007] \
		 -data [binary decode hex A1F9915541020B56]]} \
	-match exact -result 480d39006ee762f2

tcltest::test Symetric_Block_DES-1.159 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 49793EBC79B3258F] \
		 -data [binary decode hex 437540C8698F3CFA]]} \
	-match exact -result 6fbf1cafcffd0556

tcltest::test Symetric_Block_DES-1.160 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 49793EBC79B3258F] \
		 -data [binary decode hex 6FBF1CAFCFFD0556]]} \
	-match exact -result 437540c8698f3cfa

tcltest::test Symetric_Block_DES-1.161 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 4FB05E1515AB73A7] \
		 -data [binary decode hex 072D43A077075292]]} \
	-match exact -result 2f22e49bab7ca1ac

tcltest::test Symetric_Block_DES-1.162 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 4FB05E1515AB73A7] \
		 -data [binary decode hex 2F22E49BAB7CA1AC]]} \
	-match exact -result 072d43a077075292

tcltest::test Symetric_Block_DES-1.163 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 49E95D6D4CA229BF] \
		 -data [binary decode hex 02FE55778117F12A]]} \
	-match exact -result 5a6b612cc26cce4a

tcltest::test Symetric_Block_DES-1.164 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 49E95D6D4CA229BF] \
		 -data [binary decode hex 5A6B612CC26CCE4A]]} \
	-match exact -result 02fe55778117f12a

tcltest::test Symetric_Block_DES-1.165 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 018310DC409B26D6] \
		 -data [binary decode hex 1D9D5C5018F728C2]]} \
	-match exact -result 5f4c038ed12b2e41

tcltest::test Symetric_Block_DES-1.166 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 018310DC409B26D6] \
		 -data [binary decode hex 5F4C038ED12B2E41]]} \
	-match exact -result 1d9d5c5018f728c2

tcltest::test Symetric_Block_DES-1.167 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 1C587F1C13924FEF] \
		 -data [binary decode hex 305532286D6F295A]]} \
	-match exact -result 63fac0d034d9f793

tcltest::test Symetric_Block_DES-1.168 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 1C587F1C13924FEF] \
		 -data [binary decode hex 63FAC0D034D9F793]]} \
	-match exact -result 305532286d6f295a

tcltest::test Symetric_Block_DES-1.169 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 10316E028C8F3B4A] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 82dcbafbdeab6602

tcltest::test Symetric_Block_DES-1.170 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 10316E028C8F3B4A] \
		 -data [binary decode hex 82DCBAFBDEAB6602]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_DES-1.171 {Encrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::encrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 8000000000000000

tcltest::test Symetric_Block_DES-1.172 {Decrypt DES} \
	-constraints DES \
	-body {binary encode hex [tls::decrypt -cipher DES -padding 0 \
		 -key [binary decode hex 0101010101010101] \
		 -data [binary decode hex 8000000000000000]]} \
	-match exact -result 0000000000000000

# Cleanup
::tcltest::cleanupTests
return

Modified tests/test_vectors/Symetric_Block/DES3.test from [8f0c923444] to [abdc263722].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES3.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES3 [expr {[lsearch -nocase [tls::ciphers] DES3] > -1}]

tcltest::test Block_DES3-1.1 {Encrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::encrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7

tcltest::test Block_DES3-1.2 {Decrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::decrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Block_DES3-1.3 {Encrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::encrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581

tcltest::test Block_DES3-1.4 {Decrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::decrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51









|







|







|







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Auto generated from "DES3.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint DES3 [expr {[lsearch -nocase [tls::ciphers] DES3] > -1}]

tcltest::test Symetric_Block_DES3-1.1 {Encrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::encrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7

tcltest::test Symetric_Block_DES3-1.2 {Decrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::decrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef01456789abcdef0123] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 2079c3d53aa763e193b79e2569ab5262516570481f25b50f73c0bda85c8e0da7]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_DES3-1.3 {Encrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::encrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51]]} \
	-match exact -result 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581

tcltest::test Symetric_Block_DES3-1.4 {Decrypt DES3} \
	-constraints DES3 \
	-body {binary encode hex [tls::decrypt -cipher DES3 -padding 0 \
		 -key [binary decode hex 0123456789abcdef23456789abcdef010123456789abcdef] \
		 -iv [binary decode hex f69f2445df4f9b17] \
		 -data [binary decode hex 7401ce1eab6d003caff84bf47b36cc2154f0238f9ffecd8f6acf118392b45581]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51

Added tests/test_vectors/Symetric_Block/IDEA-CBC.test version [8aab9b72a4].























































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
# Auto generated from "IDEA-CBC.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint IDEA_CBC [expr {[lsearch -nocase [tls::ciphers] IDEA-CBC] > -1}]

tcltest::test Symetric_Block_IDEA-CBC-1.1 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 1f8e4973953f3fb0bd6b16662e9a3c17] \
		 -iv [binary decode hex 2fe2b333ceda8f98] \
		 -data [binary decode hex 45cf12964fc824ab76616ae2f4bf0822]]} \
	-match exact -result 2cb10d22ac22a375c0021ab6732936c1

tcltest::test Symetric_Block_IDEA-CBC-1.2 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 1f8e4973953f3fb0bd6b16662e9a3c17] \
		 -iv [binary decode hex 2fe2b333ceda8f98] \
		 -data [binary decode hex 2cb10d22ac22a375c0021ab6732936c1]]} \
	-match exact -result 45cf12964fc824ab76616ae2f4bf0822

tcltest::test Symetric_Block_IDEA-CBC-1.3 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 0700d603a1c514e46b6191ba430a3a0c] \
		 -iv [binary decode hex aad1583cd91365e3] \
		 -data [binary decode hex 068b25c7bfb1f8bdd4cfc908f69dffc5ddc726a197f0e5f720f730393279be91]]} \
	-match exact -result 4af8370c69ae4e45cc5a395e790272d5a5a0895dee1f336f0067963bd9ed55c7

tcltest::test Symetric_Block_IDEA-CBC-1.4 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 0700d603a1c514e46b6191ba430a3a0c] \
		 -iv [binary decode hex aad1583cd91365e3] \
		 -data [binary decode hex 4af8370c69ae4e45cc5a395e790272d5a5a0895dee1f336f0067963bd9ed55c7]]} \
	-match exact -result 068b25c7bfb1f8bdd4cfc908f69dffc5ddc726a197f0e5f720f730393279be91

tcltest::test Symetric_Block_IDEA-CBC-1.5 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 3348aa51e9a45c2dbe33ccc47f96e8de] \
		 -iv [binary decode hex 19153c673160df2b] \
		 -data [binary decode hex 9b7cee827a26575afdbb7c7a329f887238052e3601a7917456ba61251c214763d5e1847a6ad5d54127a399ab07ee3599]]} \
	-match exact -result 09738cbc8c7764dd63206892eca29fbc3a67f7fe44ded6b128a0350426776ea71d0c9a1b6d627e1e3d014837dd82f11a

tcltest::test Symetric_Block_IDEA-CBC-1.6 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 3348aa51e9a45c2dbe33ccc47f96e8de] \
		 -iv [binary decode hex 19153c673160df2b] \
		 -data [binary decode hex 09738cbc8c7764dd63206892eca29fbc3a67f7fe44ded6b128a0350426776ea71d0c9a1b6d627e1e3d014837dd82f11a]]} \
	-match exact -result 9b7cee827a26575afdbb7c7a329f887238052e3601a7917456ba61251c214763d5e1847a6ad5d54127a399ab07ee3599

tcltest::test Symetric_Block_IDEA-CBC-1.7 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex b7f3c9576e12dd0db63e8f8fac2b9a39] \
		 -iv [binary decode hex c80f095d8bb1a060] \
		 -data [binary decode hex 9ac19954ce1319b354d3220460f71c1e373f1cd336240881160cfde46ebfed2e791e8d5a1a136ebd1dc469dec00c4187722b841cdabcb22c1be8a14657da200e]]} \
	-match exact -result 956c2993f77485da8f50b09ea7aa532f7c0aa1f63af0ac998680514a16c99d143261f7434f9a9c0fcb26a02175fde4b4093e1efe672cfe12509cf3d455c3ab01

tcltest::test Symetric_Block_IDEA-CBC-1.8 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex b7f3c9576e12dd0db63e8f8fac2b9a39] \
		 -iv [binary decode hex c80f095d8bb1a060] \
		 -data [binary decode hex 956c2993f77485da8f50b09ea7aa532f7c0aa1f63af0ac998680514a16c99d143261f7434f9a9c0fcb26a02175fde4b4093e1efe672cfe12509cf3d455c3ab01]]} \
	-match exact -result 9ac19954ce1319b354d3220460f71c1e373f1cd336240881160cfde46ebfed2e791e8d5a1a136ebd1dc469dec00c4187722b841cdabcb22c1be8a14657da200e

tcltest::test Symetric_Block_IDEA-CBC-1.9 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex b6f9afbfe5a1562bba1368fc72ac9d9c] \
		 -iv [binary decode hex 3f9d5ebe250ee7ce] \
		 -data [binary decode hex db397ec22718dbffb9c9d13de0efcd4611bf792be4fce0dc5f25d4f577ed8cdbd4eb9208d593dda3d4653954ab64f05676caa3ce9bfa795b08b67ceebc923fdc89a8c431188e9e482d8553982cf304d1]]} \
	-match exact -result 3831f1265df609c006a15c2b963465e8a0d77bbec6e6d332f0b384479f0f34d2a7ed722607e077170a97ca9cdf526602972823c562c87187b8dc5f5d7de27a80c58bcaa95f5f7cae9c5b70938bb7de9f

tcltest::test Symetric_Block_IDEA-CBC-1.10 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex b6f9afbfe5a1562bba1368fc72ac9d9c] \
		 -iv [binary decode hex 3f9d5ebe250ee7ce] \
		 -data [binary decode hex 3831f1265df609c006a15c2b963465e8a0d77bbec6e6d332f0b384479f0f34d2a7ed722607e077170a97ca9cdf526602972823c562c87187b8dc5f5d7de27a80c58bcaa95f5f7cae9c5b70938bb7de9f]]} \
	-match exact -result db397ec22718dbffb9c9d13de0efcd4611bf792be4fce0dc5f25d4f577ed8cdbd4eb9208d593dda3d4653954ab64f05676caa3ce9bfa795b08b67ceebc923fdc89a8c431188e9e482d8553982cf304d1

tcltest::test Symetric_Block_IDEA-CBC-1.11 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex bbe7b7ba07124ff1ae7c3416fe8b465e] \
		 -iv [binary decode hex 7f65b5ee3630bed6] \
		 -data [binary decode hex 2aad0c2c4306568bad7447460fd3dac054346d26feddbc9abd9110914011b4794be2a9a00a519a51a5b5124014f4ed2735480db21b434e99a911bb0b60fe0253763725b628d5739a5117b7ee3aefafc5b4c1bf446467e7bf5f78f31ff7caf187]]} \
	-match exact -result 5ee0a43a2dd9d14eee83d99e51598870a3b4221f28a2eb77b3612fec3c92037ff9eccab303d225d89f313a8894d1de97f3e87a93684290a17622766eda764308e1abe6153f638a3e8e1e6e0f36cca66ee06fa21457266c4291d8456fa84aaa09

tcltest::test Symetric_Block_IDEA-CBC-1.12 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex bbe7b7ba07124ff1ae7c3416fe8b465e] \
		 -iv [binary decode hex 7f65b5ee3630bed6] \
		 -data [binary decode hex 5ee0a43a2dd9d14eee83d99e51598870a3b4221f28a2eb77b3612fec3c92037ff9eccab303d225d89f313a8894d1de97f3e87a93684290a17622766eda764308e1abe6153f638a3e8e1e6e0f36cca66ee06fa21457266c4291d8456fa84aaa09]]} \
	-match exact -result 2aad0c2c4306568bad7447460fd3dac054346d26feddbc9abd9110914011b4794be2a9a00a519a51a5b5124014f4ed2735480db21b434e99a911bb0b60fe0253763725b628d5739a5117b7ee3aefafc5b4c1bf446467e7bf5f78f31ff7caf187

tcltest::test Symetric_Block_IDEA-CBC-1.13 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 89a553730433f7e6d67d16d373bd5360] \
		 -iv [binary decode hex f724558db3433a52] \
		 -data [binary decode hex 807bc4ea684eedcfdcca30180680b0f1ae2814f35f36d053c5aea6595a386c1442770f4d7297d8b91825ee7237241da8925dd594ccf676aecd46ca2068e8d37a3a0ec8a7d5185a201e663b5ff36ae197110188a23503763b8218826d23ced74b31e9f6e2d7fbfa6cb43420c7807a8625]]} \
	-match exact -result 1c1fa2b32f704963913dd890dc5504d9a4562587f60e15dcf5351bc89ebf4467679ba38d6febb3063745c88e53c4e2866b7fdfe0916cb6196da3f96d0d69dd605d603a80e8da4782f6458f65a0ab55541a0cdac68095b4835ffa0d119cf5d4e40dbf19731cddcfd57cb5cf6250abfa0d

tcltest::test Symetric_Block_IDEA-CBC-1.14 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 89a553730433f7e6d67d16d373bd5360] \
		 -iv [binary decode hex f724558db3433a52] \
		 -data [binary decode hex 1c1fa2b32f704963913dd890dc5504d9a4562587f60e15dcf5351bc89ebf4467679ba38d6febb3063745c88e53c4e2866b7fdfe0916cb6196da3f96d0d69dd605d603a80e8da4782f6458f65a0ab55541a0cdac68095b4835ffa0d119cf5d4e40dbf19731cddcfd57cb5cf6250abfa0d]]} \
	-match exact -result 807bc4ea684eedcfdcca30180680b0f1ae2814f35f36d053c5aea6595a386c1442770f4d7297d8b91825ee7237241da8925dd594ccf676aecd46ca2068e8d37a3a0ec8a7d5185a201e663b5ff36ae197110188a23503763b8218826d23ced74b31e9f6e2d7fbfa6cb43420c7807a8625

tcltest::test Symetric_Block_IDEA-CBC-1.15 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex c491ca31f91708458e29a925ec558d78] \
		 -iv [binary decode hex 9ef934946e5cd0ae] \
		 -data [binary decode hex cb6a787e0dec56f9a165957f81af336ca6b40785d9e94093c6190e5152649f882e874d79ac5e167bd2a74ce5ae088d2ee854f6539e0a94796b1e1bd4c9fcdbc79acbef4d01eeb89776d18af71ae2a4fc47dd66df6c4dbe1d1850e466549a47b636bcc7c2b3a62495b56bb67b6d455f1eebd9bfefecbca6c7f335cfce9b45cb9d]]} \
	-match exact -result 5b15322d02a4de6ee0847b029fa88eb39db00697113260bb5834128ed2201ec2c5e22f50bd274b5ae8dc24e4b721c3e5cb905d96595c869ca1db7cbe6389c8553b36f635a1fbbece6b1aba3ba9d0c6cb361aeb5708b61b99a2812b23f16ca0bc602f5dcb77a1eec677399a47b6ce5f9ebb90c32b2ff3c181a0ebcde94c46ff41

tcltest::test Symetric_Block_IDEA-CBC-1.16 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex c491ca31f91708458e29a925ec558d78] \
		 -iv [binary decode hex 9ef934946e5cd0ae] \
		 -data [binary decode hex 5b15322d02a4de6ee0847b029fa88eb39db00697113260bb5834128ed2201ec2c5e22f50bd274b5ae8dc24e4b721c3e5cb905d96595c869ca1db7cbe6389c8553b36f635a1fbbece6b1aba3ba9d0c6cb361aeb5708b61b99a2812b23f16ca0bc602f5dcb77a1eec677399a47b6ce5f9ebb90c32b2ff3c181a0ebcde94c46ff41]]} \
	-match exact -result cb6a787e0dec56f9a165957f81af336ca6b40785d9e94093c6190e5152649f882e874d79ac5e167bd2a74ce5ae088d2ee854f6539e0a94796b1e1bd4c9fcdbc79acbef4d01eeb89776d18af71ae2a4fc47dd66df6c4dbe1d1850e466549a47b636bcc7c2b3a62495b56bb67b6d455f1eebd9bfefecbca6c7f335cfce9b45cb9d

tcltest::test Symetric_Block_IDEA-CBC-1.17 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex f6e87d71b0104d6eb06a68dc6a71f498] \
		 -iv [binary decode hex 1c245f26195b76eb] \
		 -data [binary decode hex f82bef3c73a6f7f80db285726d691db6bf55eec25a859d3ba0e0445f26b9bb3b16a3161ed1866e4dd8f2e5f8ecb4e46d74a7a78c20cdfc7bcc9e479ba7a0caba9438238ad0c01651d5d98de37f03ddce6e6b4bd4ab03cf9e8ed818aedfa1cf963b932067b97d776dce1087196e7e913f7448e38244509f0caf36bd8217e15336d35c149fd4e41707893fdb84014f8729]]} \
	-match exact -result c2725ddb784b9cffe46543af4ac9f0e64edcd1678f26b3ee652af6d00ae164f7c07afd0fb773277401c2137070a6a59e39de429c032711756ce6b0c9b9dc69a0a1caaabff9da5855f7410656f8e09e00cee6f44c0fc93f9419d13ccfe63517a1c74afc3dabfd1b43171bfe097cf28ca5674fbd0fa58b0698289a92eb57cf1ff74b1d756ff113252a379f2bae8dd9cd3d

tcltest::test Symetric_Block_IDEA-CBC-1.18 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex f6e87d71b0104d6eb06a68dc6a71f498] \
		 -iv [binary decode hex 1c245f26195b76eb] \
		 -data [binary decode hex c2725ddb784b9cffe46543af4ac9f0e64edcd1678f26b3ee652af6d00ae164f7c07afd0fb773277401c2137070a6a59e39de429c032711756ce6b0c9b9dc69a0a1caaabff9da5855f7410656f8e09e00cee6f44c0fc93f9419d13ccfe63517a1c74afc3dabfd1b43171bfe097cf28ca5674fbd0fa58b0698289a92eb57cf1ff74b1d756ff113252a379f2bae8dd9cd3d]]} \
	-match exact -result f82bef3c73a6f7f80db285726d691db6bf55eec25a859d3ba0e0445f26b9bb3b16a3161ed1866e4dd8f2e5f8ecb4e46d74a7a78c20cdfc7bcc9e479ba7a0caba9438238ad0c01651d5d98de37f03ddce6e6b4bd4ab03cf9e8ed818aedfa1cf963b932067b97d776dce1087196e7e913f7448e38244509f0caf36bd8217e15336d35c149fd4e41707893fdb84014f8729

tcltest::test Symetric_Block_IDEA-CBC-1.19 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 2c14413751c31e2730570ba3361c786b] \
		 -iv [binary decode hex 1dbbeb2f19abb448] \
		 -data [binary decode hex 40d930f9a05334d9816fe204999c3f82a03f6a0457a8c475c94553d1d116693adc618049f0a769a2eed6a6cb14c0143ec5cccdbc8dec4ce560cfd206225709326d4de7948e54d603d01b12d7fed752fb23f1aa4494fbb00130e9ded4e77e37c079042d828040c325b1a5efd15fc842e44014ca4374bf38f3c3fc3ee327733b0c8aee1abcd055772f18dc04603f7b2c1ea69ff662361f2be0a171bbdcea1e5d3f]]} \
	-match exact -result d9ab48c7195d8dd8860860688b8b66a74b3798a97647d8106352d1e3d8bb6c353e2e561478d396fb432ab07392f5fdd39d610c8e046ffc5fe5eb8736ce87f43a05ec4f4bfb0142a1d32fde8bea7af6b9e22a3fe3823a979f73cd4f4eacc145e5e043dd1a3e2183d0ae3a1aa5d8fe78d9dd867c4bd54ab149bfaefc66647f8948881f712ed7b1eabdab62b71caea6f0face592ab5fcb668752bfa7cbc39a00d05

tcltest::test Symetric_Block_IDEA-CBC-1.20 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 2c14413751c31e2730570ba3361c786b] \
		 -iv [binary decode hex 1dbbeb2f19abb448] \
		 -data [binary decode hex d9ab48c7195d8dd8860860688b8b66a74b3798a97647d8106352d1e3d8bb6c353e2e561478d396fb432ab07392f5fdd39d610c8e046ffc5fe5eb8736ce87f43a05ec4f4bfb0142a1d32fde8bea7af6b9e22a3fe3823a979f73cd4f4eacc145e5e043dd1a3e2183d0ae3a1aa5d8fe78d9dd867c4bd54ab149bfaefc66647f8948881f712ed7b1eabdab62b71caea6f0face592ab5fcb668752bfa7cbc39a00d05]]} \
	-match exact -result 40d930f9a05334d9816fe204999c3f82a03f6a0457a8c475c94553d1d116693adc618049f0a769a2eed6a6cb14c0143ec5cccdbc8dec4ce560cfd206225709326d4de7948e54d603d01b12d7fed752fb23f1aa4494fbb00130e9ded4e77e37c079042d828040c325b1a5efd15fc842e44014ca4374bf38f3c3fc3ee327733b0c8aee1abcd055772f18dc04603f7b2c1ea69ff662361f2be0a171bbdcea1e5d3f

tcltest::test Symetric_Block_IDEA-CBC-1.21 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 6a7082cf8cda13eff48c8158dda206ae] \
		 -iv [binary decode hex bd4172934078c201] \
		 -data [binary decode hex 940bc76d61e2c49dddd5df7f37fcf105]]} \
	-match exact -result 05a31cd129886c6458ec0739472556de

tcltest::test Symetric_Block_IDEA-CBC-1.22 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 6a7082cf8cda13eff48c8158dda206ae] \
		 -iv [binary decode hex bd4172934078c201] \
		 -data [binary decode hex 05a31cd129886c6458ec0739472556de]]} \
	-match exact -result 940bc76d61e2c49dddd5df7f37fcf105

tcltest::test Symetric_Block_IDEA-CBC-1.23 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 625eefa18a4756454e218d8bfed56e36] \
		 -iv [binary decode hex 73d9d0e27c2ec568] \
		 -data [binary decode hex 360dc1896ce601dfb2a949250067aad96737847a4580ede2654a329b842fe81e]]} \
	-match exact -result b046b49207973f946668d49d3cd93a13bc9cf50bab20f40cca024e2fc3dd17ea

tcltest::test Symetric_Block_IDEA-CBC-1.24 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 625eefa18a4756454e218d8bfed56e36] \
		 -iv [binary decode hex 73d9d0e27c2ec568] \
		 -data [binary decode hex b046b49207973f946668d49d3cd93a13bc9cf50bab20f40cca024e2fc3dd17ea]]} \
	-match exact -result 360dc1896ce601dfb2a949250067aad96737847a4580ede2654a329b842fe81e

tcltest::test Symetric_Block_IDEA-CBC-1.25 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex fd6e0b954ae2e3b723d6c9fcae6ab09b] \
		 -iv [binary decode hex f08b65c9f4dd9500] \
		 -data [binary decode hex a206385945b21f812a9475f47fddbb7fbdda958a8d14c0dbcdaec36e8b28f1f6ececa1ceae4ce17721d162c1d42a66c1]]} \
	-match exact -result c25cbe4acc9e6909ed195e257a5f28beb77ceb614c538ef531b18778bbbfe1d25d70e4c9b37c4d1d9cde4361206f6173

tcltest::test Symetric_Block_IDEA-CBC-1.26 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex fd6e0b954ae2e3b723d6c9fcae6ab09b] \
		 -iv [binary decode hex f08b65c9f4dd9500] \
		 -data [binary decode hex c25cbe4acc9e6909ed195e257a5f28beb77ceb614c538ef531b18778bbbfe1d25d70e4c9b37c4d1d9cde4361206f6173]]} \
	-match exact -result a206385945b21f812a9475f47fddbb7fbdda958a8d14c0dbcdaec36e8b28f1f6ececa1ceae4ce17721d162c1d42a66c1

tcltest::test Symetric_Block_IDEA-CBC-1.27 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 7b1ab9144b0239315cd5eec6c75663bd] \
		 -iv [binary decode hex 0b1e74f45c17ff30] \
		 -data [binary decode hex b968aeb199ad6b3c8e01f26c2edad444538c78bfa36ed68ca76123b8cdce615a01f6112bb80bfc3f17490578fb1f909a52e162637b062db04efee291a1f1af60]]} \
	-match exact -result 08186d727f2bf0eee50e52f98775ae222b67b037f40f8a803aa6196fb200ee45a5183ccd4942677d4abe617a6c41c9c565dd79d44de12d9291f434939639e59c

tcltest::test Symetric_Block_IDEA-CBC-1.28 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 7b1ab9144b0239315cd5eec6c75663bd] \
		 -iv [binary decode hex 0b1e74f45c17ff30] \
		 -data [binary decode hex 08186d727f2bf0eee50e52f98775ae222b67b037f40f8a803aa6196fb200ee45a5183ccd4942677d4abe617a6c41c9c565dd79d44de12d9291f434939639e59c]]} \
	-match exact -result b968aeb199ad6b3c8e01f26c2edad444538c78bfa36ed68ca76123b8cdce615a01f6112bb80bfc3f17490578fb1f909a52e162637b062db04efee291a1f1af60

tcltest::test Symetric_Block_IDEA-CBC-1.29 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 36466b6bd25ea3857ea42f0cac1919b1] \
		 -iv [binary decode hex 7186fb6bdfa98a16] \
		 -data [binary decode hex 999983467c47bb1d66d7327ab5c58f61ddb09b93bd2460cb78cbc12b5fa1ea0c5f759ccc5e478697687012ff4673f6e61eecaeda0ccad2d674d3098c7d17f887b62b56f56b03b4d055bf3a4460e83efa]]} \
	-match exact -result 0b13ebbec3b66a240dc11cecb1b3a6d5cf2770d529f852a405da596170fa6067a28f07f41c9d520b6d7c3163395dbe875995809f24a4243e0e80e735d3d92307e07775300e10ee57ab916a043c29d3cc

tcltest::test Symetric_Block_IDEA-CBC-1.30 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 36466b6bd25ea3857ea42f0cac1919b1] \
		 -iv [binary decode hex 7186fb6bdfa98a16] \
		 -data [binary decode hex 0b13ebbec3b66a240dc11cecb1b3a6d5cf2770d529f852a405da596170fa6067a28f07f41c9d520b6d7c3163395dbe875995809f24a4243e0e80e735d3d92307e07775300e10ee57ab916a043c29d3cc]]} \
	-match exact -result 999983467c47bb1d66d7327ab5c58f61ddb09b93bd2460cb78cbc12b5fa1ea0c5f759ccc5e478697687012ff4673f6e61eecaeda0ccad2d674d3098c7d17f887b62b56f56b03b4d055bf3a4460e83efa

tcltest::test Symetric_Block_IDEA-CBC-1.31 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 89373ee6e28397640d5082eed4123239] \
		 -iv [binary decode hex 1a74d7c859672c80] \
		 -data [binary decode hex 45efd00daa4cdc8273ef785cae9e944a7664a2391e1e2c449f475acec0124bbc22944331678617408a1702917971f4654310ffb9229bec6173715ae512d37f93aaa6abf009f7e30d65669d1db0366b5bce4c7b00f871014f5753744a1878dc57]]} \
	-match exact -result d3ed4e4fc32dc0342ec301817899967f3a47737e2691fecf6799fa9c8d41362107be6fa674320befc87ccf9fecbf03dec5be160433f450bfd89d8fc3312232efae95661ee55f10eb2a52f9590c4d7e2c656f6779f6f677190c7349273daebab4

tcltest::test Symetric_Block_IDEA-CBC-1.32 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 89373ee6e28397640d5082eed4123239] \
		 -iv [binary decode hex 1a74d7c859672c80] \
		 -data [binary decode hex d3ed4e4fc32dc0342ec301817899967f3a47737e2691fecf6799fa9c8d41362107be6fa674320befc87ccf9fecbf03dec5be160433f450bfd89d8fc3312232efae95661ee55f10eb2a52f9590c4d7e2c656f6779f6f677190c7349273daebab4]]} \
	-match exact -result 45efd00daa4cdc8273ef785cae9e944a7664a2391e1e2c449f475acec0124bbc22944331678617408a1702917971f4654310ffb9229bec6173715ae512d37f93aaa6abf009f7e30d65669d1db0366b5bce4c7b00f871014f5753744a1878dc57

tcltest::test Symetric_Block_IDEA-CBC-1.33 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex bab0cceddc0abd63e3f82e9fbff7b8aa] \
		 -iv [binary decode hex 68b9140f300490c5] \
		 -data [binary decode hex c5585ff215bbb73ba5393440852fb199436de0d15e55c631f877670aa3eda9f672eb1f876f09544e63558436b8928000db2f02a5ad90f95b05ac4cf49e198e617e7678480fdf0efacc6aae691271e6cdd3541ebf719a1ccaedb24e2f80f92455dd5910cb5086b0960a3942ec182dcbd7]]} \
	-match exact -result 7ca59cefd0c1f0190af2c8b85d00b7e5838aee42274f26cf08fd0b4ae539c1966367960b0600425e50c802dc94427f0ccf713de467a61319ce05d23c5a5db4d43ac0b0762b2f6ad9e7076df190c50f41788a02317ecfb2e59c42b31c151f9c93f4b1cac3c37e2aafa00ba2d27dbf6b63

tcltest::test Symetric_Block_IDEA-CBC-1.34 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex bab0cceddc0abd63e3f82e9fbff7b8aa] \
		 -iv [binary decode hex 68b9140f300490c5] \
		 -data [binary decode hex 7ca59cefd0c1f0190af2c8b85d00b7e5838aee42274f26cf08fd0b4ae539c1966367960b0600425e50c802dc94427f0ccf713de467a61319ce05d23c5a5db4d43ac0b0762b2f6ad9e7076df190c50f41788a02317ecfb2e59c42b31c151f9c93f4b1cac3c37e2aafa00ba2d27dbf6b63]]} \
	-match exact -result c5585ff215bbb73ba5393440852fb199436de0d15e55c631f877670aa3eda9f672eb1f876f09544e63558436b8928000db2f02a5ad90f95b05ac4cf49e198e617e7678480fdf0efacc6aae691271e6cdd3541ebf719a1ccaedb24e2f80f92455dd5910cb5086b0960a3942ec182dcbd7

tcltest::test Symetric_Block_IDEA-CBC-1.35 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 9c702898efa44557b29ed283f5bc0293] \
		 -iv [binary decode hex cec6e1b82e8b2a59] \
		 -data [binary decode hex 1d1f8d81bdc3e2c7cb057f408e6450000c5aaed3260ff1e87fbb6f324df6887ffd8f78d7e2a04c9ed9deda9d64482d2b002f4a2b78d8b4f691875c8295d4a64b22257ceaf713ed2f4b92530d7ad7151d629acda882b4829577a43990b0948c1149c22fe4273656d1b08833930e8b06709a94579a78fc220f7057bbc1fa9f6563]]} \
	-match exact -result 41bc04fb50553959c10d20550d54280f56b33e988b674dee1112631d18d6f79efe3067d8133bdc8ce334929537d9d19a9f5e05f626e56b45daab02fa58a027a759573f363d995e2a5fc779476bf009accc44435c044d481acf9c8c3228b9a69052ef228d64640ca4dd19352ce6257bc5658084f96fdc99790b676a0556f92c51

tcltest::test Symetric_Block_IDEA-CBC-1.36 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 9c702898efa44557b29ed283f5bc0293] \
		 -iv [binary decode hex cec6e1b82e8b2a59] \
		 -data [binary decode hex 41bc04fb50553959c10d20550d54280f56b33e988b674dee1112631d18d6f79efe3067d8133bdc8ce334929537d9d19a9f5e05f626e56b45daab02fa58a027a759573f363d995e2a5fc779476bf009accc44435c044d481acf9c8c3228b9a69052ef228d64640ca4dd19352ce6257bc5658084f96fdc99790b676a0556f92c51]]} \
	-match exact -result 1d1f8d81bdc3e2c7cb057f408e6450000c5aaed3260ff1e87fbb6f324df6887ffd8f78d7e2a04c9ed9deda9d64482d2b002f4a2b78d8b4f691875c8295d4a64b22257ceaf713ed2f4b92530d7ad7151d629acda882b4829577a43990b0948c1149c22fe4273656d1b08833930e8b06709a94579a78fc220f7057bbc1fa9f6563

tcltest::test Symetric_Block_IDEA-CBC-1.37 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 5674636dbdb38f705f0b08c372ef4785] \
		 -iv [binary decode hex 3f20ce0509b57420] \
		 -data [binary decode hex 6d40fd2f908f48ce19241b6b278b1b1676dffd4a97ce9f8a1574c33bc59237deb536bee376fd6c381e6987700e39283aa111cf1a59f26fae6fb6700bf012646a2ab80239bf5e1632329043aa87d7911978b36523a2bc0bed9a9737ccf7a00baa2f3822b4e9e742e168e7069290705fed2eb63aa044b78f97dd33a8d6b24741ec1fd8c8db79d93b884e762dba0f406961]]} \
	-match exact -result 52392c00281497aea7e057bd31ee71ad818674c2dd10782e395f9a59ca7b191331cb8576f0f38db240fef904d52ca9181f309e43525e5f2f2a9dc2083360cdef4bd92f61d0b54c1955429df1f3dea48edce637f33c94ce8bd1bd2dbcaa929f3a1d184753238794c585e81cfe5ade7fe86ece0d6a196d8db0282cbadc40913c3973e0c1437ab94cd59370504e9fbc5511

tcltest::test Symetric_Block_IDEA-CBC-1.38 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 5674636dbdb38f705f0b08c372ef4785] \
		 -iv [binary decode hex 3f20ce0509b57420] \
		 -data [binary decode hex 52392c00281497aea7e057bd31ee71ad818674c2dd10782e395f9a59ca7b191331cb8576f0f38db240fef904d52ca9181f309e43525e5f2f2a9dc2083360cdef4bd92f61d0b54c1955429df1f3dea48edce637f33c94ce8bd1bd2dbcaa929f3a1d184753238794c585e81cfe5ade7fe86ece0d6a196d8db0282cbadc40913c3973e0c1437ab94cd59370504e9fbc5511]]} \
	-match exact -result 6d40fd2f908f48ce19241b6b278b1b1676dffd4a97ce9f8a1574c33bc59237deb536bee376fd6c381e6987700e39283aa111cf1a59f26fae6fb6700bf012646a2ab80239bf5e1632329043aa87d7911978b36523a2bc0bed9a9737ccf7a00baa2f3822b4e9e742e168e7069290705fed2eb63aa044b78f97dd33a8d6b24741ec1fd8c8db79d93b884e762dba0f406961

tcltest::test Symetric_Block_IDEA-CBC-1.39 {Encrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 97a1025529b9925e25bbe78770ca2f99] \
		 -iv [binary decode hex d4b4eab92aa9637e] \
		 -data [binary decode hex e8b89150d8438bf5b17449d6ed26bd72127e10e4aa57cad85283e8359e089208e84921649f5b60ea21f7867cbc9620560c4c6238db021216db453c9943f1f1a60546173daef2557c3cdd855031b353d4bf176f28439e48785c37d38f270aa4a6faad2baabcb0c0b2d1dd5322937498ce803ba1148440a52e227ddba4872fe4d81d2d76a939d24755adb8a7b8452ceed2d179e1a5848f316f5c016300a390bfa7]]} \
	-match exact -result 0100f7adc870bedd878236fa1d6c23b5a0343546a18567b80ce4d8413854aa1e1633e8ef3c4ed53e90de2a4f11940ea6b6d59321235a6b08aba07339c9b645796729d8c18e23f0ce9e8010f0b3da765a47cbbf9635a40b0f3e56e76748290f83fdf8d1452f91d6ca2cc6d1ab2b967d51f3a9a47e0f0a51d00be2eec0f3da2aa7c06793fda880a93284e7ab3009a52f7d34b76592b3d5bdbe6332505af816a1a4

tcltest::test Symetric_Block_IDEA-CBC-1.40 {Decrypt IDEA-CBC} \
	-constraints IDEA_CBC \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CBC -padding 0 \
		 -key [binary decode hex 97a1025529b9925e25bbe78770ca2f99] \
		 -iv [binary decode hex d4b4eab92aa9637e] \
		 -data [binary decode hex 0100f7adc870bedd878236fa1d6c23b5a0343546a18567b80ce4d8413854aa1e1633e8ef3c4ed53e90de2a4f11940ea6b6d59321235a6b08aba07339c9b645796729d8c18e23f0ce9e8010f0b3da765a47cbbf9635a40b0f3e56e76748290f83fdf8d1452f91d6ca2cc6d1ab2b967d51f3a9a47e0f0a51d00be2eec0f3da2aa7c06793fda880a93284e7ab3009a52f7d34b76592b3d5bdbe6332505af816a1a4]]} \
	-match exact -result e8b89150d8438bf5b17449d6ed26bd72127e10e4aa57cad85283e8359e089208e84921649f5b60ea21f7867cbc9620560c4c6238db021216db453c9943f1f1a60546173daef2557c3cdd855031b353d4bf176f28439e48785c37d38f270aa4a6faad2baabcb0c0b2d1dd5322937498ce803ba1148440a52e227ddba4872fe4d81d2d76a939d24755adb8a7b8452ceed2d179e1a5848f316f5c016300a390bfa7

# Cleanup
::tcltest::cleanupTests
return

Added tests/test_vectors/Symetric_Block/IDEA-CBC.txt version [c3d48a6bc3].

























































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# IDEA CBC vectors built for https://github.com/pyca/cryptography
# Derived from the AESVS MMT test data for CBC
# Verified against Botan
# Key Length : 128

COUNT = 0
KEY = 1f8e4973953f3fb0bd6b16662e9a3c17
IV = 2fe2b333ceda8f98
PLAINTEXT = 45cf12964fc824ab76616ae2f4bf0822
CIPHERTEXT = 2cb10d22ac22a375c0021ab6732936c1

COUNT = 1
KEY = 0700d603a1c514e46b6191ba430a3a0c
IV = aad1583cd91365e3
PLAINTEXT = 068b25c7bfb1f8bdd4cfc908f69dffc5ddc726a197f0e5f720f730393279be91
CIPHERTEXT = 4af8370c69ae4e45cc5a395e790272d5a5a0895dee1f336f0067963bd9ed55c7

COUNT = 2
KEY = 3348aa51e9a45c2dbe33ccc47f96e8de
IV = 19153c673160df2b
PLAINTEXT = 9b7cee827a26575afdbb7c7a329f887238052e3601a7917456ba61251c214763d5e1847a6ad5d54127a399ab07ee3599
CIPHERTEXT = 09738cbc8c7764dd63206892eca29fbc3a67f7fe44ded6b128a0350426776ea71d0c9a1b6d627e1e3d014837dd82f11a

COUNT = 3
KEY = b7f3c9576e12dd0db63e8f8fac2b9a39
IV = c80f095d8bb1a060
PLAINTEXT = 9ac19954ce1319b354d3220460f71c1e373f1cd336240881160cfde46ebfed2e791e8d5a1a136ebd1dc469dec00c4187722b841cdabcb22c1be8a14657da200e
CIPHERTEXT = 956c2993f77485da8f50b09ea7aa532f7c0aa1f63af0ac998680514a16c99d143261f7434f9a9c0fcb26a02175fde4b4093e1efe672cfe12509cf3d455c3ab01

COUNT = 4
KEY = b6f9afbfe5a1562bba1368fc72ac9d9c
IV = 3f9d5ebe250ee7ce
PLAINTEXT = db397ec22718dbffb9c9d13de0efcd4611bf792be4fce0dc5f25d4f577ed8cdbd4eb9208d593dda3d4653954ab64f05676caa3ce9bfa795b08b67ceebc923fdc89a8c431188e9e482d8553982cf304d1
CIPHERTEXT = 3831f1265df609c006a15c2b963465e8a0d77bbec6e6d332f0b384479f0f34d2a7ed722607e077170a97ca9cdf526602972823c562c87187b8dc5f5d7de27a80c58bcaa95f5f7cae9c5b70938bb7de9f

COUNT = 5
KEY = bbe7b7ba07124ff1ae7c3416fe8b465e
IV = 7f65b5ee3630bed6
PLAINTEXT = 2aad0c2c4306568bad7447460fd3dac054346d26feddbc9abd9110914011b4794be2a9a00a519a51a5b5124014f4ed2735480db21b434e99a911bb0b60fe0253763725b628d5739a5117b7ee3aefafc5b4c1bf446467e7bf5f78f31ff7caf187
CIPHERTEXT = 5ee0a43a2dd9d14eee83d99e51598870a3b4221f28a2eb77b3612fec3c92037ff9eccab303d225d89f313a8894d1de97f3e87a93684290a17622766eda764308e1abe6153f638a3e8e1e6e0f36cca66ee06fa21457266c4291d8456fa84aaa09

COUNT = 6
KEY = 89a553730433f7e6d67d16d373bd5360
IV = f724558db3433a52
PLAINTEXT = 807bc4ea684eedcfdcca30180680b0f1ae2814f35f36d053c5aea6595a386c1442770f4d7297d8b91825ee7237241da8925dd594ccf676aecd46ca2068e8d37a3a0ec8a7d5185a201e663b5ff36ae197110188a23503763b8218826d23ced74b31e9f6e2d7fbfa6cb43420c7807a8625
CIPHERTEXT = 1c1fa2b32f704963913dd890dc5504d9a4562587f60e15dcf5351bc89ebf4467679ba38d6febb3063745c88e53c4e2866b7fdfe0916cb6196da3f96d0d69dd605d603a80e8da4782f6458f65a0ab55541a0cdac68095b4835ffa0d119cf5d4e40dbf19731cddcfd57cb5cf6250abfa0d

COUNT = 7
KEY = c491ca31f91708458e29a925ec558d78
IV = 9ef934946e5cd0ae
PLAINTEXT = cb6a787e0dec56f9a165957f81af336ca6b40785d9e94093c6190e5152649f882e874d79ac5e167bd2a74ce5ae088d2ee854f6539e0a94796b1e1bd4c9fcdbc79acbef4d01eeb89776d18af71ae2a4fc47dd66df6c4dbe1d1850e466549a47b636bcc7c2b3a62495b56bb67b6d455f1eebd9bfefecbca6c7f335cfce9b45cb9d
CIPHERTEXT = 5b15322d02a4de6ee0847b029fa88eb39db00697113260bb5834128ed2201ec2c5e22f50bd274b5ae8dc24e4b721c3e5cb905d96595c869ca1db7cbe6389c8553b36f635a1fbbece6b1aba3ba9d0c6cb361aeb5708b61b99a2812b23f16ca0bc602f5dcb77a1eec677399a47b6ce5f9ebb90c32b2ff3c181a0ebcde94c46ff41

COUNT = 8
KEY = f6e87d71b0104d6eb06a68dc6a71f498
IV = 1c245f26195b76eb
PLAINTEXT = f82bef3c73a6f7f80db285726d691db6bf55eec25a859d3ba0e0445f26b9bb3b16a3161ed1866e4dd8f2e5f8ecb4e46d74a7a78c20cdfc7bcc9e479ba7a0caba9438238ad0c01651d5d98de37f03ddce6e6b4bd4ab03cf9e8ed818aedfa1cf963b932067b97d776dce1087196e7e913f7448e38244509f0caf36bd8217e15336d35c149fd4e41707893fdb84014f8729
CIPHERTEXT = c2725ddb784b9cffe46543af4ac9f0e64edcd1678f26b3ee652af6d00ae164f7c07afd0fb773277401c2137070a6a59e39de429c032711756ce6b0c9b9dc69a0a1caaabff9da5855f7410656f8e09e00cee6f44c0fc93f9419d13ccfe63517a1c74afc3dabfd1b43171bfe097cf28ca5674fbd0fa58b0698289a92eb57cf1ff74b1d756ff113252a379f2bae8dd9cd3d

COUNT = 9
KEY = 2c14413751c31e2730570ba3361c786b
IV = 1dbbeb2f19abb448
PLAINTEXT = 40d930f9a05334d9816fe204999c3f82a03f6a0457a8c475c94553d1d116693adc618049f0a769a2eed6a6cb14c0143ec5cccdbc8dec4ce560cfd206225709326d4de7948e54d603d01b12d7fed752fb23f1aa4494fbb00130e9ded4e77e37c079042d828040c325b1a5efd15fc842e44014ca4374bf38f3c3fc3ee327733b0c8aee1abcd055772f18dc04603f7b2c1ea69ff662361f2be0a171bbdcea1e5d3f
CIPHERTEXT = d9ab48c7195d8dd8860860688b8b66a74b3798a97647d8106352d1e3d8bb6c353e2e561478d396fb432ab07392f5fdd39d610c8e046ffc5fe5eb8736ce87f43a05ec4f4bfb0142a1d32fde8bea7af6b9e22a3fe3823a979f73cd4f4eacc145e5e043dd1a3e2183d0ae3a1aa5d8fe78d9dd867c4bd54ab149bfaefc66647f8948881f712ed7b1eabdab62b71caea6f0face592ab5fcb668752bfa7cbc39a00d05

COUNT = 10
KEY = 6a7082cf8cda13eff48c8158dda206ae
IV = bd4172934078c201
PLAINTEXT = 940bc76d61e2c49dddd5df7f37fcf105
CIPHERTEXT = 05a31cd129886c6458ec0739472556de

COUNT = 11
KEY = 625eefa18a4756454e218d8bfed56e36
IV = 73d9d0e27c2ec568
PLAINTEXT = 360dc1896ce601dfb2a949250067aad96737847a4580ede2654a329b842fe81e
CIPHERTEXT = b046b49207973f946668d49d3cd93a13bc9cf50bab20f40cca024e2fc3dd17ea

COUNT = 12
KEY = fd6e0b954ae2e3b723d6c9fcae6ab09b
IV = f08b65c9f4dd9500
PLAINTEXT = a206385945b21f812a9475f47fddbb7fbdda958a8d14c0dbcdaec36e8b28f1f6ececa1ceae4ce17721d162c1d42a66c1
CIPHERTEXT = c25cbe4acc9e6909ed195e257a5f28beb77ceb614c538ef531b18778bbbfe1d25d70e4c9b37c4d1d9cde4361206f6173

COUNT = 13
KEY = 7b1ab9144b0239315cd5eec6c75663bd
IV = 0b1e74f45c17ff30
PLAINTEXT = b968aeb199ad6b3c8e01f26c2edad444538c78bfa36ed68ca76123b8cdce615a01f6112bb80bfc3f17490578fb1f909a52e162637b062db04efee291a1f1af60
CIPHERTEXT = 08186d727f2bf0eee50e52f98775ae222b67b037f40f8a803aa6196fb200ee45a5183ccd4942677d4abe617a6c41c9c565dd79d44de12d9291f434939639e59c

COUNT = 14
KEY = 36466b6bd25ea3857ea42f0cac1919b1
IV = 7186fb6bdfa98a16
PLAINTEXT = 999983467c47bb1d66d7327ab5c58f61ddb09b93bd2460cb78cbc12b5fa1ea0c5f759ccc5e478697687012ff4673f6e61eecaeda0ccad2d674d3098c7d17f887b62b56f56b03b4d055bf3a4460e83efa
CIPHERTEXT = 0b13ebbec3b66a240dc11cecb1b3a6d5cf2770d529f852a405da596170fa6067a28f07f41c9d520b6d7c3163395dbe875995809f24a4243e0e80e735d3d92307e07775300e10ee57ab916a043c29d3cc

COUNT = 15
KEY = 89373ee6e28397640d5082eed4123239
IV = 1a74d7c859672c80
PLAINTEXT = 45efd00daa4cdc8273ef785cae9e944a7664a2391e1e2c449f475acec0124bbc22944331678617408a1702917971f4654310ffb9229bec6173715ae512d37f93aaa6abf009f7e30d65669d1db0366b5bce4c7b00f871014f5753744a1878dc57
CIPHERTEXT = d3ed4e4fc32dc0342ec301817899967f3a47737e2691fecf6799fa9c8d41362107be6fa674320befc87ccf9fecbf03dec5be160433f450bfd89d8fc3312232efae95661ee55f10eb2a52f9590c4d7e2c656f6779f6f677190c7349273daebab4

COUNT = 16
KEY = bab0cceddc0abd63e3f82e9fbff7b8aa
IV = 68b9140f300490c5
PLAINTEXT = c5585ff215bbb73ba5393440852fb199436de0d15e55c631f877670aa3eda9f672eb1f876f09544e63558436b8928000db2f02a5ad90f95b05ac4cf49e198e617e7678480fdf0efacc6aae691271e6cdd3541ebf719a1ccaedb24e2f80f92455dd5910cb5086b0960a3942ec182dcbd7
CIPHERTEXT = 7ca59cefd0c1f0190af2c8b85d00b7e5838aee42274f26cf08fd0b4ae539c1966367960b0600425e50c802dc94427f0ccf713de467a61319ce05d23c5a5db4d43ac0b0762b2f6ad9e7076df190c50f41788a02317ecfb2e59c42b31c151f9c93f4b1cac3c37e2aafa00ba2d27dbf6b63

COUNT = 17
KEY = 9c702898efa44557b29ed283f5bc0293
IV = cec6e1b82e8b2a59
PLAINTEXT = 1d1f8d81bdc3e2c7cb057f408e6450000c5aaed3260ff1e87fbb6f324df6887ffd8f78d7e2a04c9ed9deda9d64482d2b002f4a2b78d8b4f691875c8295d4a64b22257ceaf713ed2f4b92530d7ad7151d629acda882b4829577a43990b0948c1149c22fe4273656d1b08833930e8b06709a94579a78fc220f7057bbc1fa9f6563
CIPHERTEXT = 41bc04fb50553959c10d20550d54280f56b33e988b674dee1112631d18d6f79efe3067d8133bdc8ce334929537d9d19a9f5e05f626e56b45daab02fa58a027a759573f363d995e2a5fc779476bf009accc44435c044d481acf9c8c3228b9a69052ef228d64640ca4dd19352ce6257bc5658084f96fdc99790b676a0556f92c51

COUNT = 18
KEY = 5674636dbdb38f705f0b08c372ef4785
IV = 3f20ce0509b57420
PLAINTEXT = 6d40fd2f908f48ce19241b6b278b1b1676dffd4a97ce9f8a1574c33bc59237deb536bee376fd6c381e6987700e39283aa111cf1a59f26fae6fb6700bf012646a2ab80239bf5e1632329043aa87d7911978b36523a2bc0bed9a9737ccf7a00baa2f3822b4e9e742e168e7069290705fed2eb63aa044b78f97dd33a8d6b24741ec1fd8c8db79d93b884e762dba0f406961
CIPHERTEXT = 52392c00281497aea7e057bd31ee71ad818674c2dd10782e395f9a59ca7b191331cb8576f0f38db240fef904d52ca9181f309e43525e5f2f2a9dc2083360cdef4bd92f61d0b54c1955429df1f3dea48edce637f33c94ce8bd1bd2dbcaa929f3a1d184753238794c585e81cfe5ade7fe86ece0d6a196d8db0282cbadc40913c3973e0c1437ab94cd59370504e9fbc5511

COUNT = 19
KEY = 97a1025529b9925e25bbe78770ca2f99
IV = d4b4eab92aa9637e
PLAINTEXT = e8b89150d8438bf5b17449d6ed26bd72127e10e4aa57cad85283e8359e089208e84921649f5b60ea21f7867cbc9620560c4c6238db021216db453c9943f1f1a60546173daef2557c3cdd855031b353d4bf176f28439e48785c37d38f270aa4a6faad2baabcb0c0b2d1dd5322937498ce803ba1148440a52e227ddba4872fe4d81d2d76a939d24755adb8a7b8452ceed2d179e1a5848f316f5c016300a390bfa7
CIPHERTEXT = 0100f7adc870bedd878236fa1d6c23b5a0343546a18567b80ce4d8413854aa1e1633e8ef3c4ed53e90de2a4f11940ea6b6d59321235a6b08aba07339c9b645796729d8c18e23f0ce9e8010f0b3da765a47cbbf9635a40b0f3e56e76748290f83fdf8d1452f91d6ca2cc6d1ab2b967d51f3a9a47e0f0a51d00be2eec0f3da2aa7c06793fda880a93284e7ab3009a52f7d34b76592b3d5bdbe6332505af816a1a4

Added tests/test_vectors/Symetric_Block/IDEA-CFB.test version [c5f830e201].























































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
# Auto generated from "IDEA-CFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint IDEA_CFB [expr {[lsearch -nocase [tls::ciphers] IDEA-CFB] > -1}]

tcltest::test Symetric_Block_IDEA-CFB-1.1 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 085b8af6788fa6bc1a0b47dcf50fbd35] \
		 -iv [binary decode hex 58cb2b12bb52c6f1] \
		 -data [binary decode hex 4b5a872260293312eea1a570fd39c788]]} \
	-match exact -result 5d9c48bf7dc115f28e153dc93dfcff96

tcltest::test Symetric_Block_IDEA-CFB-1.2 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 085b8af6788fa6bc1a0b47dcf50fbd35] \
		 -iv [binary decode hex 58cb2b12bb52c6f1] \
		 -data [binary decode hex 5d9c48bf7dc115f28e153dc93dfcff96]]} \
	-match exact -result 4b5a872260293312eea1a570fd39c788

tcltest::test Symetric_Block_IDEA-CFB-1.3 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 701ccc4c0e36e512ce077f5af6ccb957] \
		 -iv [binary decode hex 5337ddeaf89a00dd] \
		 -data [binary decode hex cc1172f2f80866d0768b25f70fcf6361aab7c627c8488f97525d7d88949beeea]]} \
	-match exact -result 4ec6f34be3335024cbfbbf80f3e7501b8c9f7a6cbd630cf8debba4a4c3f1daa4

tcltest::test Symetric_Block_IDEA-CFB-1.4 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 701ccc4c0e36e512ce077f5af6ccb957] \
		 -iv [binary decode hex 5337ddeaf89a00dd] \
		 -data [binary decode hex 4ec6f34be3335024cbfbbf80f3e7501b8c9f7a6cbd630cf8debba4a4c3f1daa4]]} \
	-match exact -result cc1172f2f80866d0768b25f70fcf6361aab7c627c8488f97525d7d88949beeea

tcltest::test Symetric_Block_IDEA-CFB-1.5 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 0a8e8876c96cddf3223069002002c99f] \
		 -iv [binary decode hex b125a20ecd79e8b5] \
		 -data [binary decode hex 4fd0ecac65bfd321c88ebca0daea35d2b061205d696aab08bea68320db65451a6d6c3679fdf633f37cf8ebcf1fa94b91]]} \
	-match exact -result a562b606f716af7fd9641b5ebc66e4cad7e9422200a83b07e5341814b33590d26dba38db01c19bac669dc469f4c2eb9b

tcltest::test Symetric_Block_IDEA-CFB-1.6 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 0a8e8876c96cddf3223069002002c99f] \
		 -iv [binary decode hex b125a20ecd79e8b5] \
		 -data [binary decode hex a562b606f716af7fd9641b5ebc66e4cad7e9422200a83b07e5341814b33590d26dba38db01c19bac669dc469f4c2eb9b]]} \
	-match exact -result 4fd0ecac65bfd321c88ebca0daea35d2b061205d696aab08bea68320db65451a6d6c3679fdf633f37cf8ebcf1fa94b91

tcltest::test Symetric_Block_IDEA-CFB-1.7 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex b9ba9fa32cc491d8ac2beb5f99193d57] \
		 -iv [binary decode hex 95511452b71e53e9] \
		 -data [binary decode hex b40382705aaeea41097c309da6cd06010f15e09c0130fa4b3af69cc8da109d1f0f0a2661f1a8b89bab7e7009dcbb8a883d46254a830c45cd87981e0ea4e490fa]]} \
	-match exact -result 5294eb7f0f7872e20a2012675a1fbcb059a9c2bec5231dfe72e6dd7826b86af365b6beb33a23ebfec6184e790d3002b8ff81eedd84b73edc3ac539230e23c65b

tcltest::test Symetric_Block_IDEA-CFB-1.8 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex b9ba9fa32cc491d8ac2beb5f99193d57] \
		 -iv [binary decode hex 95511452b71e53e9] \
		 -data [binary decode hex 5294eb7f0f7872e20a2012675a1fbcb059a9c2bec5231dfe72e6dd7826b86af365b6beb33a23ebfec6184e790d3002b8ff81eedd84b73edc3ac539230e23c65b]]} \
	-match exact -result b40382705aaeea41097c309da6cd06010f15e09c0130fa4b3af69cc8da109d1f0f0a2661f1a8b89bab7e7009dcbb8a883d46254a830c45cd87981e0ea4e490fa

tcltest::test Symetric_Block_IDEA-CFB-1.9 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 5947bbd78b06bb5ea2fc67ed7b24216e] \
		 -iv [binary decode hex 8e4722ad2230b15f] \
		 -data [binary decode hex 9e69423653c20c982794ed35d63c1a78e8ac14f37e1888ae4bf273bfe119891b2e4ed8ac46e7a9a463c7a710298d43b02f0c5606bcfc08adceeef2ec61867f8bede498e53163803f2f86fc58782fb841]]} \
	-match exact -result 4fb93afc260b40f575f1fe95609737f158c61c40f23b13845cda507f5baf20c31c3d3c85726fbb0b89751498ef29f123fe0767fc550e71e38e0db5d52b507f7e2321a37bc0959410ffb785bcdaede128

tcltest::test Symetric_Block_IDEA-CFB-1.10 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 5947bbd78b06bb5ea2fc67ed7b24216e] \
		 -iv [binary decode hex 8e4722ad2230b15f] \
		 -data [binary decode hex 4fb93afc260b40f575f1fe95609737f158c61c40f23b13845cda507f5baf20c31c3d3c85726fbb0b89751498ef29f123fe0767fc550e71e38e0db5d52b507f7e2321a37bc0959410ffb785bcdaede128]]} \
	-match exact -result 9e69423653c20c982794ed35d63c1a78e8ac14f37e1888ae4bf273bfe119891b2e4ed8ac46e7a9a463c7a710298d43b02f0c5606bcfc08adceeef2ec61867f8bede498e53163803f2f86fc58782fb841

tcltest::test Symetric_Block_IDEA-CFB-1.11 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex abce650e78f969b3b210151c74117fd2] \
		 -iv [binary decode hex bc4659fbb7073c1f] \
		 -data [binary decode hex 322eae07df5ad2ddd64bba34e42d30c1b884f842e71efa123345a3fb0c39884c57dd4c2c6fb0c42e69ff5a269d59af3a6144853c182edb376ca65947d7ccefae6806ba25c4f527706ba85a353c0fd10e3cb244dd93a2d060d7b055058dde1dff]]} \
	-match exact -result 800a13afd1ccd50aaada08a18ed61674aa9b9cc84d6fe1220bc0acc19f973ad5414da099359ef259b2d63e8b1e5cc0ba6258ab48f1603252199f7631a513330fcbf383d8de82a6b2a2c2870f8c06a635076c40c8f98dbc35f09f372db8fd3834

tcltest::test Symetric_Block_IDEA-CFB-1.12 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex abce650e78f969b3b210151c74117fd2] \
		 -iv [binary decode hex bc4659fbb7073c1f] \
		 -data [binary decode hex 800a13afd1ccd50aaada08a18ed61674aa9b9cc84d6fe1220bc0acc19f973ad5414da099359ef259b2d63e8b1e5cc0ba6258ab48f1603252199f7631a513330fcbf383d8de82a6b2a2c2870f8c06a635076c40c8f98dbc35f09f372db8fd3834]]} \
	-match exact -result 322eae07df5ad2ddd64bba34e42d30c1b884f842e71efa123345a3fb0c39884c57dd4c2c6fb0c42e69ff5a269d59af3a6144853c182edb376ca65947d7ccefae6806ba25c4f527706ba85a353c0fd10e3cb244dd93a2d060d7b055058dde1dff

tcltest::test Symetric_Block_IDEA-CFB-1.13 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 9f56e19b09dd3fee0e110f71e9967b7a] \
		 -iv [binary decode hex 1155cf4231bf7ac5] \
		 -data [binary decode hex ad1e4d3162a5084f581117639a13fc35df5449625ffe0f01e57d9a8726875be8515926ffe7449e30cd69ed4ca0c1b8b4486051c2d0fa2f6474a69c0afce2aec349d778a22edf81678145765b714c1b7c197287da56f59141d6978618729e1d89be20ace3de7d9b3c9b2d195ab6bc0fd4]]} \
	-match exact -result 4dc8bbf26235b8858157cf03165ce61bdb25f3a2773b27db0c5e23dd14f7c4971f8b8ca65f61ef6ed7f348da0201d1e6ac2c45d431a31116ca89beb0e503f0c078848e5f982981406d0d72a46cc9e48da09cd5fca0aa8b97b8120f798a1f6f8316e677023028b219d844619e269608ff

tcltest::test Symetric_Block_IDEA-CFB-1.14 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 9f56e19b09dd3fee0e110f71e9967b7a] \
		 -iv [binary decode hex 1155cf4231bf7ac5] \
		 -data [binary decode hex 4dc8bbf26235b8858157cf03165ce61bdb25f3a2773b27db0c5e23dd14f7c4971f8b8ca65f61ef6ed7f348da0201d1e6ac2c45d431a31116ca89beb0e503f0c078848e5f982981406d0d72a46cc9e48da09cd5fca0aa8b97b8120f798a1f6f8316e677023028b219d844619e269608ff]]} \
	-match exact -result ad1e4d3162a5084f581117639a13fc35df5449625ffe0f01e57d9a8726875be8515926ffe7449e30cd69ed4ca0c1b8b4486051c2d0fa2f6474a69c0afce2aec349d778a22edf81678145765b714c1b7c197287da56f59141d6978618729e1d89be20ace3de7d9b3c9b2d195ab6bc0fd4

tcltest::test Symetric_Block_IDEA-CFB-1.15 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 31c485c996d6ceb2d17e0aa05b2490e4] \
		 -iv [binary decode hex 8c37f33405051b4c] \
		 -data [binary decode hex ac68de6a2c2144c6b4fd975a8dec93447391e7c9a4fde63d36be7f23ad186f96cd92b5e8adb546880d100329e97fe8204fad860e6dd8b3c0eed4805387536b9ccc63d6c74938b83dce2c93cc0a04a6025b7563d9e5e7239ae27819fb3844848a51e4294f273401ad9e592f8a170334b042f0667233b29f92b9b13262eb73232a]]} \
	-match exact -result 1777835b641860aae245fe67750d514ba3f0ebd1c9a1179f258999cf5e1a6f850db6dc5cb3088cb262fe5086ca4b75be1cf4ad8d795c99a6d392da940c41a190d0eb38c3ea6b54c771a382d0969b2f1975c9e6d22f4c651eab379302e656d3d316424fda315128462c49364cdac824673883b06ac67781f1ca7c80b5cad92e97

tcltest::test Symetric_Block_IDEA-CFB-1.16 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 31c485c996d6ceb2d17e0aa05b2490e4] \
		 -iv [binary decode hex 8c37f33405051b4c] \
		 -data [binary decode hex 1777835b641860aae245fe67750d514ba3f0ebd1c9a1179f258999cf5e1a6f850db6dc5cb3088cb262fe5086ca4b75be1cf4ad8d795c99a6d392da940c41a190d0eb38c3ea6b54c771a382d0969b2f1975c9e6d22f4c651eab379302e656d3d316424fda315128462c49364cdac824673883b06ac67781f1ca7c80b5cad92e97]]} \
	-match exact -result ac68de6a2c2144c6b4fd975a8dec93447391e7c9a4fde63d36be7f23ad186f96cd92b5e8adb546880d100329e97fe8204fad860e6dd8b3c0eed4805387536b9ccc63d6c74938b83dce2c93cc0a04a6025b7563d9e5e7239ae27819fb3844848a51e4294f273401ad9e592f8a170334b042f0667233b29f92b9b13262eb73232a

tcltest::test Symetric_Block_IDEA-CFB-1.17 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 556ccfa360ecb5025032dddb124cad4d] \
		 -iv [binary decode hex d54c6fdcc85dc0a2] \
		 -data [binary decode hex 71fbf180effac3dca0d69d40e4017dbe50455396f9fb6507ef7df26507de156cded8edd41a05fb25f352cbcdf3b2d770f90fa87f84863e0c2ed3b2dd770a1abfc489ad1ca82a28d061bd7039a6b5788da021657136def0c78d0b0cc7cfbec9512cf579811fd01185f3fdd2ab857328be4b63d293956b43df130e484b9861eccb1d06992b095e7febb0fb394c1954aeab]]} \
	-match exact -result 9ceb25ce05eeee39452995468321c2b73c39f60082d7c91d129304f5802d3e559c099ccb00aeab4e274d47397268ab7367d055a336a52dd314402e2accb0925372028157a3ef60bd97427855117379bd70e05a3cbafe9acfc19e5ce78262011d1f2dfa1e67ec214469fab9a9e1a92e2591acfcfbb2376559433de491217260996637856930b57cec36f3f091940370a3

tcltest::test Symetric_Block_IDEA-CFB-1.18 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 556ccfa360ecb5025032dddb124cad4d] \
		 -iv [binary decode hex d54c6fdcc85dc0a2] \
		 -data [binary decode hex 9ceb25ce05eeee39452995468321c2b73c39f60082d7c91d129304f5802d3e559c099ccb00aeab4e274d47397268ab7367d055a336a52dd314402e2accb0925372028157a3ef60bd97427855117379bd70e05a3cbafe9acfc19e5ce78262011d1f2dfa1e67ec214469fab9a9e1a92e2591acfcfbb2376559433de491217260996637856930b57cec36f3f091940370a3]]} \
	-match exact -result 71fbf180effac3dca0d69d40e4017dbe50455396f9fb6507ef7df26507de156cded8edd41a05fb25f352cbcdf3b2d770f90fa87f84863e0c2ed3b2dd770a1abfc489ad1ca82a28d061bd7039a6b5788da021657136def0c78d0b0cc7cfbec9512cf579811fd01185f3fdd2ab857328be4b63d293956b43df130e484b9861eccb1d06992b095e7febb0fb394c1954aeab

tcltest::test Symetric_Block_IDEA-CFB-1.19 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 7cb81fc4b203b0fa9bec49759bd515c2] \
		 -iv [binary decode hex 4d5e2fa3bf73f488] \
		 -data [binary decode hex 362789b376d85eb8181d4eeea52d42e873ce7741c11a2f820383a7457b15489b09fb21ac4445959dc9e851b7d40682c50d7044bda46a5da39fae2bab73b3db9ed22edc7ec5da936dfa7451cb5f0a829ff0762738cc2686148f1e1f00dc3fe38139c9a173201fc1f052ca34736fc1ab3dc4e707f864d6119b7adb6c8ddd41c80de5d357d17e9c85ed7af1e4f72cb2656932ccce469202680109eef89a9f42f10a]]} \
	-match exact -result e0456318fb7a2318181f4b847e3952cdc5f09e6f12631a89d7d86c108a9d14e49368bdc65366cf4c42c98e31641bb63439314010bafb88f83a300f8ca107e95d689738f29ce399348a8418baa2cc57b935640d574ea7b2f0205b62a68b0c7aca3c58f3181c5892c21036acdb241d933e1bd05e764fe8297131b9c7c7a99d2aa202f07312b4d48df43b973cf51b9fbc895284a304dc7eabde4eafa58325b984e4

tcltest::test Symetric_Block_IDEA-CFB-1.20 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 7cb81fc4b203b0fa9bec49759bd515c2] \
		 -iv [binary decode hex 4d5e2fa3bf73f488] \
		 -data [binary decode hex e0456318fb7a2318181f4b847e3952cdc5f09e6f12631a89d7d86c108a9d14e49368bdc65366cf4c42c98e31641bb63439314010bafb88f83a300f8ca107e95d689738f29ce399348a8418baa2cc57b935640d574ea7b2f0205b62a68b0c7aca3c58f3181c5892c21036acdb241d933e1bd05e764fe8297131b9c7c7a99d2aa202f07312b4d48df43b973cf51b9fbc895284a304dc7eabde4eafa58325b984e4]]} \
	-match exact -result 362789b376d85eb8181d4eeea52d42e873ce7741c11a2f820383a7457b15489b09fb21ac4445959dc9e851b7d40682c50d7044bda46a5da39fae2bab73b3db9ed22edc7ec5da936dfa7451cb5f0a829ff0762738cc2686148f1e1f00dc3fe38139c9a173201fc1f052ca34736fc1ab3dc4e707f864d6119b7adb6c8ddd41c80de5d357d17e9c85ed7af1e4f72cb2656932ccce469202680109eef89a9f42f10a

tcltest::test Symetric_Block_IDEA-CFB-1.21 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex beb622d0228cde29b342bbcf4c1c83b4] \
		 -iv [binary decode hex 75c282fa581d9c67] \
		 -data [binary decode hex 860476c81685b58e71e2599efe083ce5]]} \
	-match exact -result 1a68dff188262ef7525fe051199fb940

tcltest::test Symetric_Block_IDEA-CFB-1.22 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex beb622d0228cde29b342bbcf4c1c83b4] \
		 -iv [binary decode hex 75c282fa581d9c67] \
		 -data [binary decode hex 1a68dff188262ef7525fe051199fb940]]} \
	-match exact -result 860476c81685b58e71e2599efe083ce5

tcltest::test Symetric_Block_IDEA-CFB-1.23 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex c4666081e0b0eddb10a9a607c807378f] \
		 -iv [binary decode hex 5f23623288e4a41b] \
		 -data [binary decode hex 2fd02dab9054248073ebc0b07aed383756ccfa4fa6298722775be6a9b4ed27a5]]} \
	-match exact -result eb5d94d1d12b97ae3814ddf3b9c8c9aab689ce912334b3054f14e8082334cd1c

tcltest::test Symetric_Block_IDEA-CFB-1.24 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex c4666081e0b0eddb10a9a607c807378f] \
		 -iv [binary decode hex 5f23623288e4a41b] \
		 -data [binary decode hex eb5d94d1d12b97ae3814ddf3b9c8c9aab689ce912334b3054f14e8082334cd1c]]} \
	-match exact -result 2fd02dab9054248073ebc0b07aed383756ccfa4fa6298722775be6a9b4ed27a5

tcltest::test Symetric_Block_IDEA-CFB-1.25 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex df010376a6b03279338773a70e012382] \
		 -iv [binary decode hex 67455decec549365] \
		 -data [binary decode hex 9b9c3dea553ec235db0011b27191544171845b7bdda0dc04a089583959bba5ab7048f8ca87eab073a8b824fdd4e82e40]]} \
	-match exact -result bbe775751f4b704f3cb0dbb43441111675f63c54668d34c1fc50d3a6c428217a009a167d9162f4d93dca391979002164

tcltest::test Symetric_Block_IDEA-CFB-1.26 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex df010376a6b03279338773a70e012382] \
		 -iv [binary decode hex 67455decec549365] \
		 -data [binary decode hex bbe775751f4b704f3cb0dbb43441111675f63c54668d34c1fc50d3a6c428217a009a167d9162f4d93dca391979002164]]} \
	-match exact -result 9b9c3dea553ec235db0011b27191544171845b7bdda0dc04a089583959bba5ab7048f8ca87eab073a8b824fdd4e82e40

tcltest::test Symetric_Block_IDEA-CFB-1.27 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex ff01aa4f7106c6bd24399076f901a530] \
		 -iv [binary decode hex 089b4f6054eeeef7] \
		 -data [binary decode hex ae9cb9dfa305af83e95a3b2099f70907edcd49fbc6efc5ebe744184c76b4f56bf35774f3fe215e1c8ee42172a2dd3e6f9ccd3d9bb044325e61a6bb97e48e9986]]} \
	-match exact -result e1ad6de3d5ed15b7fd560482478f5e5e7673657eab175e03d71cb1f80d8e476e7b976c4b0a6c2a6a2d5fd2b20f4f6cc8b56b46adb9a97db56deba7e9d2b8d817

tcltest::test Symetric_Block_IDEA-CFB-1.28 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex ff01aa4f7106c6bd24399076f901a530] \
		 -iv [binary decode hex 089b4f6054eeeef7] \
		 -data [binary decode hex e1ad6de3d5ed15b7fd560482478f5e5e7673657eab175e03d71cb1f80d8e476e7b976c4b0a6c2a6a2d5fd2b20f4f6cc8b56b46adb9a97db56deba7e9d2b8d817]]} \
	-match exact -result ae9cb9dfa305af83e95a3b2099f70907edcd49fbc6efc5ebe744184c76b4f56bf35774f3fe215e1c8ee42172a2dd3e6f9ccd3d9bb044325e61a6bb97e48e9986

tcltest::test Symetric_Block_IDEA-CFB-1.29 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex d33d4062ab32298eafcca86b5088d5fd] \
		 -iv [binary decode hex fcfffce8b020240f] \
		 -data [binary decode hex 1fe1318adb99e6d4fced292902fe8c831ba488a43f85964d6ff54b322663b380bc99fed15568278cfe1d0af795c71355bf65e876855763655eec3abf3d4b27a0341d607f4bfbd82c8900fd436f7c4186]]} \
	-match exact -result 5424e2c3d2e00cf2ccefd1ee8ae552ef8122c2bda3624b3e4cbfb23abc309e103e485a8ff677a5ad908ffc72b9e70b4ccf0794a3be537aadd59a30bf5905fa6702d0ba12238f705c20884443ba921c91

tcltest::test Symetric_Block_IDEA-CFB-1.30 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex d33d4062ab32298eafcca86b5088d5fd] \
		 -iv [binary decode hex fcfffce8b020240f] \
		 -data [binary decode hex 5424e2c3d2e00cf2ccefd1ee8ae552ef8122c2bda3624b3e4cbfb23abc309e103e485a8ff677a5ad908ffc72b9e70b4ccf0794a3be537aadd59a30bf5905fa6702d0ba12238f705c20884443ba921c91]]} \
	-match exact -result 1fe1318adb99e6d4fced292902fe8c831ba488a43f85964d6ff54b322663b380bc99fed15568278cfe1d0af795c71355bf65e876855763655eec3abf3d4b27a0341d607f4bfbd82c8900fd436f7c4186

tcltest::test Symetric_Block_IDEA-CFB-1.31 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 47e13544a7bbf74dd68ab5ce66e5bdaa] \
		 -iv [binary decode hex 69480b4dd38cf3b4] \
		 -data [binary decode hex 3e2e583a3a0389ca324f2aaa52b7823904ab288dae562995cf1d70c796d785fd361261434eea480ceb3d369d969652c7ff194931c0a9bd978f5ae4094d6ef32d986a092c580ccbf865e5095a7b80559be13f842f9bea9e42a3a01ef8a24a6526]]} \
	-match exact -result 50d3ec47a14c6ac19dc5c8820520c8265e4e0265816e753792ef759ff523aceb904a02e8b10259c9e1d019bb684417f05e431e02541adaec98d725fd1bf11365fca4b97d7c0bfd8294bcc9d72f235899ee7c110dc4ca53fd4974d0cd20055834

tcltest::test Symetric_Block_IDEA-CFB-1.32 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex 47e13544a7bbf74dd68ab5ce66e5bdaa] \
		 -iv [binary decode hex 69480b4dd38cf3b4] \
		 -data [binary decode hex 50d3ec47a14c6ac19dc5c8820520c8265e4e0265816e753792ef759ff523aceb904a02e8b10259c9e1d019bb684417f05e431e02541adaec98d725fd1bf11365fca4b97d7c0bfd8294bcc9d72f235899ee7c110dc4ca53fd4974d0cd20055834]]} \
	-match exact -result 3e2e583a3a0389ca324f2aaa52b7823904ab288dae562995cf1d70c796d785fd361261434eea480ceb3d369d969652c7ff194931c0a9bd978f5ae4094d6ef32d986a092c580ccbf865e5095a7b80559be13f842f9bea9e42a3a01ef8a24a6526

tcltest::test Symetric_Block_IDEA-CFB-1.33 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex ae86823695b48e8c612ae5a01b597f97] \
		 -iv [binary decode hex b26eef7b1d14894c] \
		 -data [binary decode hex 569a910bc6aa97b8939ca703fc10ce0d171625bc735a1fea7148650541109d955b1b686c6cc404b2d3d92ad9faaff217dc7b31b038b770959aeccd1ca55d650364fde51df8d4f0aeb05fa364f5028f709c179ca6df0bdfc1cb850f238d755ac44a733fce558402be0c70bc0871b8e62f]]} \
	-match exact -result d0dc50553bbc0248e6f8b1d5f7c31aa93fda2addb2cd184a13d0adeb7f2ef8f611d92479bd8b61cf029b406f09921a972f2f0e14a3d790256cff4e812c40b822821c71ba6cb21a3a2c1b463f598d1d5a626d5c9fb85f0aafa1f6bf18aef0db18c9872c0e8588e9646f237be9f32a7550

tcltest::test Symetric_Block_IDEA-CFB-1.34 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex ae86823695b48e8c612ae5a01b597f97] \
		 -iv [binary decode hex b26eef7b1d14894c] \
		 -data [binary decode hex d0dc50553bbc0248e6f8b1d5f7c31aa93fda2addb2cd184a13d0adeb7f2ef8f611d92479bd8b61cf029b406f09921a972f2f0e14a3d790256cff4e812c40b822821c71ba6cb21a3a2c1b463f598d1d5a626d5c9fb85f0aafa1f6bf18aef0db18c9872c0e8588e9646f237be9f32a7550]]} \
	-match exact -result 569a910bc6aa97b8939ca703fc10ce0d171625bc735a1fea7148650541109d955b1b686c6cc404b2d3d92ad9faaff217dc7b31b038b770959aeccd1ca55d650364fde51df8d4f0aeb05fa364f5028f709c179ca6df0bdfc1cb850f238d755ac44a733fce558402be0c70bc0871b8e62f

tcltest::test Symetric_Block_IDEA-CFB-1.35 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex b85df29c9244229835d73441dc37555e] \
		 -iv [binary decode hex c1375430efedb2d3] \
		 -data [binary decode hex c232a0bbf967ef28b74e7b809c62bc8c1cf2d52a273a84162900da834448fd567870471498f29770619dec504922e379eaba0d3a712602583d00279d8fc6a6d568cb94a330039a189ed5802abb7a2898c13ef89c00d73fca9a2f2ffc2107ab498212c56835c0fc26f835a69c00bb3eaa695ac20e8bdb0f5b5b6684d02bee8fb2]]} \
	-match exact -result 935458de3bc1a090a7a85eb79a12a3e48defcae8581c59233ce0b2a8b7ad999a99d1858e5e513680a9cb7558b0706ec0be122a33964c4c6d4c880b4e953810ae111f6d3f8e89e8b3a708b199ce6a7476f177fea627eca43439df5c98a414dd8dde088cc380bc10e43a9341114787fa80c7dae515d6a21af4f2d3619a200b9ca0

tcltest::test Symetric_Block_IDEA-CFB-1.36 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex b85df29c9244229835d73441dc37555e] \
		 -iv [binary decode hex c1375430efedb2d3] \
		 -data [binary decode hex 935458de3bc1a090a7a85eb79a12a3e48defcae8581c59233ce0b2a8b7ad999a99d1858e5e513680a9cb7558b0706ec0be122a33964c4c6d4c880b4e953810ae111f6d3f8e89e8b3a708b199ce6a7476f177fea627eca43439df5c98a414dd8dde088cc380bc10e43a9341114787fa80c7dae515d6a21af4f2d3619a200b9ca0]]} \
	-match exact -result c232a0bbf967ef28b74e7b809c62bc8c1cf2d52a273a84162900da834448fd567870471498f29770619dec504922e379eaba0d3a712602583d00279d8fc6a6d568cb94a330039a189ed5802abb7a2898c13ef89c00d73fca9a2f2ffc2107ab498212c56835c0fc26f835a69c00bb3eaa695ac20e8bdb0f5b5b6684d02bee8fb2

tcltest::test Symetric_Block_IDEA-CFB-1.37 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex e96771f5f20a89ee871261d2d18e1e46] \
		 -iv [binary decode hex 8c664a37d245d26c] \
		 -data [binary decode hex 8aaafd56c5d5d54fbe16f115c3216bd1f4376666931a2ef1ffc5468ad12150c39250dca2d63c6ea166bb0ef4aaa3d5849c1f9c621c55826a1ca362f03bcba4dcbd654b300d16519710130e5360bd949aaded6a648f96dd8937a77287d4a4ac2941729475b635b9797476b4dca4171787ff15882d3b4872ed0999a7546dbb61698e8348f70e4a14981a78156150484532]]} \
	-match exact -result d357c276cc6961fa627b0edf66ec8e5baf035cf19980e53d6be5f3e5fa67de668bc1e27ef04cd2efc216783c4b955f8072af265aa96cc99dcf53ab3ab0fa024efca1087f0851a6b392f4aef1ac946fdd0fc1320a395df4d3ce596332aa5a0628b5f8e2aac4cf677a4b3d804a1503bfc879040f90b3a0530f49eb3d8c67d1cb00dad36f6f3a98328984258eae6fab1e6b

tcltest::test Symetric_Block_IDEA-CFB-1.38 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex e96771f5f20a89ee871261d2d18e1e46] \
		 -iv [binary decode hex 8c664a37d245d26c] \
		 -data [binary decode hex d357c276cc6961fa627b0edf66ec8e5baf035cf19980e53d6be5f3e5fa67de668bc1e27ef04cd2efc216783c4b955f8072af265aa96cc99dcf53ab3ab0fa024efca1087f0851a6b392f4aef1ac946fdd0fc1320a395df4d3ce596332aa5a0628b5f8e2aac4cf677a4b3d804a1503bfc879040f90b3a0530f49eb3d8c67d1cb00dad36f6f3a98328984258eae6fab1e6b]]} \
	-match exact -result 8aaafd56c5d5d54fbe16f115c3216bd1f4376666931a2ef1ffc5468ad12150c39250dca2d63c6ea166bb0ef4aaa3d5849c1f9c621c55826a1ca362f03bcba4dcbd654b300d16519710130e5360bd949aaded6a648f96dd8937a77287d4a4ac2941729475b635b9797476b4dca4171787ff15882d3b4872ed0999a7546dbb61698e8348f70e4a14981a78156150484532

tcltest::test Symetric_Block_IDEA-CFB-1.39 {Encrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex aef49da33f538ee66e178d4b6121055d] \
		 -iv [binary decode hex 842566e68b61ff7b] \
		 -data [binary decode hex 415991f65e1a95040cef9960556f61e617827c30c74bf353cdd86173dbe4cc983a2ee6bc8ca6cfb71121e7b0d0178f2e13445c710dcc176b781201971171f7489f18faf110f39accd1cf08c85a958d7698b116f1c0d75812ac9b0b39aee7f7159ccad8fdae9b99f2d695eacf12c6469d5b51a34de26eac73613dcb2f77122cb1f8dd5162786a12052dc7b6dea6acc4989dcc7eafd9374f6c29697c74749ef16d]]} \
	-match exact -result 11690969c6b2bf0f1c42a42d44049062c885499eadcb350e81d22c6caf7d499502e706ca3137e3a5d8cfb56354003aa8a1fb3c30767d6f8e5255b4e31c3325924b95494144fb02c257995e2e59f9017d5a32e1d2bf285bf404554dd6bf7077ba1d48d0c08ebe10ad110e66148b17d43f341d72da027033cd0b75bb3ca3a046557b39bed024e9ff5b08725d357ed22aede4a33dfcc4b61b34ba0d32230e572f6f

tcltest::test Symetric_Block_IDEA-CFB-1.40 {Decrypt IDEA-CFB} \
	-constraints IDEA_CFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-CFB -padding 0 \
		 -key [binary decode hex aef49da33f538ee66e178d4b6121055d] \
		 -iv [binary decode hex 842566e68b61ff7b] \
		 -data [binary decode hex 11690969c6b2bf0f1c42a42d44049062c885499eadcb350e81d22c6caf7d499502e706ca3137e3a5d8cfb56354003aa8a1fb3c30767d6f8e5255b4e31c3325924b95494144fb02c257995e2e59f9017d5a32e1d2bf285bf404554dd6bf7077ba1d48d0c08ebe10ad110e66148b17d43f341d72da027033cd0b75bb3ca3a046557b39bed024e9ff5b08725d357ed22aede4a33dfcc4b61b34ba0d32230e572f6f]]} \
	-match exact -result 415991f65e1a95040cef9960556f61e617827c30c74bf353cdd86173dbe4cc983a2ee6bc8ca6cfb71121e7b0d0178f2e13445c710dcc176b781201971171f7489f18faf110f39accd1cf08c85a958d7698b116f1c0d75812ac9b0b39aee7f7159ccad8fdae9b99f2d695eacf12c6469d5b51a34de26eac73613dcb2f77122cb1f8dd5162786a12052dc7b6dea6acc4989dcc7eafd9374f6c29697c74749ef16d

# Cleanup
::tcltest::cleanupTests
return

Added tests/test_vectors/Symetric_Block/IDEA-CFB.txt version [ad8823e093].

























































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# IDEA CFB vectors built for https://github.com/pyca/cryptography
# Derived from the AESVS MMT test data for CFB128
# Verified against Botan
# Key Length : 128

COUNT = 0
KEY = 085b8af6788fa6bc1a0b47dcf50fbd35
IV = 58cb2b12bb52c6f1
PLAINTEXT = 4b5a872260293312eea1a570fd39c788
CIPHERTEXT = 5d9c48bf7dc115f28e153dc93dfcff96

COUNT = 1
KEY = 701ccc4c0e36e512ce077f5af6ccb957
IV = 5337ddeaf89a00dd
PLAINTEXT = cc1172f2f80866d0768b25f70fcf6361aab7c627c8488f97525d7d88949beeea
CIPHERTEXT = 4ec6f34be3335024cbfbbf80f3e7501b8c9f7a6cbd630cf8debba4a4c3f1daa4

COUNT = 2
KEY = 0a8e8876c96cddf3223069002002c99f
IV = b125a20ecd79e8b5
PLAINTEXT = 4fd0ecac65bfd321c88ebca0daea35d2b061205d696aab08bea68320db65451a6d6c3679fdf633f37cf8ebcf1fa94b91
CIPHERTEXT = a562b606f716af7fd9641b5ebc66e4cad7e9422200a83b07e5341814b33590d26dba38db01c19bac669dc469f4c2eb9b

COUNT = 3
KEY = b9ba9fa32cc491d8ac2beb5f99193d57
IV = 95511452b71e53e9
PLAINTEXT = b40382705aaeea41097c309da6cd06010f15e09c0130fa4b3af69cc8da109d1f0f0a2661f1a8b89bab7e7009dcbb8a883d46254a830c45cd87981e0ea4e490fa
CIPHERTEXT = 5294eb7f0f7872e20a2012675a1fbcb059a9c2bec5231dfe72e6dd7826b86af365b6beb33a23ebfec6184e790d3002b8ff81eedd84b73edc3ac539230e23c65b

COUNT = 4
KEY = 5947bbd78b06bb5ea2fc67ed7b24216e
IV = 8e4722ad2230b15f
PLAINTEXT = 9e69423653c20c982794ed35d63c1a78e8ac14f37e1888ae4bf273bfe119891b2e4ed8ac46e7a9a463c7a710298d43b02f0c5606bcfc08adceeef2ec61867f8bede498e53163803f2f86fc58782fb841
CIPHERTEXT = 4fb93afc260b40f575f1fe95609737f158c61c40f23b13845cda507f5baf20c31c3d3c85726fbb0b89751498ef29f123fe0767fc550e71e38e0db5d52b507f7e2321a37bc0959410ffb785bcdaede128

COUNT = 5
KEY = abce650e78f969b3b210151c74117fd2
IV = bc4659fbb7073c1f
PLAINTEXT = 322eae07df5ad2ddd64bba34e42d30c1b884f842e71efa123345a3fb0c39884c57dd4c2c6fb0c42e69ff5a269d59af3a6144853c182edb376ca65947d7ccefae6806ba25c4f527706ba85a353c0fd10e3cb244dd93a2d060d7b055058dde1dff
CIPHERTEXT = 800a13afd1ccd50aaada08a18ed61674aa9b9cc84d6fe1220bc0acc19f973ad5414da099359ef259b2d63e8b1e5cc0ba6258ab48f1603252199f7631a513330fcbf383d8de82a6b2a2c2870f8c06a635076c40c8f98dbc35f09f372db8fd3834

COUNT = 6
KEY = 9f56e19b09dd3fee0e110f71e9967b7a
IV = 1155cf4231bf7ac5
PLAINTEXT = ad1e4d3162a5084f581117639a13fc35df5449625ffe0f01e57d9a8726875be8515926ffe7449e30cd69ed4ca0c1b8b4486051c2d0fa2f6474a69c0afce2aec349d778a22edf81678145765b714c1b7c197287da56f59141d6978618729e1d89be20ace3de7d9b3c9b2d195ab6bc0fd4
CIPHERTEXT = 4dc8bbf26235b8858157cf03165ce61bdb25f3a2773b27db0c5e23dd14f7c4971f8b8ca65f61ef6ed7f348da0201d1e6ac2c45d431a31116ca89beb0e503f0c078848e5f982981406d0d72a46cc9e48da09cd5fca0aa8b97b8120f798a1f6f8316e677023028b219d844619e269608ff

COUNT = 7
KEY = 31c485c996d6ceb2d17e0aa05b2490e4
IV = 8c37f33405051b4c
PLAINTEXT = ac68de6a2c2144c6b4fd975a8dec93447391e7c9a4fde63d36be7f23ad186f96cd92b5e8adb546880d100329e97fe8204fad860e6dd8b3c0eed4805387536b9ccc63d6c74938b83dce2c93cc0a04a6025b7563d9e5e7239ae27819fb3844848a51e4294f273401ad9e592f8a170334b042f0667233b29f92b9b13262eb73232a
CIPHERTEXT = 1777835b641860aae245fe67750d514ba3f0ebd1c9a1179f258999cf5e1a6f850db6dc5cb3088cb262fe5086ca4b75be1cf4ad8d795c99a6d392da940c41a190d0eb38c3ea6b54c771a382d0969b2f1975c9e6d22f4c651eab379302e656d3d316424fda315128462c49364cdac824673883b06ac67781f1ca7c80b5cad92e97

COUNT = 8
KEY = 556ccfa360ecb5025032dddb124cad4d
IV = d54c6fdcc85dc0a2
PLAINTEXT = 71fbf180effac3dca0d69d40e4017dbe50455396f9fb6507ef7df26507de156cded8edd41a05fb25f352cbcdf3b2d770f90fa87f84863e0c2ed3b2dd770a1abfc489ad1ca82a28d061bd7039a6b5788da021657136def0c78d0b0cc7cfbec9512cf579811fd01185f3fdd2ab857328be4b63d293956b43df130e484b9861eccb1d06992b095e7febb0fb394c1954aeab
CIPHERTEXT = 9ceb25ce05eeee39452995468321c2b73c39f60082d7c91d129304f5802d3e559c099ccb00aeab4e274d47397268ab7367d055a336a52dd314402e2accb0925372028157a3ef60bd97427855117379bd70e05a3cbafe9acfc19e5ce78262011d1f2dfa1e67ec214469fab9a9e1a92e2591acfcfbb2376559433de491217260996637856930b57cec36f3f091940370a3

COUNT = 9
KEY = 7cb81fc4b203b0fa9bec49759bd515c2
IV = 4d5e2fa3bf73f488
PLAINTEXT = 362789b376d85eb8181d4eeea52d42e873ce7741c11a2f820383a7457b15489b09fb21ac4445959dc9e851b7d40682c50d7044bda46a5da39fae2bab73b3db9ed22edc7ec5da936dfa7451cb5f0a829ff0762738cc2686148f1e1f00dc3fe38139c9a173201fc1f052ca34736fc1ab3dc4e707f864d6119b7adb6c8ddd41c80de5d357d17e9c85ed7af1e4f72cb2656932ccce469202680109eef89a9f42f10a
CIPHERTEXT = e0456318fb7a2318181f4b847e3952cdc5f09e6f12631a89d7d86c108a9d14e49368bdc65366cf4c42c98e31641bb63439314010bafb88f83a300f8ca107e95d689738f29ce399348a8418baa2cc57b935640d574ea7b2f0205b62a68b0c7aca3c58f3181c5892c21036acdb241d933e1bd05e764fe8297131b9c7c7a99d2aa202f07312b4d48df43b973cf51b9fbc895284a304dc7eabde4eafa58325b984e4

COUNT = 10
KEY = beb622d0228cde29b342bbcf4c1c83b4
IV = 75c282fa581d9c67
PLAINTEXT = 860476c81685b58e71e2599efe083ce5
CIPHERTEXT = 1a68dff188262ef7525fe051199fb940

COUNT = 11
KEY = c4666081e0b0eddb10a9a607c807378f
IV = 5f23623288e4a41b
PLAINTEXT = 2fd02dab9054248073ebc0b07aed383756ccfa4fa6298722775be6a9b4ed27a5
CIPHERTEXT = eb5d94d1d12b97ae3814ddf3b9c8c9aab689ce912334b3054f14e8082334cd1c

COUNT = 12
KEY = df010376a6b03279338773a70e012382
IV = 67455decec549365
PLAINTEXT = 9b9c3dea553ec235db0011b27191544171845b7bdda0dc04a089583959bba5ab7048f8ca87eab073a8b824fdd4e82e40
CIPHERTEXT = bbe775751f4b704f3cb0dbb43441111675f63c54668d34c1fc50d3a6c428217a009a167d9162f4d93dca391979002164

COUNT = 13
KEY = ff01aa4f7106c6bd24399076f901a530
IV = 089b4f6054eeeef7
PLAINTEXT = ae9cb9dfa305af83e95a3b2099f70907edcd49fbc6efc5ebe744184c76b4f56bf35774f3fe215e1c8ee42172a2dd3e6f9ccd3d9bb044325e61a6bb97e48e9986
CIPHERTEXT = e1ad6de3d5ed15b7fd560482478f5e5e7673657eab175e03d71cb1f80d8e476e7b976c4b0a6c2a6a2d5fd2b20f4f6cc8b56b46adb9a97db56deba7e9d2b8d817

COUNT = 14
KEY = d33d4062ab32298eafcca86b5088d5fd
IV = fcfffce8b020240f
PLAINTEXT = 1fe1318adb99e6d4fced292902fe8c831ba488a43f85964d6ff54b322663b380bc99fed15568278cfe1d0af795c71355bf65e876855763655eec3abf3d4b27a0341d607f4bfbd82c8900fd436f7c4186
CIPHERTEXT = 5424e2c3d2e00cf2ccefd1ee8ae552ef8122c2bda3624b3e4cbfb23abc309e103e485a8ff677a5ad908ffc72b9e70b4ccf0794a3be537aadd59a30bf5905fa6702d0ba12238f705c20884443ba921c91

COUNT = 15
KEY = 47e13544a7bbf74dd68ab5ce66e5bdaa
IV = 69480b4dd38cf3b4
PLAINTEXT = 3e2e583a3a0389ca324f2aaa52b7823904ab288dae562995cf1d70c796d785fd361261434eea480ceb3d369d969652c7ff194931c0a9bd978f5ae4094d6ef32d986a092c580ccbf865e5095a7b80559be13f842f9bea9e42a3a01ef8a24a6526
CIPHERTEXT = 50d3ec47a14c6ac19dc5c8820520c8265e4e0265816e753792ef759ff523aceb904a02e8b10259c9e1d019bb684417f05e431e02541adaec98d725fd1bf11365fca4b97d7c0bfd8294bcc9d72f235899ee7c110dc4ca53fd4974d0cd20055834

COUNT = 16
KEY = ae86823695b48e8c612ae5a01b597f97
IV = b26eef7b1d14894c
PLAINTEXT = 569a910bc6aa97b8939ca703fc10ce0d171625bc735a1fea7148650541109d955b1b686c6cc404b2d3d92ad9faaff217dc7b31b038b770959aeccd1ca55d650364fde51df8d4f0aeb05fa364f5028f709c179ca6df0bdfc1cb850f238d755ac44a733fce558402be0c70bc0871b8e62f
CIPHERTEXT = d0dc50553bbc0248e6f8b1d5f7c31aa93fda2addb2cd184a13d0adeb7f2ef8f611d92479bd8b61cf029b406f09921a972f2f0e14a3d790256cff4e812c40b822821c71ba6cb21a3a2c1b463f598d1d5a626d5c9fb85f0aafa1f6bf18aef0db18c9872c0e8588e9646f237be9f32a7550

COUNT = 17
KEY = b85df29c9244229835d73441dc37555e
IV = c1375430efedb2d3
PLAINTEXT = c232a0bbf967ef28b74e7b809c62bc8c1cf2d52a273a84162900da834448fd567870471498f29770619dec504922e379eaba0d3a712602583d00279d8fc6a6d568cb94a330039a189ed5802abb7a2898c13ef89c00d73fca9a2f2ffc2107ab498212c56835c0fc26f835a69c00bb3eaa695ac20e8bdb0f5b5b6684d02bee8fb2
CIPHERTEXT = 935458de3bc1a090a7a85eb79a12a3e48defcae8581c59233ce0b2a8b7ad999a99d1858e5e513680a9cb7558b0706ec0be122a33964c4c6d4c880b4e953810ae111f6d3f8e89e8b3a708b199ce6a7476f177fea627eca43439df5c98a414dd8dde088cc380bc10e43a9341114787fa80c7dae515d6a21af4f2d3619a200b9ca0

COUNT = 18
KEY = e96771f5f20a89ee871261d2d18e1e46
IV = 8c664a37d245d26c
PLAINTEXT = 8aaafd56c5d5d54fbe16f115c3216bd1f4376666931a2ef1ffc5468ad12150c39250dca2d63c6ea166bb0ef4aaa3d5849c1f9c621c55826a1ca362f03bcba4dcbd654b300d16519710130e5360bd949aaded6a648f96dd8937a77287d4a4ac2941729475b635b9797476b4dca4171787ff15882d3b4872ed0999a7546dbb61698e8348f70e4a14981a78156150484532
CIPHERTEXT = d357c276cc6961fa627b0edf66ec8e5baf035cf19980e53d6be5f3e5fa67de668bc1e27ef04cd2efc216783c4b955f8072af265aa96cc99dcf53ab3ab0fa024efca1087f0851a6b392f4aef1ac946fdd0fc1320a395df4d3ce596332aa5a0628b5f8e2aac4cf677a4b3d804a1503bfc879040f90b3a0530f49eb3d8c67d1cb00dad36f6f3a98328984258eae6fab1e6b

COUNT = 19
KEY = aef49da33f538ee66e178d4b6121055d
IV = 842566e68b61ff7b
PLAINTEXT = 415991f65e1a95040cef9960556f61e617827c30c74bf353cdd86173dbe4cc983a2ee6bc8ca6cfb71121e7b0d0178f2e13445c710dcc176b781201971171f7489f18faf110f39accd1cf08c85a958d7698b116f1c0d75812ac9b0b39aee7f7159ccad8fdae9b99f2d695eacf12c6469d5b51a34de26eac73613dcb2f77122cb1f8dd5162786a12052dc7b6dea6acc4989dcc7eafd9374f6c29697c74749ef16d
CIPHERTEXT = 11690969c6b2bf0f1c42a42d44049062c885499eadcb350e81d22c6caf7d499502e706ca3137e3a5d8cfb56354003aa8a1fb3c30767d6f8e5255b4e31c3325924b95494144fb02c257995e2e59f9017d5a32e1d2bf285bf404554dd6bf7077ba1d48d0c08ebe10ad110e66148b17d43f341d72da027033cd0b75bb3ca3a046557b39bed024e9ff5b08725d357ed22aede4a33dfcc4b61b34ba0d32230e572f6f

Added tests/test_vectors/Symetric_Block/IDEA-ECB.test version [cfd5024d4f].







































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
# Auto generated from "IDEA-ECB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint IDEA_ECB [expr {[lsearch -nocase [tls::ciphers] IDEA-ECB] > -1}]

tcltest::test Symetric_Block_IDEA-ECB-1.1 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 80000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result b1f5f7f87901370f

tcltest::test Symetric_Block_IDEA-ECB-1.2 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 80000000000000000000000000000000] \
		 -data [binary decode hex B1F5F7F87901370F]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.3 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 40000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result b3927dffb6358626

tcltest::test Symetric_Block_IDEA-ECB-1.4 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 40000000000000000000000000000000] \
		 -data [binary decode hex B3927DFFB6358626]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.5 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 20000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result e987e0029fb99785

tcltest::test Symetric_Block_IDEA-ECB-1.6 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 20000000000000000000000000000000] \
		 -data [binary decode hex E987E0029FB99785]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.7 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 10000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 754a03ce08db7daa

tcltest::test Symetric_Block_IDEA-ECB-1.8 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 10000000000000000000000000000000] \
		 -data [binary decode hex 754A03CE08DB7DAA]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.9 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000008] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result f59d85f90a42b871

tcltest::test Symetric_Block_IDEA-ECB-1.10 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000008] \
		 -data [binary decode hex F59D85F90A42B871]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.11 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000004] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 24853f38c6c7bc3f

tcltest::test Symetric_Block_IDEA-ECB-1.12 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000004] \
		 -data [binary decode hex 24853F38C6C7BC3F]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.13 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000002] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 41518093035e12e9

tcltest::test Symetric_Block_IDEA-ECB-1.14 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000002] \
		 -data [binary decode hex 41518093035E12E9]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.15 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000001] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result c57adbde27bc26cf

tcltest::test Symetric_Block_IDEA-ECB-1.16 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000001] \
		 -data [binary decode hex C57ADBDE27BC26CF]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.17 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 8000000000000000]]} \
	-match exact -result 8001000180008000

tcltest::test Symetric_Block_IDEA-ECB-1.18 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 8001000180008000]]} \
	-match exact -result 8000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.19 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 4000000000000000]]} \
	-match exact -result c00180014000c000

tcltest::test Symetric_Block_IDEA-ECB-1.20 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex C00180014000C000]]} \
	-match exact -result 4000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.21 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 2000000000000000]]} \
	-match exact -result 6001c00120006000

tcltest::test Symetric_Block_IDEA-ECB-1.22 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 6001C00120006000]]} \
	-match exact -result 2000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.23 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 1000000000000000]]} \
	-match exact -result 3001600190003000

tcltest::test Symetric_Block_IDEA-ECB-1.24 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 3001600190003000]]} \
	-match exact -result 1000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.25 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000008]]} \
	-match exact -result 064101610470fcc8

tcltest::test Symetric_Block_IDEA-ECB-1.26 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 064101610470FCC8]]} \
	-match exact -result 0000000000000008

tcltest::test Symetric_Block_IDEA-ECB-1.27 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000004]]} \
	-match exact -result 032100b10238fe64

tcltest::test Symetric_Block_IDEA-ECB-1.28 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 032100B10238FE64]]} \
	-match exact -result 0000000000000004

tcltest::test Symetric_Block_IDEA-ECB-1.29 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000002]]} \
	-match exact -result 01910059011cff32

tcltest::test Symetric_Block_IDEA-ECB-1.30 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 01910059011CFF32]]} \
	-match exact -result 0000000000000002

tcltest::test Symetric_Block_IDEA-ECB-1.31 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000001]]} \
	-match exact -result 0013fff500120009

tcltest::test Symetric_Block_IDEA-ECB-1.32 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0013FFF500120009]]} \
	-match exact -result 0000000000000001

tcltest::test Symetric_Block_IDEA-ECB-1.33 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 0001000100000000

tcltest::test Symetric_Block_IDEA-ECB-1.34 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0001000100000000]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.35 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 01010101010101010101010101010101] \
		 -data [binary decode hex 0101010101010101]]} \
	-match exact -result e3f8aff7a3795615

tcltest::test Symetric_Block_IDEA-ECB-1.36 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 01010101010101010101010101010101] \
		 -data [binary decode hex E3F8AFF7A3795615]]} \
	-match exact -result 0101010101010101

tcltest::test Symetric_Block_IDEA-ECB-1.37 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 02020202020202020202020202020202] \
		 -data [binary decode hex 0202020202020202]]} \
	-match exact -result 93d8c66f869189b9

tcltest::test Symetric_Block_IDEA-ECB-1.38 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 02020202020202020202020202020202] \
		 -data [binary decode hex 93D8C66F869189B9]]} \
	-match exact -result 0202020202020202

tcltest::test Symetric_Block_IDEA-ECB-1.39 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 03030303030303030303030303030303] \
		 -data [binary decode hex 0303030303030303]]} \
	-match exact -result 4fdd60e349a14800

tcltest::test Symetric_Block_IDEA-ECB-1.40 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 03030303030303030303030303030303] \
		 -data [binary decode hex 4FDD60E349A14800]]} \
	-match exact -result 0303030303030303

tcltest::test Symetric_Block_IDEA-ECB-1.41 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 04040404040404040404040404040404] \
		 -data [binary decode hex 0404040404040404]]} \
	-match exact -result 3d6f7a5ea045e71d

tcltest::test Symetric_Block_IDEA-ECB-1.42 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 04040404040404040404040404040404] \
		 -data [binary decode hex 3D6F7A5EA045E71D]]} \
	-match exact -result 0404040404040404

tcltest::test Symetric_Block_IDEA-ECB-1.43 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 05050505050505050505050505050505] \
		 -data [binary decode hex 0505050505050505]]} \
	-match exact -result 13e677db2aa285d9

tcltest::test Symetric_Block_IDEA-ECB-1.44 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 05050505050505050505050505050505] \
		 -data [binary decode hex 13E677DB2AA285D9]]} \
	-match exact -result 0505050505050505

tcltest::test Symetric_Block_IDEA-ECB-1.45 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 06060606060606060606060606060606] \
		 -data [binary decode hex 0606060606060606]]} \
	-match exact -result ffd372957fd5c0d9

tcltest::test Symetric_Block_IDEA-ECB-1.46 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 06060606060606060606060606060606] \
		 -data [binary decode hex FFD372957FD5C0D9]]} \
	-match exact -result 0606060606060606

tcltest::test Symetric_Block_IDEA-ECB-1.47 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 07070707070707070707070707070707] \
		 -data [binary decode hex 0707070707070707]]} \
	-match exact -result b970bcab7dfe96a7

tcltest::test Symetric_Block_IDEA-ECB-1.48 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 07070707070707070707070707070707] \
		 -data [binary decode hex B970BCAB7DFE96A7]]} \
	-match exact -result 0707070707070707

tcltest::test Symetric_Block_IDEA-ECB-1.49 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 08080808080808080808080808080808] \
		 -data [binary decode hex 0808080808080808]]} \
	-match exact -result 283d4e47a1205bd5

tcltest::test Symetric_Block_IDEA-ECB-1.50 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 08080808080808080808080808080808] \
		 -data [binary decode hex 283D4E47A1205BD5]]} \
	-match exact -result 0808080808080808

tcltest::test Symetric_Block_IDEA-ECB-1.51 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 09090909090909090909090909090909] \
		 -data [binary decode hex 0909090909090909]]} \
	-match exact -result c060df27cf6e0a0b

tcltest::test Symetric_Block_IDEA-ECB-1.52 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 09090909090909090909090909090909] \
		 -data [binary decode hex C060DF27CF6E0A0B]]} \
	-match exact -result 0909090909090909

tcltest::test Symetric_Block_IDEA-ECB-1.53 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A] \
		 -data [binary decode hex 0A0A0A0A0A0A0A0A]]} \
	-match exact -result 7d0ff198726e70f1

tcltest::test Symetric_Block_IDEA-ECB-1.54 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A] \
		 -data [binary decode hex 7D0FF198726E70F1]]} \
	-match exact -result 0a0a0a0a0a0a0a0a

tcltest::test Symetric_Block_IDEA-ECB-1.55 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B] \
		 -data [binary decode hex 0B0B0B0B0B0B0B0B]]} \
	-match exact -result a419a578f1d35f3e

tcltest::test Symetric_Block_IDEA-ECB-1.56 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B] \
		 -data [binary decode hex A419A578F1D35F3E]]} \
	-match exact -result 0b0b0b0b0b0b0b0b

tcltest::test Symetric_Block_IDEA-ECB-1.57 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C] \
		 -data [binary decode hex 0C0C0C0C0C0C0C0C]]} \
	-match exact -result aad7e526e2580a70

tcltest::test Symetric_Block_IDEA-ECB-1.58 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C] \
		 -data [binary decode hex AAD7E526E2580A70]]} \
	-match exact -result 0c0c0c0c0c0c0c0c

tcltest::test Symetric_Block_IDEA-ECB-1.59 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D] \
		 -data [binary decode hex 0D0D0D0D0D0D0D0D]]} \
	-match exact -result b2fd0fd4be361d56

tcltest::test Symetric_Block_IDEA-ECB-1.60 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D] \
		 -data [binary decode hex B2FD0FD4BE361D56]]} \
	-match exact -result 0d0d0d0d0d0d0d0d

tcltest::test Symetric_Block_IDEA-ECB-1.61 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E] \
		 -data [binary decode hex 0E0E0E0E0E0E0E0E]]} \
	-match exact -result 40271eadea9f08e1

tcltest::test Symetric_Block_IDEA-ECB-1.62 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E] \
		 -data [binary decode hex 40271EADEA9F08E1]]} \
	-match exact -result 0e0e0e0e0e0e0e0e

tcltest::test Symetric_Block_IDEA-ECB-1.63 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F] \
		 -data [binary decode hex 0F0F0F0F0F0F0F0F]]} \
	-match exact -result c0b13df73b24f9b3

tcltest::test Symetric_Block_IDEA-ECB-1.64 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F] \
		 -data [binary decode hex C0B13DF73B24F9B3]]} \
	-match exact -result 0f0f0f0f0f0f0f0f

tcltest::test Symetric_Block_IDEA-ECB-1.65 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0] \
		 -data [binary decode hex F0F0F0F0F0F0F0F0]]} \
	-match exact -result 1aaff239fefa4f4f

tcltest::test Symetric_Block_IDEA-ECB-1.66 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0] \
		 -data [binary decode hex 1AAFF239FEFA4F4F]]} \
	-match exact -result f0f0f0f0f0f0f0f0

tcltest::test Symetric_Block_IDEA-ECB-1.67 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1] \
		 -data [binary decode hex F1F1F1F1F1F1F1F1]]} \
	-match exact -result 5475cb058eec4990

tcltest::test Symetric_Block_IDEA-ECB-1.68 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1] \
		 -data [binary decode hex 5475CB058EEC4990]]} \
	-match exact -result f1f1f1f1f1f1f1f1

tcltest::test Symetric_Block_IDEA-ECB-1.69 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2] \
		 -data [binary decode hex F2F2F2F2F2F2F2F2]]} \
	-match exact -result e9e66f99002b96c7

tcltest::test Symetric_Block_IDEA-ECB-1.70 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2] \
		 -data [binary decode hex E9E66F99002B96C7]]} \
	-match exact -result f2f2f2f2f2f2f2f2

tcltest::test Symetric_Block_IDEA-ECB-1.71 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3] \
		 -data [binary decode hex F3F3F3F3F3F3F3F3]]} \
	-match exact -result c67076d06a3c184c

tcltest::test Symetric_Block_IDEA-ECB-1.72 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3] \
		 -data [binary decode hex C67076D06A3C184C]]} \
	-match exact -result f3f3f3f3f3f3f3f3

tcltest::test Symetric_Block_IDEA-ECB-1.73 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4] \
		 -data [binary decode hex F4F4F4F4F4F4F4F4]]} \
	-match exact -result 3705aee3d95ef7d6

tcltest::test Symetric_Block_IDEA-ECB-1.74 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4] \
		 -data [binary decode hex 3705AEE3D95EF7D6]]} \
	-match exact -result f4f4f4f4f4f4f4f4

tcltest::test Symetric_Block_IDEA-ECB-1.75 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5] \
		 -data [binary decode hex F5F5F5F5F5F5F5F5]]} \
	-match exact -result 9e8b984dd82c4061

tcltest::test Symetric_Block_IDEA-ECB-1.76 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5] \
		 -data [binary decode hex 9E8B984DD82C4061]]} \
	-match exact -result f5f5f5f5f5f5f5f5

tcltest::test Symetric_Block_IDEA-ECB-1.77 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6] \
		 -data [binary decode hex F6F6F6F6F6F6F6F6]]} \
	-match exact -result 4738c2be9cdd7a95

tcltest::test Symetric_Block_IDEA-ECB-1.78 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6] \
		 -data [binary decode hex 4738C2BE9CDD7A95]]} \
	-match exact -result f6f6f6f6f6f6f6f6

tcltest::test Symetric_Block_IDEA-ECB-1.79 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7] \
		 -data [binary decode hex F7F7F7F7F7F7F7F7]]} \
	-match exact -result 8e13c368f53e55af

tcltest::test Symetric_Block_IDEA-ECB-1.80 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7] \
		 -data [binary decode hex 8E13C368F53E55AF]]} \
	-match exact -result f7f7f7f7f7f7f7f7

tcltest::test Symetric_Block_IDEA-ECB-1.81 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8] \
		 -data [binary decode hex F8F8F8F8F8F8F8F8]]} \
	-match exact -result 69269091d1f6d10f

tcltest::test Symetric_Block_IDEA-ECB-1.82 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8] \
		 -data [binary decode hex 69269091D1F6D10F]]} \
	-match exact -result f8f8f8f8f8f8f8f8

tcltest::test Symetric_Block_IDEA-ECB-1.83 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9] \
		 -data [binary decode hex F9F9F9F9F9F9F9F9]]} \
	-match exact -result d039cdc8f806d0db

tcltest::test Symetric_Block_IDEA-ECB-1.84 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9] \
		 -data [binary decode hex D039CDC8F806D0DB]]} \
	-match exact -result f9f9f9f9f9f9f9f9

tcltest::test Symetric_Block_IDEA-ECB-1.85 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA] \
		 -data [binary decode hex FAFAFAFAFAFAFAFA]]} \
	-match exact -result 52009461e4f37f47

tcltest::test Symetric_Block_IDEA-ECB-1.86 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA] \
		 -data [binary decode hex 52009461E4F37F47]]} \
	-match exact -result fafafafafafafafa

tcltest::test Symetric_Block_IDEA-ECB-1.87 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB] \
		 -data [binary decode hex FBFBFBFBFBFBFBFB]]} \
	-match exact -result 08b02b3f76889032

tcltest::test Symetric_Block_IDEA-ECB-1.88 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB] \
		 -data [binary decode hex 08B02B3F76889032]]} \
	-match exact -result fbfbfbfbfbfbfbfb

tcltest::test Symetric_Block_IDEA-ECB-1.89 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC] \
		 -data [binary decode hex FCFCFCFCFCFCFCFC]]} \
	-match exact -result 77e9d9405d35f1cc

tcltest::test Symetric_Block_IDEA-ECB-1.90 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC] \
		 -data [binary decode hex 77E9D9405D35F1CC]]} \
	-match exact -result fcfcfcfcfcfcfcfc

tcltest::test Symetric_Block_IDEA-ECB-1.91 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD] \
		 -data [binary decode hex FDFDFDFDFDFDFDFD]]} \
	-match exact -result 1a10e3f318aeda9a

tcltest::test Symetric_Block_IDEA-ECB-1.92 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD] \
		 -data [binary decode hex 1A10E3F318AEDA9A]]} \
	-match exact -result fdfdfdfdfdfdfdfd

tcltest::test Symetric_Block_IDEA-ECB-1.93 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE] \
		 -data [binary decode hex FEFEFEFEFEFEFEFE]]} \
	-match exact -result dc6d99012dc01e0b

tcltest::test Symetric_Block_IDEA-ECB-1.94 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE] \
		 -data [binary decode hex DC6D99012DC01E0B]]} \
	-match exact -result fefefefefefefefe

tcltest::test Symetric_Block_IDEA-ECB-1.95 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF] \
		 -data [binary decode hex FFFFFFFFFFFFFFFF]]} \
	-match exact -result cd1ab2c1211041fb

tcltest::test Symetric_Block_IDEA-ECB-1.96 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF] \
		 -data [binary decode hex CD1AB2C1211041FB]]} \
	-match exact -result ffffffffffffffff

tcltest::test Symetric_Block_IDEA-ECB-1.97 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 0011223344556677]]} \
	-match exact -result f526ab9a62c0d258

tcltest::test Symetric_Block_IDEA-ECB-1.98 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex F526AB9A62C0D258]]} \
	-match exact -result 0011223344556677

tcltest::test Symetric_Block_IDEA-ECB-1.99 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 2BD6459F82C5B300952C49104881FF48] \
		 -data [binary decode hex EA024714AD5C4D84]]} \
	-match exact -result c8fb51d3516627a8

tcltest::test Symetric_Block_IDEA-ECB-1.100 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 2BD6459F82C5B300952C49104881FF48] \
		 -data [binary decode hex C8FB51D3516627A8]]} \
	-match exact -result ea024714ad5c4d84

tcltest::test Symetric_Block_IDEA-ECB-1.101 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 80000000000000000000000000000000] \
		 -data [binary decode hex 78071EE87F0130E8]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.102 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 80000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 78071ee87f0130e8

tcltest::test Symetric_Block_IDEA-ECB-1.103 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 40000000000000000000000000000000] \
		 -data [binary decode hex 98AA167965B52792]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.104 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 40000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 98aa167965b52792

tcltest::test Symetric_Block_IDEA-ECB-1.105 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 20000000000000000000000000000000] \
		 -data [binary decode hex 20BC104058293C2D]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.106 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 20000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 20bc104058293c2d

tcltest::test Symetric_Block_IDEA-ECB-1.107 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 10000000000000000000000000000000] \
		 -data [binary decode hex 6050001FFA1A0219]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.108 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 10000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 6050001ffa1a0219

tcltest::test Symetric_Block_IDEA-ECB-1.109 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000008] \
		 -data [binary decode hex C1DF2DDB127CDFE1]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.110 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000008] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result c1df2ddb127cdfe1

tcltest::test Symetric_Block_IDEA-ECB-1.111 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000004] \
		 -data [binary decode hex 8A1495E062113BE9]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.112 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000004] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 8a1495e062113be9

tcltest::test Symetric_Block_IDEA-ECB-1.113 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000002] \
		 -data [binary decode hex 8A2AD21859D1E3E1]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.114 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000002] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 8a2ad21859d1e3e1

tcltest::test Symetric_Block_IDEA-ECB-1.115 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000001] \
		 -data [binary decode hex F61D37EC1C099DE5]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.116 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000001] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result f61d37ec1c099de5

tcltest::test Symetric_Block_IDEA-ECB-1.117 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 8001000180008000]]} \
	-match exact -result 8000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.118 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 8000000000000000]]} \
	-match exact -result 8001000180008000

tcltest::test Symetric_Block_IDEA-ECB-1.119 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex C00180014000C000]]} \
	-match exact -result 4000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.120 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 4000000000000000]]} \
	-match exact -result c00180014000c000

tcltest::test Symetric_Block_IDEA-ECB-1.121 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 6001C00120006000]]} \
	-match exact -result 2000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.122 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 2000000000000000]]} \
	-match exact -result 6001c00120006000

tcltest::test Symetric_Block_IDEA-ECB-1.123 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 3001600190003000]]} \
	-match exact -result 1000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.124 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 1000000000000000]]} \
	-match exact -result 3001600190003000

tcltest::test Symetric_Block_IDEA-ECB-1.125 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 064101610470FCC8]]} \
	-match exact -result 0000000000000008

tcltest::test Symetric_Block_IDEA-ECB-1.126 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000008]]} \
	-match exact -result 064101610470fcc8

tcltest::test Symetric_Block_IDEA-ECB-1.127 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 032100B10238FE64]]} \
	-match exact -result 0000000000000004

tcltest::test Symetric_Block_IDEA-ECB-1.128 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000004]]} \
	-match exact -result 032100b10238fe64

tcltest::test Symetric_Block_IDEA-ECB-1.129 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 01910059011CFF32]]} \
	-match exact -result 0000000000000002

tcltest::test Symetric_Block_IDEA-ECB-1.130 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000002]]} \
	-match exact -result 01910059011cff32

tcltest::test Symetric_Block_IDEA-ECB-1.131 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0013FFF500120009]]} \
	-match exact -result 0000000000000001

tcltest::test Symetric_Block_IDEA-ECB-1.132 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000001]]} \
	-match exact -result 0013fff500120009

tcltest::test Symetric_Block_IDEA-ECB-1.133 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0001000100000000]]} \
	-match exact -result 0000000000000000

tcltest::test Symetric_Block_IDEA-ECB-1.134 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 00000000000000000000000000000000] \
		 -data [binary decode hex 0000000000000000]]} \
	-match exact -result 0001000100000000

tcltest::test Symetric_Block_IDEA-ECB-1.135 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 01010101010101010101010101010101] \
		 -data [binary decode hex 6D33179CE8B3C1FA]]} \
	-match exact -result 0101010101010101

tcltest::test Symetric_Block_IDEA-ECB-1.136 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 01010101010101010101010101010101] \
		 -data [binary decode hex 0101010101010101]]} \
	-match exact -result 6d33179ce8b3c1fa

tcltest::test Symetric_Block_IDEA-ECB-1.137 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 02020202020202020202020202020202] \
		 -data [binary decode hex DF163E38AD71A489]]} \
	-match exact -result 0202020202020202

tcltest::test Symetric_Block_IDEA-ECB-1.138 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 02020202020202020202020202020202] \
		 -data [binary decode hex 0202020202020202]]} \
	-match exact -result df163e38ad71a489

tcltest::test Symetric_Block_IDEA-ECB-1.139 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 03030303030303030303030303030303] \
		 -data [binary decode hex A74AB61FE64CCD14]]} \
	-match exact -result 0303030303030303

tcltest::test Symetric_Block_IDEA-ECB-1.140 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 03030303030303030303030303030303] \
		 -data [binary decode hex 0303030303030303]]} \
	-match exact -result a74ab61fe64ccd14

tcltest::test Symetric_Block_IDEA-ECB-1.141 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 04040404040404040404040404040404] \
		 -data [binary decode hex DECD1268CE7B3CD5]]} \
	-match exact -result 0404040404040404

tcltest::test Symetric_Block_IDEA-ECB-1.142 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 04040404040404040404040404040404] \
		 -data [binary decode hex 0404040404040404]]} \
	-match exact -result decd1268ce7b3cd5

tcltest::test Symetric_Block_IDEA-ECB-1.143 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 05050505050505050505050505050505] \
		 -data [binary decode hex E2F73C827CC38E67]]} \
	-match exact -result 0505050505050505

tcltest::test Symetric_Block_IDEA-ECB-1.144 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 05050505050505050505050505050505] \
		 -data [binary decode hex 0505050505050505]]} \
	-match exact -result e2f73c827cc38e67

tcltest::test Symetric_Block_IDEA-ECB-1.145 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 06060606060606060606060606060606] \
		 -data [binary decode hex FA93BE07E3B0E09C]]} \
	-match exact -result 0606060606060606

tcltest::test Symetric_Block_IDEA-ECB-1.146 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 06060606060606060606060606060606] \
		 -data [binary decode hex 0606060606060606]]} \
	-match exact -result fa93be07e3b0e09c

tcltest::test Symetric_Block_IDEA-ECB-1.147 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 07070707070707070707070707070707] \
		 -data [binary decode hex AB246AC5AADE1B14]]} \
	-match exact -result 0707070707070707

tcltest::test Symetric_Block_IDEA-ECB-1.148 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 07070707070707070707070707070707] \
		 -data [binary decode hex 0707070707070707]]} \
	-match exact -result ab246ac5aade1b14

tcltest::test Symetric_Block_IDEA-ECB-1.149 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 08080808080808080808080808080808] \
		 -data [binary decode hex AC0C17067C0DA182]]} \
	-match exact -result 0808080808080808

tcltest::test Symetric_Block_IDEA-ECB-1.150 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 08080808080808080808080808080808] \
		 -data [binary decode hex 0808080808080808]]} \
	-match exact -result ac0c17067c0da182

tcltest::test Symetric_Block_IDEA-ECB-1.151 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 09090909090909090909090909090909] \
		 -data [binary decode hex EE0EA8A773BE26C6]]} \
	-match exact -result 0909090909090909

tcltest::test Symetric_Block_IDEA-ECB-1.152 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 09090909090909090909090909090909] \
		 -data [binary decode hex 0909090909090909]]} \
	-match exact -result ee0ea8a773be26c6

tcltest::test Symetric_Block_IDEA-ECB-1.153 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A] \
		 -data [binary decode hex 95BF40E823FB39C1]]} \
	-match exact -result 0a0a0a0a0a0a0a0a

tcltest::test Symetric_Block_IDEA-ECB-1.154 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A] \
		 -data [binary decode hex 0A0A0A0A0A0A0A0A]]} \
	-match exact -result 95bf40e823fb39c1

tcltest::test Symetric_Block_IDEA-ECB-1.155 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B] \
		 -data [binary decode hex EB316AA4993C68C6]]} \
	-match exact -result 0b0b0b0b0b0b0b0b

tcltest::test Symetric_Block_IDEA-ECB-1.156 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B] \
		 -data [binary decode hex 0B0B0B0B0B0B0B0B]]} \
	-match exact -result eb316aa4993c68c6

tcltest::test Symetric_Block_IDEA-ECB-1.157 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C] \
		 -data [binary decode hex E2C7D821AC4AD86C]]} \
	-match exact -result 0c0c0c0c0c0c0c0c

tcltest::test Symetric_Block_IDEA-ECB-1.158 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C] \
		 -data [binary decode hex 0C0C0C0C0C0C0C0C]]} \
	-match exact -result e2c7d821ac4ad86c

tcltest::test Symetric_Block_IDEA-ECB-1.159 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D] \
		 -data [binary decode hex 7514A54BA6CFA933]]} \
	-match exact -result 0d0d0d0d0d0d0d0d

tcltest::test Symetric_Block_IDEA-ECB-1.160 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D] \
		 -data [binary decode hex 0D0D0D0D0D0D0D0D]]} \
	-match exact -result 7514a54ba6cfa933

tcltest::test Symetric_Block_IDEA-ECB-1.161 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E] \
		 -data [binary decode hex 2E5A8279A756DEF4]]} \
	-match exact -result 0e0e0e0e0e0e0e0e

tcltest::test Symetric_Block_IDEA-ECB-1.162 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E] \
		 -data [binary decode hex 0E0E0E0E0E0E0E0E]]} \
	-match exact -result 2e5a8279a756def4

tcltest::test Symetric_Block_IDEA-ECB-1.163 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F] \
		 -data [binary decode hex F124018C83415FF3]]} \
	-match exact -result 0f0f0f0f0f0f0f0f

tcltest::test Symetric_Block_IDEA-ECB-1.164 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F] \
		 -data [binary decode hex 0F0F0F0F0F0F0F0F]]} \
	-match exact -result f124018c83415ff3

tcltest::test Symetric_Block_IDEA-ECB-1.165 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0] \
		 -data [binary decode hex 89951D70270C9B17]]} \
	-match exact -result f0f0f0f0f0f0f0f0

tcltest::test Symetric_Block_IDEA-ECB-1.166 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0] \
		 -data [binary decode hex F0F0F0F0F0F0F0F0]]} \
	-match exact -result 89951d70270c9b17

tcltest::test Symetric_Block_IDEA-ECB-1.167 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1] \
		 -data [binary decode hex 2A775028D170B29C]]} \
	-match exact -result f1f1f1f1f1f1f1f1

tcltest::test Symetric_Block_IDEA-ECB-1.168 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1] \
		 -data [binary decode hex F1F1F1F1F1F1F1F1]]} \
	-match exact -result 2a775028d170b29c

tcltest::test Symetric_Block_IDEA-ECB-1.169 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2] \
		 -data [binary decode hex 9A4CF8B7C599EF4A]]} \
	-match exact -result f2f2f2f2f2f2f2f2

tcltest::test Symetric_Block_IDEA-ECB-1.170 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2] \
		 -data [binary decode hex F2F2F2F2F2F2F2F2]]} \
	-match exact -result 9a4cf8b7c599ef4a

tcltest::test Symetric_Block_IDEA-ECB-1.171 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3] \
		 -data [binary decode hex F9966866D43965CD]]} \
	-match exact -result f3f3f3f3f3f3f3f3

tcltest::test Symetric_Block_IDEA-ECB-1.172 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3] \
		 -data [binary decode hex F3F3F3F3F3F3F3F3]]} \
	-match exact -result f9966866d43965cd

tcltest::test Symetric_Block_IDEA-ECB-1.173 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4] \
		 -data [binary decode hex 80E41CCC7641E959]]} \
	-match exact -result f4f4f4f4f4f4f4f4

tcltest::test Symetric_Block_IDEA-ECB-1.174 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4] \
		 -data [binary decode hex F4F4F4F4F4F4F4F4]]} \
	-match exact -result 80e41ccc7641e959

tcltest::test Symetric_Block_IDEA-ECB-1.175 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5] \
		 -data [binary decode hex 0B7C702996413B45]]} \
	-match exact -result f5f5f5f5f5f5f5f5

tcltest::test Symetric_Block_IDEA-ECB-1.176 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5] \
		 -data [binary decode hex F5F5F5F5F5F5F5F5]]} \
	-match exact -result 0b7c702996413b45

tcltest::test Symetric_Block_IDEA-ECB-1.177 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6] \
		 -data [binary decode hex EB69BC3BF5B3FEA5]]} \
	-match exact -result f6f6f6f6f6f6f6f6

tcltest::test Symetric_Block_IDEA-ECB-1.178 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6] \
		 -data [binary decode hex F6F6F6F6F6F6F6F6]]} \
	-match exact -result eb69bc3bf5b3fea5

tcltest::test Symetric_Block_IDEA-ECB-1.179 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7] \
		 -data [binary decode hex 36BF2856E58435EA]]} \
	-match exact -result f7f7f7f7f7f7f7f7

tcltest::test Symetric_Block_IDEA-ECB-1.180 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7] \
		 -data [binary decode hex F7F7F7F7F7F7F7F7]]} \
	-match exact -result 36bf2856e58435ea

tcltest::test Symetric_Block_IDEA-ECB-1.181 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8] \
		 -data [binary decode hex 1CD03F0A40A7B20C]]} \
	-match exact -result f8f8f8f8f8f8f8f8

tcltest::test Symetric_Block_IDEA-ECB-1.182 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8] \
		 -data [binary decode hex F8F8F8F8F8F8F8F8]]} \
	-match exact -result 1cd03f0a40a7b20c

tcltest::test Symetric_Block_IDEA-ECB-1.183 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9] \
		 -data [binary decode hex F56AF83339036916]]} \
	-match exact -result f9f9f9f9f9f9f9f9

tcltest::test Symetric_Block_IDEA-ECB-1.184 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9] \
		 -data [binary decode hex F9F9F9F9F9F9F9F9]]} \
	-match exact -result f56af83339036916

tcltest::test Symetric_Block_IDEA-ECB-1.185 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA] \
		 -data [binary decode hex 3114B9E8F15EA604]]} \
	-match exact -result fafafafafafafafa

tcltest::test Symetric_Block_IDEA-ECB-1.186 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA] \
		 -data [binary decode hex FAFAFAFAFAFAFAFA]]} \
	-match exact -result 3114b9e8f15ea604

tcltest::test Symetric_Block_IDEA-ECB-1.187 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB] \
		 -data [binary decode hex 55BC49104267BD78]]} \
	-match exact -result fbfbfbfbfbfbfbfb

tcltest::test Symetric_Block_IDEA-ECB-1.188 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB] \
		 -data [binary decode hex FBFBFBFBFBFBFBFB]]} \
	-match exact -result 55bc49104267bd78

tcltest::test Symetric_Block_IDEA-ECB-1.189 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC] \
		 -data [binary decode hex 1A578AB6029071AE]]} \
	-match exact -result fcfcfcfcfcfcfcfc

tcltest::test Symetric_Block_IDEA-ECB-1.190 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC] \
		 -data [binary decode hex FCFCFCFCFCFCFCFC]]} \
	-match exact -result 1a578ab6029071ae

tcltest::test Symetric_Block_IDEA-ECB-1.191 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD] \
		 -data [binary decode hex 1C2292FA2BDF8F40]]} \
	-match exact -result fdfdfdfdfdfdfdfd

tcltest::test Symetric_Block_IDEA-ECB-1.192 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD] \
		 -data [binary decode hex FDFDFDFDFDFDFDFD]]} \
	-match exact -result 1c2292fa2bdf8f40

tcltest::test Symetric_Block_IDEA-ECB-1.193 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE] \
		 -data [binary decode hex C7E3F87FFE503CC3]]} \
	-match exact -result fefefefefefefefe

tcltest::test Symetric_Block_IDEA-ECB-1.194 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE] \
		 -data [binary decode hex FEFEFEFEFEFEFEFE]]} \
	-match exact -result c7e3f87ffe503cc3

tcltest::test Symetric_Block_IDEA-ECB-1.195 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF] \
		 -data [binary decode hex 28886D814399E782]]} \
	-match exact -result ffffffffffffffff

tcltest::test Symetric_Block_IDEA-ECB-1.196 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF] \
		 -data [binary decode hex FFFFFFFFFFFFFFFF]]} \
	-match exact -result 28886d814399e782

tcltest::test Symetric_Block_IDEA-ECB-1.197 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex DB2D4A92AA68273F]]} \
	-match exact -result 0011223344556677

tcltest::test Symetric_Block_IDEA-ECB-1.198 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 0011223344556677]]} \
	-match exact -result db2d4a92aa68273f

tcltest::test Symetric_Block_IDEA-ECB-1.199 {Encrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 2BD6459F82C5B300952C49104881FF48] \
		 -data [binary decode hex F129A6601EF62A47]]} \
	-match exact -result ea024714ad5c4d84

tcltest::test Symetric_Block_IDEA-ECB-1.200 {Decrypt IDEA-ECB} \
	-constraints IDEA_ECB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-ECB -padding 0 \
		 -key [binary decode hex 2BD6459F82C5B300952C49104881FF48] \
		 -data [binary decode hex EA024714AD5C4D84]]} \
	-match exact -result f129a6601ef62a47

# Cleanup
::tcltest::cleanupTests
return

Added tests/test_vectors/Symetric_Block/IDEA-ECB.txt version [36f94fb423].



















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
# IDEA ECB vectors built for https://github.com/pyca/cryptography
# Reformatted from https://www.cosic.esat.kuleuven.be/nessie/testvectors/bc/idea/Idea-128-64.verified.test-vectors
# to look like the NIST vectors

[ENCRYPT]

COUNT = 0
KEY = 80000000000000000000000000000000
PLAINTEXT = 0000000000000000
CIPHERTEXT = B1F5F7F87901370F

COUNT = 1
KEY = 40000000000000000000000000000000
PLAINTEXT = 0000000000000000
CIPHERTEXT = B3927DFFB6358626

COUNT = 2
KEY = 20000000000000000000000000000000
PLAINTEXT = 0000000000000000
CIPHERTEXT = E987E0029FB99785

COUNT = 3
KEY = 10000000000000000000000000000000
PLAINTEXT = 0000000000000000
CIPHERTEXT = 754A03CE08DB7DAA

COUNT = 124
KEY = 00000000000000000000000000000008
PLAINTEXT = 0000000000000000
CIPHERTEXT = F59D85F90A42B871

COUNT = 125
KEY = 00000000000000000000000000000004
PLAINTEXT = 0000000000000000
CIPHERTEXT = 24853F38C6C7BC3F

COUNT = 126
KEY = 00000000000000000000000000000002
PLAINTEXT = 0000000000000000
CIPHERTEXT = 41518093035E12E9

COUNT = 127
KEY = 00000000000000000000000000000001
PLAINTEXT = 0000000000000000
CIPHERTEXT = C57ADBDE27BC26CF

COUNT = 128
KEY = 00000000000000000000000000000000
PLAINTEXT = 8000000000000000
CIPHERTEXT = 8001000180008000

COUNT = 129
KEY = 00000000000000000000000000000000
PLAINTEXT = 4000000000000000
CIPHERTEXT = C00180014000C000

COUNT = 130
KEY = 00000000000000000000000000000000
PLAINTEXT = 2000000000000000
CIPHERTEXT = 6001C00120006000

COUNT = 131
KEY = 00000000000000000000000000000000
PLAINTEXT = 1000000000000000
CIPHERTEXT = 3001600190003000

COUNT = 188
KEY = 00000000000000000000000000000000
PLAINTEXT = 0000000000000008
CIPHERTEXT = 064101610470FCC8

COUNT = 189
KEY = 00000000000000000000000000000000
PLAINTEXT = 0000000000000004
CIPHERTEXT = 032100B10238FE64

COUNT = 190
KEY = 00000000000000000000000000000000
PLAINTEXT = 0000000000000002
CIPHERTEXT = 01910059011CFF32

COUNT = 191
KEY = 00000000000000000000000000000000
PLAINTEXT = 0000000000000001
CIPHERTEXT = 0013FFF500120009

COUNT = 192
KEY = 00000000000000000000000000000000
PLAINTEXT = 0000000000000000
CIPHERTEXT = 0001000100000000

COUNT = 193
KEY = 01010101010101010101010101010101
PLAINTEXT = 0101010101010101
CIPHERTEXT = E3F8AFF7A3795615

COUNT = 194
KEY = 02020202020202020202020202020202
PLAINTEXT = 0202020202020202
CIPHERTEXT = 93D8C66F869189B9

COUNT = 195
KEY = 03030303030303030303030303030303
PLAINTEXT = 0303030303030303
CIPHERTEXT = 4FDD60E349A14800

COUNT = 196
KEY = 04040404040404040404040404040404
PLAINTEXT = 0404040404040404
CIPHERTEXT = 3D6F7A5EA045E71D

COUNT = 197
KEY = 05050505050505050505050505050505
PLAINTEXT = 0505050505050505
CIPHERTEXT = 13E677DB2AA285D9

COUNT = 198
KEY = 06060606060606060606060606060606
PLAINTEXT = 0606060606060606
CIPHERTEXT = FFD372957FD5C0D9

COUNT = 199
KEY = 07070707070707070707070707070707
PLAINTEXT = 0707070707070707
CIPHERTEXT = B970BCAB7DFE96A7

COUNT = 200
KEY = 08080808080808080808080808080808
PLAINTEXT = 0808080808080808
CIPHERTEXT = 283D4E47A1205BD5

COUNT = 201
KEY = 09090909090909090909090909090909
PLAINTEXT = 0909090909090909
CIPHERTEXT = C060DF27CF6E0A0B

COUNT = 202
KEY = 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A
PLAINTEXT = 0A0A0A0A0A0A0A0A
CIPHERTEXT = 7D0FF198726E70F1

COUNT = 203
KEY = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B
PLAINTEXT = 0B0B0B0B0B0B0B0B
CIPHERTEXT = A419A578F1D35F3E

COUNT = 204
KEY = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C
PLAINTEXT = 0C0C0C0C0C0C0C0C
CIPHERTEXT = AAD7E526E2580A70

COUNT = 205
KEY = 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D
PLAINTEXT = 0D0D0D0D0D0D0D0D
CIPHERTEXT = B2FD0FD4BE361D56

COUNT = 206
KEY = 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E
PLAINTEXT = 0E0E0E0E0E0E0E0E
CIPHERTEXT = 40271EADEA9F08E1

COUNT = 207
KEY = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
PLAINTEXT = 0F0F0F0F0F0F0F0F
CIPHERTEXT = C0B13DF73B24F9B3

COUNT = 432
KEY = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
PLAINTEXT = F0F0F0F0F0F0F0F0
CIPHERTEXT = 1AAFF239FEFA4F4F

COUNT = 433
KEY = F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
PLAINTEXT = F1F1F1F1F1F1F1F1
CIPHERTEXT = 5475CB058EEC4990

COUNT = 434
KEY = F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2
PLAINTEXT = F2F2F2F2F2F2F2F2
CIPHERTEXT = E9E66F99002B96C7

COUNT = 435
KEY = F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3
PLAINTEXT = F3F3F3F3F3F3F3F3
CIPHERTEXT = C67076D06A3C184C

COUNT = 436
KEY = F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4
PLAINTEXT = F4F4F4F4F4F4F4F4
CIPHERTEXT = 3705AEE3D95EF7D6

COUNT = 437
KEY = F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5
PLAINTEXT = F5F5F5F5F5F5F5F5
CIPHERTEXT = 9E8B984DD82C4061

COUNT = 438
KEY = F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6
PLAINTEXT = F6F6F6F6F6F6F6F6
CIPHERTEXT = 4738C2BE9CDD7A95

COUNT = 439
KEY = F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7
PLAINTEXT = F7F7F7F7F7F7F7F7
CIPHERTEXT = 8E13C368F53E55AF

COUNT = 440
KEY = F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8
PLAINTEXT = F8F8F8F8F8F8F8F8
CIPHERTEXT = 69269091D1F6D10F

COUNT = 441
KEY = F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9
PLAINTEXT = F9F9F9F9F9F9F9F9
CIPHERTEXT = D039CDC8F806D0DB

COUNT = 442
KEY = FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA
PLAINTEXT = FAFAFAFAFAFAFAFA
CIPHERTEXT = 52009461E4F37F47

COUNT = 443
KEY = FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB
PLAINTEXT = FBFBFBFBFBFBFBFB
CIPHERTEXT = 08B02B3F76889032

COUNT = 444
KEY = FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC
PLAINTEXT = FCFCFCFCFCFCFCFC
CIPHERTEXT = 77E9D9405D35F1CC

COUNT = 445
KEY = FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD
PLAINTEXT = FDFDFDFDFDFDFDFD
CIPHERTEXT = 1A10E3F318AEDA9A

COUNT = 446
KEY = FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE
PLAINTEXT = FEFEFEFEFEFEFEFE
CIPHERTEXT = DC6D99012DC01E0B

COUNT = 447
KEY = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
PLAINTEXT = FFFFFFFFFFFFFFFF
CIPHERTEXT = CD1AB2C1211041FB

COUNT = 448
KEY = 000102030405060708090A0B0C0D0E0F
PLAINTEXT = 0011223344556677
CIPHERTEXT = F526AB9A62C0D258

COUNT = 449
KEY = 2BD6459F82C5B300952C49104881FF48
PLAINTEXT = EA024714AD5C4D84
CIPHERTEXT = C8FB51D3516627A8

COUNT = 450
KEY = 80000000000000000000000000000000
CIPHERTEXT = 0000000000000000
PLAINTEXT = 78071EE87F0130E8

COUNT = 451
KEY = 40000000000000000000000000000000
CIPHERTEXT = 0000000000000000
PLAINTEXT = 98AA167965B52792

COUNT = 452
KEY = 20000000000000000000000000000000
CIPHERTEXT = 0000000000000000
PLAINTEXT = 20BC104058293C2D

COUNT = 453
KEY = 10000000000000000000000000000000
CIPHERTEXT = 0000000000000000
PLAINTEXT = 6050001FFA1A0219

COUNT = 574
KEY = 00000000000000000000000000000008
CIPHERTEXT = 0000000000000000
PLAINTEXT = C1DF2DDB127CDFE1

COUNT = 575
KEY = 00000000000000000000000000000004
CIPHERTEXT = 0000000000000000
PLAINTEXT = 8A1495E062113BE9

COUNT = 576
KEY = 00000000000000000000000000000002
CIPHERTEXT = 0000000000000000
PLAINTEXT = 8A2AD21859D1E3E1

COUNT = 577
KEY = 00000000000000000000000000000001
CIPHERTEXT = 0000000000000000
PLAINTEXT = F61D37EC1C099DE5

COUNT = 578
KEY = 00000000000000000000000000000000
CIPHERTEXT = 8000000000000000
PLAINTEXT = 8001000180008000

COUNT = 579
KEY = 00000000000000000000000000000000
CIPHERTEXT = 4000000000000000
PLAINTEXT = C00180014000C000

COUNT = 580
KEY = 00000000000000000000000000000000
CIPHERTEXT = 2000000000000000
PLAINTEXT = 6001C00120006000

COUNT = 581
KEY = 00000000000000000000000000000000
CIPHERTEXT = 1000000000000000
PLAINTEXT = 3001600190003000

COUNT = 638
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0000000000000008
PLAINTEXT = 064101610470FCC8

COUNT = 639
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0000000000000004
PLAINTEXT = 032100B10238FE64

COUNT = 640
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0000000000000002
PLAINTEXT = 01910059011CFF32

COUNT = 641
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0000000000000001
PLAINTEXT = 0013FFF500120009

COUNT = 642
KEY = 00000000000000000000000000000000
CIPHERTEXT = 0000000000000000
PLAINTEXT = 0001000100000000

COUNT = 643
KEY = 01010101010101010101010101010101
CIPHERTEXT = 0101010101010101
PLAINTEXT = 6D33179CE8B3C1FA

COUNT = 644
KEY = 02020202020202020202020202020202
CIPHERTEXT = 0202020202020202
PLAINTEXT = DF163E38AD71A489

COUNT = 645
KEY = 03030303030303030303030303030303
CIPHERTEXT = 0303030303030303
PLAINTEXT = A74AB61FE64CCD14

COUNT = 646
KEY = 04040404040404040404040404040404
CIPHERTEXT = 0404040404040404
PLAINTEXT = DECD1268CE7B3CD5

COUNT = 647
KEY = 05050505050505050505050505050505
CIPHERTEXT = 0505050505050505
PLAINTEXT = E2F73C827CC38E67

COUNT = 648
KEY = 06060606060606060606060606060606
CIPHERTEXT = 0606060606060606
PLAINTEXT = FA93BE07E3B0E09C

COUNT = 649
KEY = 07070707070707070707070707070707
CIPHERTEXT = 0707070707070707
PLAINTEXT = AB246AC5AADE1B14

COUNT = 650
KEY = 08080808080808080808080808080808
CIPHERTEXT = 0808080808080808
PLAINTEXT = AC0C17067C0DA182

COUNT = 651
KEY = 09090909090909090909090909090909
CIPHERTEXT = 0909090909090909
PLAINTEXT = EE0EA8A773BE26C6

COUNT = 652
KEY = 0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A0A
CIPHERTEXT = 0A0A0A0A0A0A0A0A
PLAINTEXT = 95BF40E823FB39C1

COUNT = 653
KEY = 0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B
CIPHERTEXT = 0B0B0B0B0B0B0B0B
PLAINTEXT = EB316AA4993C68C6

COUNT = 654
KEY = 0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C
CIPHERTEXT = 0C0C0C0C0C0C0C0C
PLAINTEXT = E2C7D821AC4AD86C

COUNT = 655
KEY = 0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D0D
CIPHERTEXT = 0D0D0D0D0D0D0D0D
PLAINTEXT = 7514A54BA6CFA933

COUNT = 656
KEY = 0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E0E
CIPHERTEXT = 0E0E0E0E0E0E0E0E
PLAINTEXT = 2E5A8279A756DEF4

COUNT = 657
KEY = 0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
CIPHERTEXT = 0F0F0F0F0F0F0F0F
PLAINTEXT = F124018C83415FF3

COUNT = 882
KEY = F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0
CIPHERTEXT = F0F0F0F0F0F0F0F0
PLAINTEXT = 89951D70270C9B17

COUNT = 883
KEY = F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1
CIPHERTEXT = F1F1F1F1F1F1F1F1
PLAINTEXT = 2A775028D170B29C

COUNT = 884
KEY = F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2F2
CIPHERTEXT = F2F2F2F2F2F2F2F2
PLAINTEXT = 9A4CF8B7C599EF4A

COUNT = 885
KEY = F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3F3
CIPHERTEXT = F3F3F3F3F3F3F3F3
PLAINTEXT = F9966866D43965CD

COUNT = 886
KEY = F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4F4
CIPHERTEXT = F4F4F4F4F4F4F4F4
PLAINTEXT = 80E41CCC7641E959

COUNT = 887
KEY = F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5
CIPHERTEXT = F5F5F5F5F5F5F5F5
PLAINTEXT = 0B7C702996413B45

COUNT = 888
KEY = F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6F6
CIPHERTEXT = F6F6F6F6F6F6F6F6
PLAINTEXT = EB69BC3BF5B3FEA5

COUNT = 889
KEY = F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7
CIPHERTEXT = F7F7F7F7F7F7F7F7
PLAINTEXT = 36BF2856E58435EA

COUNT = 890
KEY = F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8F8
CIPHERTEXT = F8F8F8F8F8F8F8F8
PLAINTEXT = 1CD03F0A40A7B20C

COUNT = 891
KEY = F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9F9
CIPHERTEXT = F9F9F9F9F9F9F9F9
PLAINTEXT = F56AF83339036916

COUNT = 892
KEY = FAFAFAFAFAFAFAFAFAFAFAFAFAFAFAFA
CIPHERTEXT = FAFAFAFAFAFAFAFA
PLAINTEXT = 3114B9E8F15EA604

COUNT = 893
KEY = FBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFB
CIPHERTEXT = FBFBFBFBFBFBFBFB
PLAINTEXT = 55BC49104267BD78

COUNT = 894
KEY = FCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFC
CIPHERTEXT = FCFCFCFCFCFCFCFC
PLAINTEXT = 1A578AB6029071AE

COUNT = 895
KEY = FDFDFDFDFDFDFDFDFDFDFDFDFDFDFDFD
CIPHERTEXT = FDFDFDFDFDFDFDFD
PLAINTEXT = 1C2292FA2BDF8F40

COUNT = 896
KEY = FEFEFEFEFEFEFEFEFEFEFEFEFEFEFEFE
CIPHERTEXT = FEFEFEFEFEFEFEFE
PLAINTEXT = C7E3F87FFE503CC3

COUNT = 897
KEY = FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
CIPHERTEXT = FFFFFFFFFFFFFFFF
PLAINTEXT = 28886D814399E782

COUNT = 898
KEY = 000102030405060708090A0B0C0D0E0F
CIPHERTEXT = 0011223344556677
PLAINTEXT = DB2D4A92AA68273F

COUNT = 899
KEY = 2BD6459F82C5B300952C49104881FF48
CIPHERTEXT = EA024714AD5C4D84
PLAINTEXT = F129A6601EF62A47

Added tests/test_vectors/Symetric_Block/IDEA-OFB.test version [921c132deb].























































































































































































































































































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
# Auto generated from "IDEA-OFB.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint IDEA_OFB [expr {[lsearch -nocase [tls::ciphers] IDEA-OFB] > -1}]

tcltest::test Symetric_Block_IDEA-OFB-1.1 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex d7d57bd847154af9722a8df096e61a42] \
		 -iv [binary decode hex fdde201c91e401d9] \
		 -data [binary decode hex 81883f22165282ba6a442a8dd2a768d4]]} \
	-match exact -result 770e7b0eacc089b7eef410d98d886e9e

tcltest::test Symetric_Block_IDEA-OFB-1.2 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex d7d57bd847154af9722a8df096e61a42] \
		 -iv [binary decode hex fdde201c91e401d9] \
		 -data [binary decode hex 770e7b0eacc089b7eef410d98d886e9e]]} \
	-match exact -result 81883f22165282ba6a442a8dd2a768d4

tcltest::test Symetric_Block_IDEA-OFB-1.3 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex c9f4ce21b4c7daaa4f93e292dc605bc5] \
		 -iv [binary decode hex 5e5a8cf2808c720e] \
		 -data [binary decode hex 8e19c5cacd015a662e7f40cdecadbf79a68081c06d9544b41c2dd248e77633b4]]} \
	-match exact -result 7debe39a58066a7994150d910060b127582de612ff58f9564a92ab45591bec49

tcltest::test Symetric_Block_IDEA-OFB-1.4 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex c9f4ce21b4c7daaa4f93e292dc605bc5] \
		 -iv [binary decode hex 5e5a8cf2808c720e] \
		 -data [binary decode hex 7debe39a58066a7994150d910060b127582de612ff58f9564a92ab45591bec49]]} \
	-match exact -result 8e19c5cacd015a662e7f40cdecadbf79a68081c06d9544b41c2dd248e77633b4

tcltest::test Symetric_Block_IDEA-OFB-1.5 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 7a70cc6b261eeccb05c57117d5763197] \
		 -iv [binary decode hex bb7b9667fbd76d5e] \
		 -data [binary decode hex 823cbaae3760c85512a3c83fd60bb54b7cfc739b295b63e05ef435d86e19fd15368c89ff08a0f21ce89a728ffb5d75df]]} \
	-match exact -result ab6e0f15cedf272c78fbc7fadcc4ba1ded256668b9bc8302dc3312c0149e656e8fea632b8e20f5ae8675106d7761a366

tcltest::test Symetric_Block_IDEA-OFB-1.6 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 7a70cc6b261eeccb05c57117d5763197] \
		 -iv [binary decode hex bb7b9667fbd76d5e] \
		 -data [binary decode hex ab6e0f15cedf272c78fbc7fadcc4ba1ded256668b9bc8302dc3312c0149e656e8fea632b8e20f5ae8675106d7761a366]]} \
	-match exact -result 823cbaae3760c85512a3c83fd60bb54b7cfc739b295b63e05ef435d86e19fd15368c89ff08a0f21ce89a728ffb5d75df

tcltest::test Symetric_Block_IDEA-OFB-1.7 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 85dbd5a6e73681a51a4a7d4e93ca7d0c] \
		 -iv [binary decode hex 89d897c5aa9e0a5d] \
		 -data [binary decode hex e3dbfc6ae1a879870fd22644c8135fe063355dfc0a8dad45c9c6e052e6e085cf717754dc1b49acb04cf340826ffb0da991138f022a9c34923a6a116c98c7d3d5]]} \
	-match exact -result f2175634137d76347f4cd8f44a00282f6144dfc0cde4929457f8f180f62aabd180249d4568405d9d596be34802ded7d2e390d77384677c45575eb6865cca7cb2

tcltest::test Symetric_Block_IDEA-OFB-1.8 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 85dbd5a6e73681a51a4a7d4e93ca7d0c] \
		 -iv [binary decode hex 89d897c5aa9e0a5d] \
		 -data [binary decode hex f2175634137d76347f4cd8f44a00282f6144dfc0cde4929457f8f180f62aabd180249d4568405d9d596be34802ded7d2e390d77384677c45575eb6865cca7cb2]]} \
	-match exact -result e3dbfc6ae1a879870fd22644c8135fe063355dfc0a8dad45c9c6e052e6e085cf717754dc1b49acb04cf340826ffb0da991138f022a9c34923a6a116c98c7d3d5

tcltest::test Symetric_Block_IDEA-OFB-1.9 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 18b9887a34438fb2e759027e54e334b6] \
		 -iv [binary decode hex a5be8621e58dae32] \
		 -data [binary decode hex 8cd659df925950b516f737fc92d2fafa008c008c9dfe0e75ed2d68f6ff79399ff2183464b8c37cf31aafc145fcbfac73e3f87eccb435f424bf1c6d6efb504e8e93e8a668a2210e3d3b4fd437ad1a5842]]} \
	-match exact -result b5241fefa40b2f9f015387b0e648843e35549d891702d66c1bf440aeb07432e3299badcc1d56b9ca8c45abcd677cfda10de93e2f3b05b2da1086e4070301989eac95cd7ed311b7de208bf66a59f64d1f

tcltest::test Symetric_Block_IDEA-OFB-1.10 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 18b9887a34438fb2e759027e54e334b6] \
		 -iv [binary decode hex a5be8621e58dae32] \
		 -data [binary decode hex b5241fefa40b2f9f015387b0e648843e35549d891702d66c1bf440aeb07432e3299badcc1d56b9ca8c45abcd677cfda10de93e2f3b05b2da1086e4070301989eac95cd7ed311b7de208bf66a59f64d1f]]} \
	-match exact -result 8cd659df925950b516f737fc92d2fafa008c008c9dfe0e75ed2d68f6ff79399ff2183464b8c37cf31aafc145fcbfac73e3f87eccb435f424bf1c6d6efb504e8e93e8a668a2210e3d3b4fd437ad1a5842

tcltest::test Symetric_Block_IDEA-OFB-1.11 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex da52c0e4609e82ee926174a9eaf90b08] \
		 -iv [binary decode hex f2d0c5e86b4ddb40] \
		 -data [binary decode hex 91d6c95a614cf85de16eeabe5976c2a2a9d307042f79a7aaeb7c3c57e1dd8d43bfa458c8c02e4f5ed0c960c9f17e3991dd2e0cb3ede18f96395a484001ef07ca4c97b411ce454aaf0f74242aca03786a93442171bd50a1467b9d663245d24c2f]]} \
	-match exact -result f0decc26c48676592200ae619f0b5111d629733f23a34ce888c862e9ae0886b5e8f93e2c2832d3cde6cccc5499801e7b8790b61e8a13add9da593981e8ba4ec08e46226eb77f8fb40105e040c7a5d84e4df6ee05f3e29832f80db65bc03fd4b6

tcltest::test Symetric_Block_IDEA-OFB-1.12 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex da52c0e4609e82ee926174a9eaf90b08] \
		 -iv [binary decode hex f2d0c5e86b4ddb40] \
		 -data [binary decode hex f0decc26c48676592200ae619f0b5111d629733f23a34ce888c862e9ae0886b5e8f93e2c2832d3cde6cccc5499801e7b8790b61e8a13add9da593981e8ba4ec08e46226eb77f8fb40105e040c7a5d84e4df6ee05f3e29832f80db65bc03fd4b6]]} \
	-match exact -result 91d6c95a614cf85de16eeabe5976c2a2a9d307042f79a7aaeb7c3c57e1dd8d43bfa458c8c02e4f5ed0c960c9f17e3991dd2e0cb3ede18f96395a484001ef07ca4c97b411ce454aaf0f74242aca03786a93442171bd50a1467b9d663245d24c2f

tcltest::test Symetric_Block_IDEA-OFB-1.13 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 56d6f7e2a870b92d55ff8d6e9c554d2a] \
		 -iv [binary decode hex b512f0e11e27fd1a] \
		 -data [binary decode hex e62cdeac43667749701314c546f778a4c758e4f55760e7d729c3783cf7a242edf6ae3fcf0990886434896c945455bfae0e5674aa06ee6fb1512d94df2cac2447eeb849373bb3efbe7bb8d66c8a7ee559b17fc268d6599fcdef7457cdbde5b9c5b692236e4397545f2be97bd44f3993ad]]} \
	-match exact -result b0464ff22110d71452ab1b6c8064b706268a2d849607c734ae20c1d4f55c2b98a4abb7db1759205cd0f870f6dfbc7d4fdd72e60c4e9a4143dc76408340dd6d2c6ce86381511930997a304cf890eec337176c95b834186a9191fbb17b8548e3dc7b10c8b7cb8d0b6bbb26ceac0111477c

tcltest::test Symetric_Block_IDEA-OFB-1.14 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 56d6f7e2a870b92d55ff8d6e9c554d2a] \
		 -iv [binary decode hex b512f0e11e27fd1a] \
		 -data [binary decode hex b0464ff22110d71452ab1b6c8064b706268a2d849607c734ae20c1d4f55c2b98a4abb7db1759205cd0f870f6dfbc7d4fdd72e60c4e9a4143dc76408340dd6d2c6ce86381511930997a304cf890eec337176c95b834186a9191fbb17b8548e3dc7b10c8b7cb8d0b6bbb26ceac0111477c]]} \
	-match exact -result e62cdeac43667749701314c546f778a4c758e4f55760e7d729c3783cf7a242edf6ae3fcf0990886434896c945455bfae0e5674aa06ee6fb1512d94df2cac2447eeb849373bb3efbe7bb8d66c8a7ee559b17fc268d6599fcdef7457cdbde5b9c5b692236e4397545f2be97bd44f3993ad

tcltest::test Symetric_Block_IDEA-OFB-1.15 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 09f216ff78dfe419dfcef1a855473414] \
		 -iv [binary decode hex 722174c892d26529] \
		 -data [binary decode hex 11f435e7e3656fcfa8e0df230311ca21054e84e13c8590e7ec7309f59c174022d467a7302641ee1b6ba46bee4f20bfda108bb78982f670b057dfbfe49da9cfae88490ce17241402b20d2fceb476d3a424e6c406d56ffc85278695d584d6c087cb4012ca2cf4daf284fd15ac1f2e183814957e934bf88dff4d777adfbb54933b5]]} \
	-match exact -result 59cb49f6193b7a8c728049be0a804b3a2ea9c0dfbe84f82b5b0439e33e073168f90053094c37ab3ce34b7abfb6386b23003e73e275ea2fa8da8c2acc18314ffdcd8c0512bed2472e5d82e7e27a0af1d01aecf4a14ad8bb031ad968ec0aacc9d759aa76c58c74400fed536c7482474ce23cb798cc8885713d1a32c174ef6827da

tcltest::test Symetric_Block_IDEA-OFB-1.16 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 09f216ff78dfe419dfcef1a855473414] \
		 -iv [binary decode hex 722174c892d26529] \
		 -data [binary decode hex 59cb49f6193b7a8c728049be0a804b3a2ea9c0dfbe84f82b5b0439e33e073168f90053094c37ab3ce34b7abfb6386b23003e73e275ea2fa8da8c2acc18314ffdcd8c0512bed2472e5d82e7e27a0af1d01aecf4a14ad8bb031ad968ec0aacc9d759aa76c58c74400fed536c7482474ce23cb798cc8885713d1a32c174ef6827da]]} \
	-match exact -result 11f435e7e3656fcfa8e0df230311ca21054e84e13c8590e7ec7309f59c174022d467a7302641ee1b6ba46bee4f20bfda108bb78982f670b057dfbfe49da9cfae88490ce17241402b20d2fceb476d3a424e6c406d56ffc85278695d584d6c087cb4012ca2cf4daf284fd15ac1f2e183814957e934bf88dff4d777adfbb54933b5

tcltest::test Symetric_Block_IDEA-OFB-1.17 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex cde9b69eea2b6a5588457e35e0a08803] \
		 -iv [binary decode hex 52323b54d69a62fe] \
		 -data [binary decode hex 967798995af6f435b3a6f92bff77a11fa44d1426ae0f6e7dbafac27b123c5fc419be52c0ea412c4b3cac05ae89a4c0ce6f5e91a456b1bded5370a1234cf6f6ab5d0253507bc6f3f0573ab97585b67107dec059812323e021e341ad839ea9e3d02aeca43356add48ccef81f693ed53d32ba1c74a35e8a5f7f3115ef834f7daf9948244c4fc31f5487678d3e70fb27abb5]]} \
	-match exact -result dd12abdb3d5ec0e56565f9c9d281095cd97b8dc05f230d23ef0ed671abfe5eb9cfa9b5b7acaad4f2e00f0319de2fa90baa757b3f9f96df735233e433c0b8451dbf84465cf6d26e30198cbb1c6e100822aed49690db1638efb1a3e94039b83de7e1ab9339fa31e93440da61c4a814914c16742470428858336dd2944eaf81e2b93bb279454a4a1e02de7f82657ef32904

tcltest::test Symetric_Block_IDEA-OFB-1.18 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex cde9b69eea2b6a5588457e35e0a08803] \
		 -iv [binary decode hex 52323b54d69a62fe] \
		 -data [binary decode hex dd12abdb3d5ec0e56565f9c9d281095cd97b8dc05f230d23ef0ed671abfe5eb9cfa9b5b7acaad4f2e00f0319de2fa90baa757b3f9f96df735233e433c0b8451dbf84465cf6d26e30198cbb1c6e100822aed49690db1638efb1a3e94039b83de7e1ab9339fa31e93440da61c4a814914c16742470428858336dd2944eaf81e2b93bb279454a4a1e02de7f82657ef32904]]} \
	-match exact -result 967798995af6f435b3a6f92bff77a11fa44d1426ae0f6e7dbafac27b123c5fc419be52c0ea412c4b3cac05ae89a4c0ce6f5e91a456b1bded5370a1234cf6f6ab5d0253507bc6f3f0573ab97585b67107dec059812323e021e341ad839ea9e3d02aeca43356add48ccef81f693ed53d32ba1c74a35e8a5f7f3115ef834f7daf9948244c4fc31f5487678d3e70fb27abb5

tcltest::test Symetric_Block_IDEA-OFB-1.19 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 939aac71e337709855715a57e3a4648f] \
		 -iv [binary decode hex 493509b56a92f140] \
		 -data [binary decode hex 9c22efddc7de496a916d15d710de374d57478126ed64c9ad7e823e24d19bfc0cfac3dda0d1c292a3a203f35b26ad94deb20f998caf41cbdd4a08eb5d6cfb46f4ede4896b0569d72c03ec194941af95c0573cc3fe8f045ba19946b382803248f3dd4f9a454b1a3e8e1af02ea8482d637dac96a68275f4a382d3023f9df4892b9032cab9378b1cef5051d6db81226f259d1be4eb23495ac807600536b5b0481754]]} \
	-match exact -result 3ce172ca82e0a649e182b3c4bd235f55936d343810bcbb6e53f6f6934c6cae8cd54212e9acb4379c99d83c6ecb72d915400b86f984d67f394b72fcdad6eafb56298da8ede4ceea5c1cc3e54d6d6505fddb2857470184adf50b287bd3db64b73da05584f78689b6d1215a26ebf18ef83fe38970bb23346a0a6380f77afd206333821646463a9e72124bdaf8c9b3046cfb5a48db37686859f79098cb806135bea0

tcltest::test Symetric_Block_IDEA-OFB-1.20 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 939aac71e337709855715a57e3a4648f] \
		 -iv [binary decode hex 493509b56a92f140] \
		 -data [binary decode hex 3ce172ca82e0a649e182b3c4bd235f55936d343810bcbb6e53f6f6934c6cae8cd54212e9acb4379c99d83c6ecb72d915400b86f984d67f394b72fcdad6eafb56298da8ede4ceea5c1cc3e54d6d6505fddb2857470184adf50b287bd3db64b73da05584f78689b6d1215a26ebf18ef83fe38970bb23346a0a6380f77afd206333821646463a9e72124bdaf8c9b3046cfb5a48db37686859f79098cb806135bea0]]} \
	-match exact -result 9c22efddc7de496a916d15d710de374d57478126ed64c9ad7e823e24d19bfc0cfac3dda0d1c292a3a203f35b26ad94deb20f998caf41cbdd4a08eb5d6cfb46f4ede4896b0569d72c03ec194941af95c0573cc3fe8f045ba19946b382803248f3dd4f9a454b1a3e8e1af02ea8482d637dac96a68275f4a382d3023f9df4892b9032cab9378b1cef5051d6db81226f259d1be4eb23495ac807600536b5b0481754

tcltest::test Symetric_Block_IDEA-OFB-1.21 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 8368189d41eaa20d06a3a2d2a91e43f7] \
		 -iv [binary decode hex cf04ac0e4733952b] \
		 -data [binary decode hex 696ca57339840fb3c150e0c111d9e13e]]} \
	-match exact -result 93e074da165bb361804f9183fccf09a7

tcltest::test Symetric_Block_IDEA-OFB-1.22 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 8368189d41eaa20d06a3a2d2a91e43f7] \
		 -iv [binary decode hex cf04ac0e4733952b] \
		 -data [binary decode hex 93e074da165bb361804f9183fccf09a7]]} \
	-match exact -result 696ca57339840fb3c150e0c111d9e13e

tcltest::test Symetric_Block_IDEA-OFB-1.23 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 5124c6fdb0856ded76afb6febdaa981e] \
		 -iv [binary decode hex 937ebdeec379685a] \
		 -data [binary decode hex 5a5928dd09e78a21256eadb062630a3f0b47ca2376ccae314948143fff2512d4]]} \
	-match exact -result 4876980c4401aad16b3e1eabff960769a1bc8405a985dadc08282d0ff674e4f2

tcltest::test Symetric_Block_IDEA-OFB-1.24 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 5124c6fdb0856ded76afb6febdaa981e] \
		 -iv [binary decode hex 937ebdeec379685a] \
		 -data [binary decode hex 4876980c4401aad16b3e1eabff960769a1bc8405a985dadc08282d0ff674e4f2]]} \
	-match exact -result 5a5928dd09e78a21256eadb062630a3f0b47ca2376ccae314948143fff2512d4

tcltest::test Symetric_Block_IDEA-OFB-1.25 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 6a8f6487e76058bc5a126276e48fdd77] \
		 -iv [binary decode hex 6e75d8b8ac097614] \
		 -data [binary decode hex 424ddc343067612fdb426920f40ab4d82e3d4f9485b07fef91617556d3093874840e8110ff375b7a68f98c471ca10acc]]} \
	-match exact -result 948a59cd4ac292743708e7309b9893fbeba832a9996ecccc13a8cc17a7711f00858e5e3d04c0635371191356eb58f78d

tcltest::test Symetric_Block_IDEA-OFB-1.26 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 6a8f6487e76058bc5a126276e48fdd77] \
		 -iv [binary decode hex 6e75d8b8ac097614] \
		 -data [binary decode hex 948a59cd4ac292743708e7309b9893fbeba832a9996ecccc13a8cc17a7711f00858e5e3d04c0635371191356eb58f78d]]} \
	-match exact -result 424ddc343067612fdb426920f40ab4d82e3d4f9485b07fef91617556d3093874840e8110ff375b7a68f98c471ca10acc

tcltest::test Symetric_Block_IDEA-OFB-1.27 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 01963d44aea026b2205238454d5bb73f] \
		 -iv [binary decode hex 9442a6e0f3a53f10] \
		 -data [binary decode hex c54cfacd953736a2d8db0b8b63b555253a0ca6f6e05f2e918d18be95669fa85609f827d6da014add2964626670c202b195248fc986372c92adbb10c0e7c36e04]]} \
	-match exact -result 26c746d831f5f7ea08686075d0f180f52b0fcc105494943bc0179fdb01fc437ae60fe3dee725902f11fb3dbbc42184f52b1d5207c71d1e6fe0e83b3dc2767227

tcltest::test Symetric_Block_IDEA-OFB-1.28 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 01963d44aea026b2205238454d5bb73f] \
		 -iv [binary decode hex 9442a6e0f3a53f10] \
		 -data [binary decode hex 26c746d831f5f7ea08686075d0f180f52b0fcc105494943bc0179fdb01fc437ae60fe3dee725902f11fb3dbbc42184f52b1d5207c71d1e6fe0e83b3dc2767227]]} \
	-match exact -result c54cfacd953736a2d8db0b8b63b555253a0ca6f6e05f2e918d18be95669fa85609f827d6da014add2964626670c202b195248fc986372c92adbb10c0e7c36e04

tcltest::test Symetric_Block_IDEA-OFB-1.29 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 4ea87b0b346054c097edc5601b782870] \
		 -iv [binary decode hex 9a3e23333b2b2de7] \
		 -data [binary decode hex 0c7734310c5ca82b520bf1e0a1614c7ddd0c002711ef0b239de8fa256e15b32056b992747ff3a3a310d52e9df36275d9192dad61caa16715744552c865c5ae9477a70a2c3a02a01ba176b927445094d2]]} \
	-match exact -result d5f99a34f86f6de38e10712f306add36cfef67ed3bd8dbf0cb32f5ffc1832037cba7168e2249e1c635de1577797898d2573aa6fd61e766cbd0e4e5bc87c5d85fc95dbdc78c26d51a7228515b342f94cf

tcltest::test Symetric_Block_IDEA-OFB-1.30 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 4ea87b0b346054c097edc5601b782870] \
		 -iv [binary decode hex 9a3e23333b2b2de7] \
		 -data [binary decode hex d5f99a34f86f6de38e10712f306add36cfef67ed3bd8dbf0cb32f5ffc1832037cba7168e2249e1c635de1577797898d2573aa6fd61e766cbd0e4e5bc87c5d85fc95dbdc78c26d51a7228515b342f94cf]]} \
	-match exact -result 0c7734310c5ca82b520bf1e0a1614c7ddd0c002711ef0b239de8fa256e15b32056b992747ff3a3a310d52e9df36275d9192dad61caa16715744552c865c5ae9477a70a2c3a02a01ba176b927445094d2

tcltest::test Symetric_Block_IDEA-OFB-1.31 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 1956f40b2334a6546b3071f2d17f4a59] \
		 -iv [binary decode hex 765cfb560c46777a] \
		 -data [binary decode hex 045ad66c515d407ab73ea0c6f6ae869872342fc72956a659945454005e37c76ed07df996ffe1322840cf23843b34346a1e730ab721ddceaf362ed256054c105ed581a80c04ef22ae1b5eb8742c6e3c9c0e0e29fad211b4f40adc1520f7c6821e]]} \
	-match exact -result 7b853c47f4e39a069415f5fe34f857b9b7e846b45999c12a496ce5550834cc26376a90235ae20983c31129b108ffc3cf4431bf379a5907b16c7248df9d40fa5b8e9888bd1c2a45a0812e4bcf71d40bb8a064279d5f3f214eca8bf193b6144bec

tcltest::test Symetric_Block_IDEA-OFB-1.32 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 1956f40b2334a6546b3071f2d17f4a59] \
		 -iv [binary decode hex 765cfb560c46777a] \
		 -data [binary decode hex 7b853c47f4e39a069415f5fe34f857b9b7e846b45999c12a496ce5550834cc26376a90235ae20983c31129b108ffc3cf4431bf379a5907b16c7248df9d40fa5b8e9888bd1c2a45a0812e4bcf71d40bb8a064279d5f3f214eca8bf193b6144bec]]} \
	-match exact -result 045ad66c515d407ab73ea0c6f6ae869872342fc72956a659945454005e37c76ed07df996ffe1322840cf23843b34346a1e730ab721ddceaf362ed256054c105ed581a80c04ef22ae1b5eb8742c6e3c9c0e0e29fad211b4f40adc1520f7c6821e

tcltest::test Symetric_Block_IDEA-OFB-1.33 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 4e47e1b5c1b489295d3a2bf049f4be2d] \
		 -iv [binary decode hex 83fdf064d213df41] \
		 -data [binary decode hex 94a7bed3b5a158e85f9e4778a7de105ff4f3b2a61c2fead82cbe949d7a4ee961a6c62949ba2c69d513d836a455b612c2fbb6ca243a0a18a853cadb6b73b600192de1d51ddf80030718b079fbb581073a06b66ba4ad524d3d09efaa59e6919bca15b2b92bd9f8c17d6e463f4ea5fd5f5e]]} \
	-match exact -result 6130cd5cc68d4bd6055cca1c51281de12652e6df9ac9a24b39d5d2bb3876cc76e7e85f72efbdd9b7d55d8e1a84e17ad3292ba5bd071f39f7b373c807153a4fe553fb44872cb2a7b80d6c97f78eaea3824d501792456667f335e8f33e29f6ffe7736a5b46786c78b3cd9e8bd3498e7c4c

tcltest::test Symetric_Block_IDEA-OFB-1.34 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 4e47e1b5c1b489295d3a2bf049f4be2d] \
		 -iv [binary decode hex 83fdf064d213df41] \
		 -data [binary decode hex 6130cd5cc68d4bd6055cca1c51281de12652e6df9ac9a24b39d5d2bb3876cc76e7e85f72efbdd9b7d55d8e1a84e17ad3292ba5bd071f39f7b373c807153a4fe553fb44872cb2a7b80d6c97f78eaea3824d501792456667f335e8f33e29f6ffe7736a5b46786c78b3cd9e8bd3498e7c4c]]} \
	-match exact -result 94a7bed3b5a158e85f9e4778a7de105ff4f3b2a61c2fead82cbe949d7a4ee961a6c62949ba2c69d513d836a455b612c2fbb6ca243a0a18a853cadb6b73b600192de1d51ddf80030718b079fbb581073a06b66ba4ad524d3d09efaa59e6919bca15b2b92bd9f8c17d6e463f4ea5fd5f5e

tcltest::test Symetric_Block_IDEA-OFB-1.35 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 613485e5bb84b91cdd0ca02f8d83e0bb] \
		 -iv [binary decode hex ad8a7564f6ce8abb] \
		 -data [binary decode hex ed5068003163c424ae9a8e51e3d77684c69073a824dc4721568f7528657c3dd28d66219f398ed57105aa35cfef3ac078eab30ae0f3ed752b0e320b099ea42b156f818904c4b6c534cabde53dfa62e7b74518a8bca3f36ee85b130e8520d38c006e6adef34bbc8df56b757b500d703e5777aa545c4170404754f03dbf22c9f0d7]]} \
	-match exact -result cada42aeaf73266caa8537f853fbc710df59f6e7809ca07e6131ba41c3cd413433c3f26faf5fbceb50238e150f6d613cf4bcf79416abada400a827dcfd2320a5d19ac7ff6fd725a30ae3c739ed9f6d9495f36ce414abc338cf52e7a351de4dfa54b52660370678529dbd7c36770399ab90a44f95dd5a837dde12b28da8a06ee7

tcltest::test Symetric_Block_IDEA-OFB-1.36 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 613485e5bb84b91cdd0ca02f8d83e0bb] \
		 -iv [binary decode hex ad8a7564f6ce8abb] \
		 -data [binary decode hex cada42aeaf73266caa8537f853fbc710df59f6e7809ca07e6131ba41c3cd413433c3f26faf5fbceb50238e150f6d613cf4bcf79416abada400a827dcfd2320a5d19ac7ff6fd725a30ae3c739ed9f6d9495f36ce414abc338cf52e7a351de4dfa54b52660370678529dbd7c36770399ab90a44f95dd5a837dde12b28da8a06ee7]]} \
	-match exact -result ed5068003163c424ae9a8e51e3d77684c69073a824dc4721568f7528657c3dd28d66219f398ed57105aa35cfef3ac078eab30ae0f3ed752b0e320b099ea42b156f818904c4b6c534cabde53dfa62e7b74518a8bca3f36ee85b130e8520d38c006e6adef34bbc8df56b757b500d703e5777aa545c4170404754f03dbf22c9f0d7

tcltest::test Symetric_Block_IDEA-OFB-1.37 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 8198b36e880cf50dbf6724feaaac8688] \
		 -iv [binary decode hex fbaa2882a2a4acdb] \
		 -data [binary decode hex b2516a356e437513f0df83938afefbe9f9ef1ec879797997f31da96a1ea7a15d395ecdb94b7fda14cdc0b75c171784fa8832d574b64f9450c6be25dc83b93d3bbf0145a661bf4db775282b98649b64613aeedb8bb770f67cc3421ac6761e5d763c21ac2d1e729e4597ad7fca9fdc70878b26634df78cd0f36fb3b138a1357915abba4ff5f8dfaef268307022f2e23528]]} \
	-match exact -result 14ba2c1e1fc015568184c1346b09469366db7d1dc151d08a8f99ffa22115a30a5a6dd5c2d6fbd09e03134710f1902ceab86069551630d3f614e67d195a7422b2c70225c5ebbecf7fbabf8db05c21025102225cdf2093fba3bd4ba1f1674c305a99cde36e1d112467466489c4f04a55fa495b610ee616749dc5c9f7ca3eb4ee35989402a91ff0085128077eb03e5d6ac1

tcltest::test Symetric_Block_IDEA-OFB-1.38 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex 8198b36e880cf50dbf6724feaaac8688] \
		 -iv [binary decode hex fbaa2882a2a4acdb] \
		 -data [binary decode hex 14ba2c1e1fc015568184c1346b09469366db7d1dc151d08a8f99ffa22115a30a5a6dd5c2d6fbd09e03134710f1902ceab86069551630d3f614e67d195a7422b2c70225c5ebbecf7fbabf8db05c21025102225cdf2093fba3bd4ba1f1674c305a99cde36e1d112467466489c4f04a55fa495b610ee616749dc5c9f7ca3eb4ee35989402a91ff0085128077eb03e5d6ac1]]} \
	-match exact -result b2516a356e437513f0df83938afefbe9f9ef1ec879797997f31da96a1ea7a15d395ecdb94b7fda14cdc0b75c171784fa8832d574b64f9450c6be25dc83b93d3bbf0145a661bf4db775282b98649b64613aeedb8bb770f67cc3421ac6761e5d763c21ac2d1e729e4597ad7fca9fdc70878b26634df78cd0f36fb3b138a1357915abba4ff5f8dfaef268307022f2e23528

tcltest::test Symetric_Block_IDEA-OFB-1.39 {Encrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::encrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex e30b4c874c4c4f6e0cf1f8ef58e5d375] \
		 -iv [binary decode hex 7e26f07f8024343c] \
		 -data [binary decode hex 8ceca4dc346cfd6b15774e082db1a89497b7d85d6b5b7102e77417f7a243fafe17118b7a3bb49d1657cf61b866da395a5b3f349183a53dfa11fc0ac053bddff49dd472ee55f5e43a2f8bc785e2bc420300694919ff7bb43feb75a9cac44ece96f679e618db5d7433af12dcc7e0963ff10b45d835f9a8f42627e7f3fd5038932685965ad0e183f5955e671fc2b878dd51051eedaf85310d1e4e8f75f2decf36c7]]} \
	-match exact -result fc1991515ffef84ce1074d0f7e7ce9a2dd0b56facbaf4b5f2c617963c6df3ea9c6d1242abbab76160cc159a81e51fef33835546429b6bc026e4f091c89a8a9e0707747fc85083c776e5603ef2383c3e5e5ae493013b4940df54c9a050bc2b696f03a234fad58506b10aacbb48de0c91ef39ebe76a9e5540ec6284eed13cc17c72dad54555aed4ae60359dfa8b1c4e8bdcea6abc458dc1452a623d8f3fe13e2ae

tcltest::test Symetric_Block_IDEA-OFB-1.40 {Decrypt IDEA-OFB} \
	-constraints IDEA_OFB \
	-body {binary encode hex [tls::decrypt -cipher IDEA-OFB -padding 0 \
		 -key [binary decode hex e30b4c874c4c4f6e0cf1f8ef58e5d375] \
		 -iv [binary decode hex 7e26f07f8024343c] \
		 -data [binary decode hex fc1991515ffef84ce1074d0f7e7ce9a2dd0b56facbaf4b5f2c617963c6df3ea9c6d1242abbab76160cc159a81e51fef33835546429b6bc026e4f091c89a8a9e0707747fc85083c776e5603ef2383c3e5e5ae493013b4940df54c9a050bc2b696f03a234fad58506b10aacbb48de0c91ef39ebe76a9e5540ec6284eed13cc17c72dad54555aed4ae60359dfa8b1c4e8bdcea6abc458dc1452a623d8f3fe13e2ae]]} \
	-match exact -result 8ceca4dc346cfd6b15774e082db1a89497b7d85d6b5b7102e77417f7a243fafe17118b7a3bb49d1657cf61b866da395a5b3f349183a53dfa11fc0ac053bddff49dd472ee55f5e43a2f8bc785e2bc420300694919ff7bb43feb75a9cac44ece96f679e618db5d7433af12dcc7e0963ff10b45d835f9a8f42627e7f3fd5038932685965ad0e183f5955e671fc2b878dd51051eedaf85310d1e4e8f75f2decf36c7

# Cleanup
::tcltest::cleanupTests
return

Added tests/test_vectors/Symetric_Block/IDEA-OFB.txt version [c4971e5d27].

























































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# IDEA OFB vectors built for https://github.com/pyca/cryptography
# Derived from the AESVS MMT test data for OFB
# Verified against Botan
# Key Length : 128

COUNT = 0
KEY = d7d57bd847154af9722a8df096e61a42
IV = fdde201c91e401d9
PLAINTEXT = 81883f22165282ba6a442a8dd2a768d4
CIPHERTEXT = 770e7b0eacc089b7eef410d98d886e9e

COUNT = 1
KEY = c9f4ce21b4c7daaa4f93e292dc605bc5
IV = 5e5a8cf2808c720e
PLAINTEXT = 8e19c5cacd015a662e7f40cdecadbf79a68081c06d9544b41c2dd248e77633b4
CIPHERTEXT = 7debe39a58066a7994150d910060b127582de612ff58f9564a92ab45591bec49

COUNT = 2
KEY = 7a70cc6b261eeccb05c57117d5763197
IV = bb7b9667fbd76d5e
PLAINTEXT = 823cbaae3760c85512a3c83fd60bb54b7cfc739b295b63e05ef435d86e19fd15368c89ff08a0f21ce89a728ffb5d75df
CIPHERTEXT = ab6e0f15cedf272c78fbc7fadcc4ba1ded256668b9bc8302dc3312c0149e656e8fea632b8e20f5ae8675106d7761a366

COUNT = 3
KEY = 85dbd5a6e73681a51a4a7d4e93ca7d0c
IV = 89d897c5aa9e0a5d
PLAINTEXT = e3dbfc6ae1a879870fd22644c8135fe063355dfc0a8dad45c9c6e052e6e085cf717754dc1b49acb04cf340826ffb0da991138f022a9c34923a6a116c98c7d3d5
CIPHERTEXT = f2175634137d76347f4cd8f44a00282f6144dfc0cde4929457f8f180f62aabd180249d4568405d9d596be34802ded7d2e390d77384677c45575eb6865cca7cb2

COUNT = 4
KEY = 18b9887a34438fb2e759027e54e334b6
IV = a5be8621e58dae32
PLAINTEXT = 8cd659df925950b516f737fc92d2fafa008c008c9dfe0e75ed2d68f6ff79399ff2183464b8c37cf31aafc145fcbfac73e3f87eccb435f424bf1c6d6efb504e8e93e8a668a2210e3d3b4fd437ad1a5842
CIPHERTEXT = b5241fefa40b2f9f015387b0e648843e35549d891702d66c1bf440aeb07432e3299badcc1d56b9ca8c45abcd677cfda10de93e2f3b05b2da1086e4070301989eac95cd7ed311b7de208bf66a59f64d1f

COUNT = 5
KEY = da52c0e4609e82ee926174a9eaf90b08
IV = f2d0c5e86b4ddb40
PLAINTEXT = 91d6c95a614cf85de16eeabe5976c2a2a9d307042f79a7aaeb7c3c57e1dd8d43bfa458c8c02e4f5ed0c960c9f17e3991dd2e0cb3ede18f96395a484001ef07ca4c97b411ce454aaf0f74242aca03786a93442171bd50a1467b9d663245d24c2f
CIPHERTEXT = f0decc26c48676592200ae619f0b5111d629733f23a34ce888c862e9ae0886b5e8f93e2c2832d3cde6cccc5499801e7b8790b61e8a13add9da593981e8ba4ec08e46226eb77f8fb40105e040c7a5d84e4df6ee05f3e29832f80db65bc03fd4b6

COUNT = 6
KEY = 56d6f7e2a870b92d55ff8d6e9c554d2a
IV = b512f0e11e27fd1a
PLAINTEXT = e62cdeac43667749701314c546f778a4c758e4f55760e7d729c3783cf7a242edf6ae3fcf0990886434896c945455bfae0e5674aa06ee6fb1512d94df2cac2447eeb849373bb3efbe7bb8d66c8a7ee559b17fc268d6599fcdef7457cdbde5b9c5b692236e4397545f2be97bd44f3993ad
CIPHERTEXT = b0464ff22110d71452ab1b6c8064b706268a2d849607c734ae20c1d4f55c2b98a4abb7db1759205cd0f870f6dfbc7d4fdd72e60c4e9a4143dc76408340dd6d2c6ce86381511930997a304cf890eec337176c95b834186a9191fbb17b8548e3dc7b10c8b7cb8d0b6bbb26ceac0111477c

COUNT = 7
KEY = 09f216ff78dfe419dfcef1a855473414
IV = 722174c892d26529
PLAINTEXT = 11f435e7e3656fcfa8e0df230311ca21054e84e13c8590e7ec7309f59c174022d467a7302641ee1b6ba46bee4f20bfda108bb78982f670b057dfbfe49da9cfae88490ce17241402b20d2fceb476d3a424e6c406d56ffc85278695d584d6c087cb4012ca2cf4daf284fd15ac1f2e183814957e934bf88dff4d777adfbb54933b5
CIPHERTEXT = 59cb49f6193b7a8c728049be0a804b3a2ea9c0dfbe84f82b5b0439e33e073168f90053094c37ab3ce34b7abfb6386b23003e73e275ea2fa8da8c2acc18314ffdcd8c0512bed2472e5d82e7e27a0af1d01aecf4a14ad8bb031ad968ec0aacc9d759aa76c58c74400fed536c7482474ce23cb798cc8885713d1a32c174ef6827da

COUNT = 8
KEY = cde9b69eea2b6a5588457e35e0a08803
IV = 52323b54d69a62fe
PLAINTEXT = 967798995af6f435b3a6f92bff77a11fa44d1426ae0f6e7dbafac27b123c5fc419be52c0ea412c4b3cac05ae89a4c0ce6f5e91a456b1bded5370a1234cf6f6ab5d0253507bc6f3f0573ab97585b67107dec059812323e021e341ad839ea9e3d02aeca43356add48ccef81f693ed53d32ba1c74a35e8a5f7f3115ef834f7daf9948244c4fc31f5487678d3e70fb27abb5
CIPHERTEXT = dd12abdb3d5ec0e56565f9c9d281095cd97b8dc05f230d23ef0ed671abfe5eb9cfa9b5b7acaad4f2e00f0319de2fa90baa757b3f9f96df735233e433c0b8451dbf84465cf6d26e30198cbb1c6e100822aed49690db1638efb1a3e94039b83de7e1ab9339fa31e93440da61c4a814914c16742470428858336dd2944eaf81e2b93bb279454a4a1e02de7f82657ef32904

COUNT = 9
KEY = 939aac71e337709855715a57e3a4648f
IV = 493509b56a92f140
PLAINTEXT = 9c22efddc7de496a916d15d710de374d57478126ed64c9ad7e823e24d19bfc0cfac3dda0d1c292a3a203f35b26ad94deb20f998caf41cbdd4a08eb5d6cfb46f4ede4896b0569d72c03ec194941af95c0573cc3fe8f045ba19946b382803248f3dd4f9a454b1a3e8e1af02ea8482d637dac96a68275f4a382d3023f9df4892b9032cab9378b1cef5051d6db81226f259d1be4eb23495ac807600536b5b0481754
CIPHERTEXT = 3ce172ca82e0a649e182b3c4bd235f55936d343810bcbb6e53f6f6934c6cae8cd54212e9acb4379c99d83c6ecb72d915400b86f984d67f394b72fcdad6eafb56298da8ede4ceea5c1cc3e54d6d6505fddb2857470184adf50b287bd3db64b73da05584f78689b6d1215a26ebf18ef83fe38970bb23346a0a6380f77afd206333821646463a9e72124bdaf8c9b3046cfb5a48db37686859f79098cb806135bea0

COUNT = 10
KEY = 8368189d41eaa20d06a3a2d2a91e43f7
IV = cf04ac0e4733952b
PLAINTEXT = 696ca57339840fb3c150e0c111d9e13e
CIPHERTEXT = 93e074da165bb361804f9183fccf09a7

COUNT = 11
KEY = 5124c6fdb0856ded76afb6febdaa981e
IV = 937ebdeec379685a
PLAINTEXT = 5a5928dd09e78a21256eadb062630a3f0b47ca2376ccae314948143fff2512d4
CIPHERTEXT = 4876980c4401aad16b3e1eabff960769a1bc8405a985dadc08282d0ff674e4f2

COUNT = 12
KEY = 6a8f6487e76058bc5a126276e48fdd77
IV = 6e75d8b8ac097614
PLAINTEXT = 424ddc343067612fdb426920f40ab4d82e3d4f9485b07fef91617556d3093874840e8110ff375b7a68f98c471ca10acc
CIPHERTEXT = 948a59cd4ac292743708e7309b9893fbeba832a9996ecccc13a8cc17a7711f00858e5e3d04c0635371191356eb58f78d

COUNT = 13
KEY = 01963d44aea026b2205238454d5bb73f
IV = 9442a6e0f3a53f10
PLAINTEXT = c54cfacd953736a2d8db0b8b63b555253a0ca6f6e05f2e918d18be95669fa85609f827d6da014add2964626670c202b195248fc986372c92adbb10c0e7c36e04
CIPHERTEXT = 26c746d831f5f7ea08686075d0f180f52b0fcc105494943bc0179fdb01fc437ae60fe3dee725902f11fb3dbbc42184f52b1d5207c71d1e6fe0e83b3dc2767227

COUNT = 14
KEY = 4ea87b0b346054c097edc5601b782870
IV = 9a3e23333b2b2de7
PLAINTEXT = 0c7734310c5ca82b520bf1e0a1614c7ddd0c002711ef0b239de8fa256e15b32056b992747ff3a3a310d52e9df36275d9192dad61caa16715744552c865c5ae9477a70a2c3a02a01ba176b927445094d2
CIPHERTEXT = d5f99a34f86f6de38e10712f306add36cfef67ed3bd8dbf0cb32f5ffc1832037cba7168e2249e1c635de1577797898d2573aa6fd61e766cbd0e4e5bc87c5d85fc95dbdc78c26d51a7228515b342f94cf

COUNT = 15
KEY = 1956f40b2334a6546b3071f2d17f4a59
IV = 765cfb560c46777a
PLAINTEXT = 045ad66c515d407ab73ea0c6f6ae869872342fc72956a659945454005e37c76ed07df996ffe1322840cf23843b34346a1e730ab721ddceaf362ed256054c105ed581a80c04ef22ae1b5eb8742c6e3c9c0e0e29fad211b4f40adc1520f7c6821e
CIPHERTEXT = 7b853c47f4e39a069415f5fe34f857b9b7e846b45999c12a496ce5550834cc26376a90235ae20983c31129b108ffc3cf4431bf379a5907b16c7248df9d40fa5b8e9888bd1c2a45a0812e4bcf71d40bb8a064279d5f3f214eca8bf193b6144bec

COUNT = 16
KEY = 4e47e1b5c1b489295d3a2bf049f4be2d
IV = 83fdf064d213df41
PLAINTEXT = 94a7bed3b5a158e85f9e4778a7de105ff4f3b2a61c2fead82cbe949d7a4ee961a6c62949ba2c69d513d836a455b612c2fbb6ca243a0a18a853cadb6b73b600192de1d51ddf80030718b079fbb581073a06b66ba4ad524d3d09efaa59e6919bca15b2b92bd9f8c17d6e463f4ea5fd5f5e
CIPHERTEXT = 6130cd5cc68d4bd6055cca1c51281de12652e6df9ac9a24b39d5d2bb3876cc76e7e85f72efbdd9b7d55d8e1a84e17ad3292ba5bd071f39f7b373c807153a4fe553fb44872cb2a7b80d6c97f78eaea3824d501792456667f335e8f33e29f6ffe7736a5b46786c78b3cd9e8bd3498e7c4c

COUNT = 17
KEY = 613485e5bb84b91cdd0ca02f8d83e0bb
IV = ad8a7564f6ce8abb
PLAINTEXT = ed5068003163c424ae9a8e51e3d77684c69073a824dc4721568f7528657c3dd28d66219f398ed57105aa35cfef3ac078eab30ae0f3ed752b0e320b099ea42b156f818904c4b6c534cabde53dfa62e7b74518a8bca3f36ee85b130e8520d38c006e6adef34bbc8df56b757b500d703e5777aa545c4170404754f03dbf22c9f0d7
CIPHERTEXT = cada42aeaf73266caa8537f853fbc710df59f6e7809ca07e6131ba41c3cd413433c3f26faf5fbceb50238e150f6d613cf4bcf79416abada400a827dcfd2320a5d19ac7ff6fd725a30ae3c739ed9f6d9495f36ce414abc338cf52e7a351de4dfa54b52660370678529dbd7c36770399ab90a44f95dd5a837dde12b28da8a06ee7

COUNT = 18
KEY = 8198b36e880cf50dbf6724feaaac8688
IV = fbaa2882a2a4acdb
PLAINTEXT = b2516a356e437513f0df83938afefbe9f9ef1ec879797997f31da96a1ea7a15d395ecdb94b7fda14cdc0b75c171784fa8832d574b64f9450c6be25dc83b93d3bbf0145a661bf4db775282b98649b64613aeedb8bb770f67cc3421ac6761e5d763c21ac2d1e729e4597ad7fca9fdc70878b26634df78cd0f36fb3b138a1357915abba4ff5f8dfaef268307022f2e23528
CIPHERTEXT = 14ba2c1e1fc015568184c1346b09469366db7d1dc151d08a8f99ffa22115a30a5a6dd5c2d6fbd09e03134710f1902ceab86069551630d3f614e67d195a7422b2c70225c5ebbecf7fbabf8db05c21025102225cdf2093fba3bd4ba1f1674c305a99cde36e1d112467466489c4f04a55fa495b610ee616749dc5c9f7ca3eb4ee35989402a91ff0085128077eb03e5d6ac1

COUNT = 19
KEY = e30b4c874c4c4f6e0cf1f8ef58e5d375
IV = 7e26f07f8024343c
PLAINTEXT = 8ceca4dc346cfd6b15774e082db1a89497b7d85d6b5b7102e77417f7a243fafe17118b7a3bb49d1657cf61b866da395a5b3f349183a53dfa11fc0ac053bddff49dd472ee55f5e43a2f8bc785e2bc420300694919ff7bb43feb75a9cac44ece96f679e618db5d7433af12dcc7e0963ff10b45d835f9a8f42627e7f3fd5038932685965ad0e183f5955e671fc2b878dd51051eedaf85310d1e4e8f75f2decf36c7
CIPHERTEXT = fc1991515ffef84ce1074d0f7e7ce9a2dd0b56facbaf4b5f2c617963c6df3ea9c6d1242abbab76160cc159a81e51fef33835546429b6bc026e4f091c89a8a9e0707747fc85083c776e5603ef2383c3e5e5ae493013b4940df54c9a050bc2b696f03a234fad58506b10aacbb48de0c91ef39ebe76a9e5540ec6284eed13cc17c72dad54555aed4ae60359dfa8b1c4e8bdcea6abc458dc1452a623d8f3fe13e2ae

Added tests/test_vectors/Symetric_Block/IDEA.test version [7d95c63e61].











































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Auto generated from "IDEA.txt"
lappend auto_path [file dirname [file dirname [file dirname [file dirname [file join [pwd] [info script]]]]]]
package require tls
package require tcltest

catch {tls::provider legacy}
tcltest::testConstraint IDEA [expr {[lsearch -nocase [tls::ciphers] IDEA] > -1}]

tcltest::test Symetric_Block_IDEA-1.1 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 0000000100020003]]} \
	-match exact -result 11fbed2b01986de5

tcltest::test Symetric_Block_IDEA-1.2 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 11fbed2b01986de5]]} \
	-match exact -result 0000000100020003

tcltest::test Symetric_Block_IDEA-1.3 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 0102030405060708]]} \
	-match exact -result 540e5fea18c2f8b1

tcltest::test Symetric_Block_IDEA-1.4 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 540e5fea18c2f8b1]]} \
	-match exact -result 0102030405060708

tcltest::test Symetric_Block_IDEA-1.5 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 0019324b647d96af]]} \
	-match exact -result 9f0a0ab6e10ced78

tcltest::test Symetric_Block_IDEA-1.6 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 9f0a0ab6e10ced78]]} \
	-match exact -result 0019324b647d96af

tcltest::test Symetric_Block_IDEA-1.7 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex f5202d5b9c671b08]]} \
	-match exact -result cf18fd7355e2c5c5

tcltest::test Symetric_Block_IDEA-1.8 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex cf18fd7355e2c5c5]]} \
	-match exact -result f5202d5b9c671b08

tcltest::test Symetric_Block_IDEA-1.9 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex fae6d2beaa96826e]]} \
	-match exact -result 85df52005608193d

tcltest::test Symetric_Block_IDEA-1.10 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 85df52005608193d]]} \
	-match exact -result fae6d2beaa96826e

tcltest::test Symetric_Block_IDEA-1.11 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 0a141e28323c4650]]} \
	-match exact -result 2f7de750212fb734

tcltest::test Symetric_Block_IDEA-1.12 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 2f7de750212fb734]]} \
	-match exact -result 0a141e28323c4650

tcltest::test Symetric_Block_IDEA-1.13 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 050a0f14191e2328]]} \
	-match exact -result 7b7314925de59c09

tcltest::test Symetric_Block_IDEA-1.14 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 00010002000300040005000600070008] \
		 -data [binary decode hex 7b7314925de59c09]]} \
	-match exact -result 050a0f14191e2328

tcltest::test Symetric_Block_IDEA-1.15 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 0005000a000f00140019001e00230028] \
		 -data [binary decode hex 0102030405060708]]} \
	-match exact -result 3ec04780beff6e20

tcltest::test Symetric_Block_IDEA-1.16 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 0005000a000f00140019001e00230028] \
		 -data [binary decode hex 3ec04780beff6e20]]} \
	-match exact -result 0102030405060708

tcltest::test Symetric_Block_IDEA-1.17 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 3a984e2000195db32ee501c8c47cea60] \
		 -data [binary decode hex 0102030405060708]]} \
	-match exact -result 97bcd8200780da86

tcltest::test Symetric_Block_IDEA-1.18 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 3a984e2000195db32ee501c8c47cea60] \
		 -data [binary decode hex 97bcd8200780da86]]} \
	-match exact -result 0102030405060708

tcltest::test Symetric_Block_IDEA-1.19 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 006400c8012c019001f4025802bc0320] \
		 -data [binary decode hex 05320a6414c819fa]]} \
	-match exact -result 65be87e7a2538aed

tcltest::test Symetric_Block_IDEA-1.20 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 006400c8012c019001f4025802bc0320] \
		 -data [binary decode hex 65be87e7a2538aed]]} \
	-match exact -result 05320a6414c819fa

tcltest::test Symetric_Block_IDEA-1.21 {Encrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::encrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 9d4075c103bc322afb03e7be6ab30006] \
		 -data [binary decode hex 0808080808080808]]} \
	-match exact -result f5db1ac45e5ef9f9

tcltest::test Symetric_Block_IDEA-1.22 {Decrypt IDEA} \
	-constraints IDEA \
	-body {binary encode hex [tls::decrypt -cipher IDEA -padding 0 \
		 -key [binary decode hex 9d4075c103bc322afb03e7be6ab30006] \
		 -data [binary decode hex f5db1ac45e5ef9f9]]} \
	-match exact -result 0808080808080808

# Cleanup
::tcltest::cleanupTests
return

Added tests/test_vectors/Symetric_Block/IDEA.txt version [a721c30475].



























































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# IDEA cipher test vectors from original ETH reference implementation of IDEA 

Key = 00010002000300040005000600070008
Plaintext = 0000000100020003
Ciphertext = 11fbed2b01986de5

Key = 00010002000300040005000600070008
Plaintext = 0102030405060708
Ciphertext = 540e5fea18c2f8b1

Key = 00010002000300040005000600070008
Plaintext = 0019324b647d96af
Ciphertext = 9f0a0ab6e10ced78

Key = 00010002000300040005000600070008
Plaintext = f5202d5b9c671b08
Ciphertext = cf18fd7355e2c5c5

Key = 00010002000300040005000600070008
Plaintext = fae6d2beaa96826e
Ciphertext = 85df52005608193d

Key = 00010002000300040005000600070008
Plaintext = 0a141e28323c4650
Ciphertext = 2f7de750212fb734

Key = 00010002000300040005000600070008
Plaintext = 050a0f14191e2328
Ciphertext = 7b7314925de59c09

Key = 0005000a000f00140019001e00230028
Plaintext = 0102030405060708
Ciphertext = 3ec04780beff6e20

Key = 3a984e2000195db32ee501c8c47cea60
Plaintext = 0102030405060708
Ciphertext = 97bcd8200780da86

Key = 006400c8012c019001f4025802bc0320
Plaintext = 05320a6414c819fa
Ciphertext = 65be87e7a2538aed

Key = 9d4075c103bc322afb03e7be6ab30006
Plaintext = 0808080808080808
Ciphertext = f5db1ac45e5ef9f9

Modified tests/test_vectors/Symetric_Block/make_test.tcl from [738ff2bcbc] to [a0240c6935].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Test Vectors
#

#
# Create test case and output to test file
#
proc do_test {group cipher file_num tc params fn} {
    array set config [list Key "" IV "" Msg "" Repeat 1 Length ""]
    array set config $params

    # Test info
    set line [format "tcltest::test %s-%d.%d {%s %s} \\\n\t" $group $file_num $tc [string totitle $fn] $cipher]

    # Test constraints
    append line [format "-constraints %s \\\n\t" [string map [list "-" "_"] $cipher]]

    # Test body
    set cmd [format "tls::%s -cipher %s -padding 0 \\\n\t\t" $fn $cipher]








|




|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Test Vectors
#

#
# Create test case and output to test file
#
proc do_test {group cipher test_num tc params fn} {
    array set config [list Key "" IV "" Msg "" Repeat 1 Length ""]
    array set config $params

    # Test info
    set line [format "tcltest::test %s-%d.%d {%s %s} \\\n\t" $group $test_num $tc [string totitle $fn] $cipher]

    # Test constraints
    append line [format "-constraints %s \\\n\t" [string map [list "-" "_"] $cipher]]

    # Test body
    set cmd [format "tls::%s -cipher %s -padding 0 \\\n\t\t" $fn $cipher]

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    #append line { -returnCodes 0}
    return $line
}

#
# Parse test vector file and get test cases config info
#
proc parse {group filename file_num cipher} {
    set tc 0
    set params [list]

    # Open input file
    if {[catch {open $filename r} ch]} {
	return -code error $ch
    }







|







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    #append line { -returnCodes 0}
    return $line
}

#
# Parse test vector file and get test cases config info
#
proc parse {group filename test_num cipher} {
    set tc 0
    set params [list]

    # Open input file
    if {[catch {open $filename r} ch]} {
	return -code error $ch
    }
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
	if {[string index $line 0] in [list "#" "\["]} {
	    # Skip comments and info lines
	    continue

	} elseif {$len == 0} {
	    if {[llength $params] > 0} {
		# Do test if end of params
		puts $out [do_test $group $cipher $file_num [incr tc] $params encrypt]
		puts $out ""
		puts $out [do_test $group $cipher $file_num [incr tc] $params decrypt]
		puts $out ""
		set params [list]
	    } else {
		# Empty line
	    }

	} else {
	    # Append args to params
	    set index [string first "=" $line]
	    if {$index > -1} {
		set key [string trim [string range $line 0 [expr {$index - 1}]]]
		set value [string trim [string range $line [expr {$index + 1}] end]]
		lappend params $key $value
	    }
	}
    }

    # Handle last test case
    if {[llength $params] > 0} {
	puts $out [do_test $group $cipher $file_num [incr tc] $params]
	puts $out ""
    }
    
    # Cleanup
    puts $out "# Cleanup\n::tcltest::cleanupTests\nreturn"
    close $ch
    close $out
}

#
# Read all config files in directory
#
proc main {path} {
    set file_num 0
    set group [file rootname [file tail $path]]

    foreach filename [glob -directory $path *.txt] {
	puts [format "Processing %s" $filename]
	set tail [file tail $filename]
	if {[string match -nocase "Readme.txt" $tail]} {
	    continue







|

|



















|













|







101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
	if {[string index $line 0] in [list "#" "\["]} {
	    # Skip comments and info lines
	    continue

	} elseif {$len == 0} {
	    if {[llength $params] > 0} {
		# Do test if end of params
		puts $out [do_test $group $cipher $test_num [incr tc] $params encrypt]
		puts $out ""
		puts $out [do_test $group $cipher $test_num [incr tc] $params decrypt]
		puts $out ""
		set params [list]
	    } else {
		# Empty line
	    }

	} else {
	    # Append args to params
	    set index [string first "=" $line]
	    if {$index > -1} {
		set key [string trim [string range $line 0 [expr {$index - 1}]]]
		set value [string trim [string range $line [expr {$index + 1}] end]]
		lappend params $key $value
	    }
	}
    }

    # Handle last test case
    if {[llength $params] > 0} {
	puts $out [do_test $group $cipher $test_num [incr tc] $params]
	puts $out ""
    }
    
    # Cleanup
    puts $out "# Cleanup\n::tcltest::cleanupTests\nreturn"
    close $ch
    close $out
}

#
# Read all config files in directory
#
proc main {path} {
    set test_num 0
    set group [file rootname [file tail $path]]

    foreach filename [glob -directory $path *.txt] {
	puts [format "Processing %s" $filename]
	set tail [file tail $filename]
	if {[string match -nocase "Readme.txt" $tail]} {
	    continue