CAMELLIA-256-OFB.test at [0046a7f25d]

File tests/test_vectors/Symetric_Block/CAMELLIA-256-OFB.test artifact 8dcce35ba8 part of check-in 0046a7f25d


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

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.1 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 6BC1BEE22E409F96E93D7E117393172A]]} \
	-match exact -result cf6107bb0cea7d7fb1bd31f5e7b06c93

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.2 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex CF6107BB0CEA7D7FB1BD31F5E7B06C93]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172a

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.3 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex B7BF3A5DF43989DD97F0FA97EBCE2F4A] \
		 -data [binary decode hex AE2D8A571E03AC9C9EB76FAC45AF8E51]]} \
	-match exact -result 127ad97e8e3994e4820027d7ba109368

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.4 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex B7BF3A5DF43989DD97F0FA97EBCE2F4A] \
		 -data [binary decode hex 127AD97E8E3994E4820027D7BA109368]]} \
	-match exact -result ae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.5 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex E1C656305ED1A7A6563805746FE03EDC] \
		 -data [binary decode hex 30C81C46A35CE411E5FBC1191A0A52EF]]} \
	-match exact -result 6bff6265a6a6b7a535bc65a80b17214e

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.6 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex E1C656305ED1A7A6563805746FE03EDC] \
		 -data [binary decode hex 6BFF6265A6A6B7A535BC65A80B17214E]]} \
	-match exact -result 30c81c46a35ce411e5fbc1191a0a52ef

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.7 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 41635BE625B48AFC1666DD42A09D96E7] \
		 -data [binary decode hex F69F2445DF4F9B17AD2B417BE66C3710]]} \
	-match exact -result 0a4a0404e26aa78a27cb271e8bf3cf20

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.8 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 41635BE625B48AFC1666DD42A09D96E7] \
		 -data [binary decode hex 0A4A0404E26AA78A27CB271E8BF3CF20]]} \
	-match exact -result f69f2445df4f9b17ad2b417be66c3710

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.9 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex 6BC1BEE22E409F96E93D7E117393172A]]} \
	-match exact -result cf6107bb0cea7d7fb1bd31f5e7b06c93

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.10 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 000102030405060708090A0B0C0D0E0F] \
		 -data [binary decode hex CF6107BB0CEA7D7FB1BD31F5E7B06C93]]} \
	-match exact -result 6bc1bee22e409f96e93d7e117393172a

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.11 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex B7BF3A5DF43989DD97F0FA97EBCE2F4A] \
		 -data [binary decode hex AE2D8A571E03AC9C9EB76FAC45AF8E51]]} \
	-match exact -result 127ad97e8e3994e4820027d7ba109368

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.12 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex B7BF3A5DF43989DD97F0FA97EBCE2F4A] \
		 -data [binary decode hex 127AD97E8E3994E4820027D7BA109368]]} \
	-match exact -result ae2d8a571e03ac9c9eb76fac45af8e51

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.13 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex E1C656305ED1A7A6563805746FE03EDC] \
		 -data [binary decode hex 30C81C46A35CE411E5FBC1191A0A52EF]]} \
	-match exact -result 6bff6265a6a6b7a535bc65a80b17214e

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.14 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex E1C656305ED1A7A6563805746FE03EDC] \
		 -data [binary decode hex 6BFF6265A6A6B7A535BC65A80B17214E]]} \
	-match exact -result 30c81c46a35ce411e5fbc1191a0a52ef

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.15 {Encrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::encrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 41635BE625B48AFC1666DD42A09D96E7] \
		 -data [binary decode hex F69F2445DF4F9B17AD2B417BE66C3710]]} \
	-match exact -result 0a4a0404e26aa78a27cb271e8bf3cf20

tcltest::test Symetric_Block_CAMELLIA-256-OFB-1.16 {Decrypt CAMELLIA-256-OFB} \
	-constraints CAMELLIA_256_OFB \
	-body {binary encode hex [tls::decrypt -cipher CAMELLIA-256-OFB -padding 0 \
		 -key [binary decode hex 603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4] \
		 -iv [binary decode hex 41635BE625B48AFC1666DD42A09D96E7] \
		 -data [binary decode hex 0A4A0404E26AA78A27CB271E8BF3CF20]]} \
	-match exact -result f69f2445df4f9b17ad2b417be66c3710

# Cleanup
::tcltest::cleanupTests
return