# Auto generated from "CAMELLIA-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 CAMELLIA_192_OFB [expr {[lsearch -nocase [tls::ciphers] CAMELLIA-192-OFB] > -1}]

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.1 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 6BC1BEE22E409F96E93D7E117393172A]]} \
	-match exact -result c832bb9780677daa82d9b6860dcd565e

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.2 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex C832BB9780677DAA82D9B6860DCD565E]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172a

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.3 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex A609B38DF3B1133DDDFF2718BA09565E] \
		 -data [binary decode hex AE2D8A571E03AC9C9EB76FAC45AF8E51]]} \
	-match exact -result 8eceb7d0350d72c7f78562aebdf99339

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.4 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex A609B38DF3B1133DDDFF2718BA09565E] \
		 -data [binary decode hex 8ECEB7D0350D72C7F78562AEBDF99339]]} \
	-match exact -result ae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.5 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 52EF01DA52602FE0975F78AC84BF8A50] \
		 -data [binary decode hex 30C81C46A35CE411E5FBC1191A0A52EF]]} \
	-match exact -result bdd62dbbb9700846c53b507f544696f0

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.6 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 52EF01DA52602FE0975F78AC84BF8A50] \
		 -data [binary decode hex BDD62DBBB9700846C53B507F544696F0]]} \
	-match exact -result 30c81c46a35ce411e5fbc1191a0a52ef

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.7 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex BD5286AC63AABD7EB067AC54B553F71D] \
		 -data [binary decode hex F69F2445DF4F9B17AD2B417BE66C3710]]} \
	-match exact -result e28014e046b802f385c4c2e13ead4a72

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.8 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex BD5286AC63AABD7EB067AC54B553F71D] \
		 -data [binary decode hex E28014E046B802F385C4C2E13EAD4A72]]} \
	-match exact -result f69f2445df4f9b17ad2b417be66c3710

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.9 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 6BC1BEE22E409F96E93D7E117393172A]]} \
	-match exact -result c832bb9780677daa82d9b6860dcd565e

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.10 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex C832BB9780677DAA82D9B6860DCD565E]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172a

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.11 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex A609B38DF3B1133DDDFF2718BA09565E] \
		 -data [binary decode hex AE2D8A571E03AC9C9EB76FAC45AF8E51]]} \
	-match exact -result 8eceb7d0350d72c7f78562aebdf99339

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.12 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex A609B38DF3B1133DDDFF2718BA09565E] \
		 -data [binary decode hex 8ECEB7D0350D72C7F78562AEBDF99339]]} \
	-match exact -result ae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.13 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 52EF01DA52602FE0975F78AC84BF8A50] \
		 -data [binary decode hex 30C81C46A35CE411E5FBC1191A0A52EF]]} \
	-match exact -result bdd62dbbb9700846c53b507f544696f0

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.14 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex 52EF01DA52602FE0975F78AC84BF8A50] \
		 -data [binary decode hex BDD62DBBB9700846C53B507F544696F0]]} \
	-match exact -result 30c81c46a35ce411e5fbc1191a0a52ef

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.15 {Encrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex BD5286AC63AABD7EB067AC54B553F71D] \
		 -data [binary decode hex F69F2445DF4F9B17AD2B417BE66C3710]]} \
	-match exact -result e28014e046b802f385c4c2e13ead4a72

tcltest::test Symetric_Block_CAMELLIA-192-OFB-1.16 {Decrypt CAMELLIA-192-OFB} \
	-constraints CAMELLIA_192_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-192-OFB -padding 0 \
		 -key [binary decode hex 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B] \
		 -iv [binary decode hex BD5286AC63AABD7EB067AC54B553F71D] \
		 -data [binary decode hex E28014E046B802F385C4C2E13EAD4A72]]} \
	-match exact -result f69f2445df4f9b17ad2b417be66c3710

# Cleanup
::tcltest::cleanupTests
return
