Artifact
921c132deb457c3d278645b31311648373f8efbe2a2addb0f0971a4590d4d2c4:
0000: 23 20 41 75 74 6f 20 67 65 6e 65 72 61 74 65 64  # Auto generated
0010: 20 66 72 6f 6d 20 22 49 44 45 41 2d 4f 46 42 2e   from "IDEA-OFB.
0020: 74 78 74 22 0a 6c 61 70 70 65 6e 64 20 61 75 74  txt".lappend aut
0030: 6f 5f 70 61 74 68 20 5b 66 69 6c 65 20 64 69 72  o_path [file dir
0040: 6e 61 6d 65 20 5b 66 69 6c 65 20 64 69 72 6e 61  name [file dirna
0050: 6d 65 20 5b 66 69 6c 65 20 64 69 72 6e 61 6d 65  me [file dirname
0060: 20 5b 66 69 6c 65 20 64 69 72 6e 61 6d 65 20 5b   [file dirname [
0070: 66 69 6c 65 20 6a 6f 69 6e 20 5b 70 77 64 5d 20  file join [pwd] 
0080: 5b 69 6e 66 6f 20 73 63 72 69 70 74 5d 5d 5d 5d  [info script]]]]
0090: 5d 5d 0a 70 61 63 6b 61 67 65 20 72 65 71 75 69  ]].package requi
00a0: 72 65 20 74 6c 73 0a 70 61 63 6b 61 67 65 20 72  re tls.package r
00b0: 65 71 75 69 72 65 20 74 63 6c 74 65 73 74 0a 0a  equire tcltest..
00c0: 63 61 74 63 68 20 7b 74 6c 73 3a 3a 70 72 6f 76  catch {tls::prov
00d0: 69 64 65 72 20 6c 65 67 61 63 79 7d 0a 74 63 6c  ider legacy}.tcl
00e0: 74 65 73 74 3a 3a 74 65 73 74 43 6f 6e 73 74 72  test::testConstr
00f0: 61 69 6e 74 20 49 44 45 41 5f 4f 46 42 20 5b 65  aint IDEA_OFB [e
0100: 78 70 72 20 7b 5b 6c 73 65 61 72 63 68 20 2d 6e  xpr {[lsearch -n
0110: 6f 63 61 73 65 20 5b 74 6c 73 3a 3a 63 69 70 68  ocase [tls::ciph
0120: 65 72 73 5d 20 49 44 45 41 2d 4f 46 42 5d 20 3e  ers] IDEA-OFB] >
0130: 20 2d 31 7d 5d 0a 0a 74 63 6c 74 65 73 74 3a 3a   -1}]..tcltest::
0140: 74 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c  test Symetric_Bl
0150: 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 31  ock_IDEA-OFB-1.1
0160: 20 7b 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f   {Encrypt IDEA-O
0170: 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69  FB} \..-constrai
0180: 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09  nts IDEA_OFB \..
0190: 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e  -body {binary en
01a0: 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65  code hex [tls::e
01b0: 6e 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49  ncrypt -cipher I
01c0: 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67  DEA-OFB -padding
01d0: 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69   0 \... -key [bi
01e0: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
01f0: 64 37 64 35 37 62 64 38 34 37 31 35 34 61 66 39  d7d57bd847154af9
0200: 37 32 32 61 38 64 66 30 39 36 65 36 31 61 34 32  722a8df096e61a42
0210: 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61  ] \... -iv [bina
0220: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 66 64  ry decode hex fd
0230: 64 65 32 30 31 63 39 31 65 34 30 31 64 39 5d 20  de201c91e401d9] 
0240: 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61  \... -data [bina
0250: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 38 31  ry decode hex 81
0260: 38 38 33 66 32 32 31 36 35 32 38 32 62 61 36 61  883f22165282ba6a
0270: 34 34 32 61 38 64 64 32 61 37 36 38 64 34 5d 5d  442a8dd2a768d4]]
0280: 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63  } \..-match exac
0290: 74 20 2d 72 65 73 75 6c 74 20 37 37 30 65 37 62  t -result 770e7b
02a0: 30 65 61 63 63 30 38 39 62 37 65 65 66 34 31 30  0eacc089b7eef410
02b0: 64 39 38 64 38 38 36 65 39 65 0a 0a 74 63 6c 74  d98d886e9e..tclt
02c0: 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72  est::test Symetr
02d0: 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46  ic_Block_IDEA-OF
02e0: 42 2d 31 2e 32 20 7b 44 65 63 72 79 70 74 20 49  B-1.2 {Decrypt I
02f0: 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e  DEA-OFB} \..-con
0300: 73 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46  straints IDEA_OF
0310: 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61  B \..-body {bina
0320: 72 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74  ry encode hex [t
0330: 6c 73 3a 3a 64 65 63 72 79 70 74 20 2d 63 69 70  ls::decrypt -cip
0340: 68 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61  her IDEA-OFB -pa
0350: 64 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65  dding 0 \... -ke
0360: 79 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65  y [binary decode
0370: 20 68 65 78 20 64 37 64 35 37 62 64 38 34 37 31   hex d7d57bd8471
0380: 35 34 61 66 39 37 32 32 61 38 64 66 30 39 36 65  54af9722a8df096e
0390: 36 31 61 34 32 5d 20 5c 0a 09 09 20 2d 69 76 20  61a42] \... -iv 
03a0: 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68  [binary decode h
03b0: 65 78 20 66 64 64 65 32 30 31 63 39 31 65 34 30  ex fdde201c91e40
03c0: 31 64 39 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20  1d9] \... -data 
03d0: 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68  [binary decode h
03e0: 65 78 20 37 37 30 65 37 62 30 65 61 63 63 30 38  ex 770e7b0eacc08
03f0: 39 62 37 65 65 66 34 31 30 64 39 38 64 38 38 36  9b7eef410d98d886
0400: 65 39 65 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68  e9e]]} \..-match
0410: 20 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 38   exact -result 8
0420: 31 38 38 33 66 32 32 31 36 35 32 38 32 62 61 36  1883f22165282ba6
0430: 61 34 34 32 61 38 64 64 32 61 37 36 38 64 34 0a  a442a8dd2a768d4.
0440: 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53  .tcltest::test S
0450: 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44  ymetric_Block_ID
0460: 45 41 2d 4f 46 42 2d 31 2e 33 20 7b 45 6e 63 72  EA-OFB-1.3 {Encr
0470: 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a  ypt IDEA-OFB} \.
0480: 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44  .-constraints ID
0490: 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20  EA_OFB \..-body 
04a0: 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68  {binary encode h
04b0: 65 78 20 5b 74 6c 73 3a 3a 65 6e 63 72 79 70 74  ex [tls::encrypt
04c0: 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46   -cipher IDEA-OF
04d0: 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09  B -padding 0 \..
04e0: 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64  . -key [binary d
04f0: 65 63 6f 64 65 20 68 65 78 20 63 39 66 34 63 65  ecode hex c9f4ce
0500: 32 31 62 34 63 37 64 61 61 61 34 66 39 33 65 32  21b4c7daaa4f93e2
0510: 39 32 64 63 36 30 35 62 63 35 5d 20 5c 0a 09 09  92dc605bc5] \...
0520: 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63   -iv [binary dec
0530: 6f 64 65 20 68 65 78 20 35 65 35 61 38 63 66 32  ode hex 5e5a8cf2
0540: 38 30 38 63 37 32 30 65 5d 20 5c 0a 09 09 20 2d  808c720e] \... -
0550: 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63  data [binary dec
0560: 6f 64 65 20 68 65 78 20 38 65 31 39 63 35 63 61  ode hex 8e19c5ca
0570: 63 64 30 31 35 61 36 36 32 65 37 66 34 30 63 64  cd015a662e7f40cd
0580: 65 63 61 64 62 66 37 39 61 36 38 30 38 31 63 30  ecadbf79a68081c0
0590: 36 64 39 35 34 34 62 34 31 63 32 64 64 32 34 38  6d9544b41c2dd248
05a0: 65 37 37 36 33 33 62 34 5d 5d 7d 20 5c 0a 09 2d  e77633b4]]} \..-
05b0: 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73  match exact -res
05c0: 75 6c 74 20 37 64 65 62 65 33 39 61 35 38 30 36  ult 7debe39a5806
05d0: 36 61 37 39 39 34 31 35 30 64 39 31 30 30 36 30  6a7994150d910060
05e0: 62 31 32 37 35 38 32 64 65 36 31 32 66 66 35 38  b127582de612ff58
05f0: 66 39 35 36 34 61 39 32 61 62 34 35 35 39 31 62  f9564a92ab45591b
0600: 65 63 34 39 0a 0a 74 63 6c 74 65 73 74 3a 3a 74  ec49..tcltest::t
0610: 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f  est Symetric_Blo
0620: 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 34 20  ck_IDEA-OFB-1.4 
0630: 7b 44 65 63 72 79 70 74 20 49 44 45 41 2d 4f 46  {Decrypt IDEA-OF
0640: 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e  B} \..-constrain
0650: 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d  ts IDEA_OFB \..-
0660: 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63  body {binary enc
0670: 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 64 65  ode hex [tls::de
0680: 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44  crypt -cipher ID
0690: 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20  EA-OFB -padding 
06a0: 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e  0 \... -key [bin
06b0: 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 63  ary decode hex c
06c0: 39 66 34 63 65 32 31 62 34 63 37 64 61 61 61 34  9f4ce21b4c7daaa4
06d0: 66 39 33 65 32 39 32 64 63 36 30 35 62 63 35 5d  f93e292dc605bc5]
06e0: 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72   \... -iv [binar
06f0: 79 20 64 65 63 6f 64 65 20 68 65 78 20 35 65 35  y decode hex 5e5
0700: 61 38 63 66 32 38 30 38 63 37 32 30 65 5d 20 5c  a8cf2808c720e] \
0710: 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72  ... -data [binar
0720: 79 20 64 65 63 6f 64 65 20 68 65 78 20 37 64 65  y decode hex 7de
0730: 62 65 33 39 61 35 38 30 36 36 61 37 39 39 34 31  be39a58066a79941
0740: 35 30 64 39 31 30 30 36 30 62 31 32 37 35 38 32  50d910060b127582
0750: 64 65 36 31 32 66 66 35 38 66 39 35 36 34 61 39  de612ff58f9564a9
0760: 32 61 62 34 35 35 39 31 62 65 63 34 39 5d 5d 7d  2ab45591bec49]]}
0770: 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74   \..-match exact
0780: 20 2d 72 65 73 75 6c 74 20 38 65 31 39 63 35 63   -result 8e19c5c
0790: 61 63 64 30 31 35 61 36 36 32 65 37 66 34 30 63  acd015a662e7f40c
07a0: 64 65 63 61 64 62 66 37 39 61 36 38 30 38 31 63  decadbf79a68081c
07b0: 30 36 64 39 35 34 34 62 34 31 63 32 64 64 32 34  06d9544b41c2dd24
07c0: 38 65 37 37 36 33 33 62 34 0a 0a 74 63 6c 74 65  8e77633b4..tclte
07d0: 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69  st::test Symetri
07e0: 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42  c_Block_IDEA-OFB
07f0: 2d 31 2e 35 20 7b 45 6e 63 72 79 70 74 20 49 44  -1.5 {Encrypt ID
0800: 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73  EA-OFB} \..-cons
0810: 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42  traints IDEA_OFB
0820: 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72   \..-body {binar
0830: 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c  y encode hex [tl
0840: 73 3a 3a 65 6e 63 72 79 70 74 20 2d 63 69 70 68  s::encrypt -ciph
0850: 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64  er IDEA-OFB -pad
0860: 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79  ding 0 \... -key
0870: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
0880: 68 65 78 20 37 61 37 30 63 63 36 62 32 36 31 65  hex 7a70cc6b261e
0890: 65 63 63 62 30 35 63 35 37 31 31 37 64 35 37 36  eccb05c57117d576
08a0: 33 31 39 37 5d 20 5c 0a 09 09 20 2d 69 76 20 5b  3197] \... -iv [
08b0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
08c0: 78 20 62 62 37 62 39 36 36 37 66 62 64 37 36 64  x bb7b9667fbd76d
08d0: 35 65 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b  5e] \... -data [
08e0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
08f0: 78 20 38 32 33 63 62 61 61 65 33 37 36 30 63 38  x 823cbaae3760c8
0900: 35 35 31 32 61 33 63 38 33 66 64 36 30 62 62 35  5512a3c83fd60bb5
0910: 34 62 37 63 66 63 37 33 39 62 32 39 35 62 36 33  4b7cfc739b295b63
0920: 65 30 35 65 66 34 33 35 64 38 36 65 31 39 66 64  e05ef435d86e19fd
0930: 31 35 33 36 38 63 38 39 66 66 30 38 61 30 66 32  15368c89ff08a0f2
0940: 31 63 65 38 39 61 37 32 38 66 66 62 35 64 37 35  1ce89a728ffb5d75
0950: 64 66 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20  df]]} \..-match 
0960: 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 61 62  exact -result ab
0970: 36 65 30 66 31 35 63 65 64 66 32 37 32 63 37 38  6e0f15cedf272c78
0980: 66 62 63 37 66 61 64 63 63 34 62 61 31 64 65 64  fbc7fadcc4ba1ded
0990: 32 35 36 36 36 38 62 39 62 63 38 33 30 32 64 63  256668b9bc8302dc
09a0: 33 33 31 32 63 30 31 34 39 65 36 35 36 65 38 66  3312c0149e656e8f
09b0: 65 61 36 33 32 62 38 65 32 30 66 35 61 65 38 36  ea632b8e20f5ae86
09c0: 37 35 31 30 36 64 37 37 36 31 61 33 36 36 0a 0a  75106d7761a366..
09d0: 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79  tcltest::test Sy
09e0: 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45  metric_Block_IDE
09f0: 41 2d 4f 46 42 2d 31 2e 36 20 7b 44 65 63 72 79  A-OFB-1.6 {Decry
0a00: 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09  pt IDEA-OFB} \..
0a10: 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44 45  -constraints IDE
0a20: 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b  A_OFB \..-body {
0a30: 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68 65  binary encode he
0a40: 78 20 5b 74 6c 73 3a 3a 64 65 63 72 79 70 74 20  x [tls::decrypt 
0a50: 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46 42  -cipher IDEA-OFB
0a60: 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09 09   -padding 0 \...
0a70: 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64 65   -key [binary de
0a80: 63 6f 64 65 20 68 65 78 20 37 61 37 30 63 63 36  code hex 7a70cc6
0a90: 62 32 36 31 65 65 63 63 62 30 35 63 35 37 31 31  b261eeccb05c5711
0aa0: 37 64 35 37 36 33 31 39 37 5d 20 5c 0a 09 09 20  7d5763197] \... 
0ab0: 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63 6f  -iv [binary deco
0ac0: 64 65 20 68 65 78 20 62 62 37 62 39 36 36 37 66  de hex bb7b9667f
0ad0: 62 64 37 36 64 35 65 5d 20 5c 0a 09 09 20 2d 64  bd76d5e] \... -d
0ae0: 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63 6f  ata [binary deco
0af0: 64 65 20 68 65 78 20 61 62 36 65 30 66 31 35 63  de hex ab6e0f15c
0b00: 65 64 66 32 37 32 63 37 38 66 62 63 37 66 61 64  edf272c78fbc7fad
0b10: 63 63 34 62 61 31 64 65 64 32 35 36 36 36 38 62  cc4ba1ded256668b
0b20: 39 62 63 38 33 30 32 64 63 33 33 31 32 63 30 31  9bc8302dc3312c01
0b30: 34 39 65 36 35 36 65 38 66 65 61 36 33 32 62 38  49e656e8fea632b8
0b40: 65 32 30 66 35 61 65 38 36 37 35 31 30 36 64 37  e20f5ae8675106d7
0b50: 37 36 31 61 33 36 36 5d 5d 7d 20 5c 0a 09 2d 6d  761a366]]} \..-m
0b60: 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73 75  atch exact -resu
0b70: 6c 74 20 38 32 33 63 62 61 61 65 33 37 36 30 63  lt 823cbaae3760c
0b80: 38 35 35 31 32 61 33 63 38 33 66 64 36 30 62 62  85512a3c83fd60bb
0b90: 35 34 62 37 63 66 63 37 33 39 62 32 39 35 62 36  54b7cfc739b295b6
0ba0: 33 65 30 35 65 66 34 33 35 64 38 36 65 31 39 66  3e05ef435d86e19f
0bb0: 64 31 35 33 36 38 63 38 39 66 66 30 38 61 30 66  d15368c89ff08a0f
0bc0: 32 31 63 65 38 39 61 37 32 38 66 66 62 35 64 37  21ce89a728ffb5d7
0bd0: 35 64 66 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65  5df..tcltest::te
0be0: 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63  st Symetric_Bloc
0bf0: 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 37 20 7b  k_IDEA-OFB-1.7 {
0c00: 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42  Encrypt IDEA-OFB
0c10: 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74  } \..-constraint
0c20: 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62  s IDEA_OFB \..-b
0c30: 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f  ody {binary enco
0c40: 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65 6e 63  de hex [tls::enc
0c50: 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44 45  rypt -cipher IDE
0c60: 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30  A-OFB -padding 0
0c70: 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61   \... -key [bina
0c80: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 38 35  ry decode hex 85
0c90: 64 62 64 35 61 36 65 37 33 36 38 31 61 35 31 61  dbd5a6e73681a51a
0ca0: 34 61 37 64 34 65 39 33 63 61 37 64 30 63 5d 20  4a7d4e93ca7d0c] 
0cb0: 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79  \... -iv [binary
0cc0: 20 64 65 63 6f 64 65 20 68 65 78 20 38 39 64 38   decode hex 89d8
0cd0: 39 37 63 35 61 61 39 65 30 61 35 64 5d 20 5c 0a  97c5aa9e0a5d] \.
0ce0: 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79  .. -data [binary
0cf0: 20 64 65 63 6f 64 65 20 68 65 78 20 65 33 64 62   decode hex e3db
0d00: 66 63 36 61 65 31 61 38 37 39 38 37 30 66 64 32  fc6ae1a879870fd2
0d10: 32 36 34 34 63 38 31 33 35 66 65 30 36 33 33 35  2644c8135fe06335
0d20: 35 64 66 63 30 61 38 64 61 64 34 35 63 39 63 36  5dfc0a8dad45c9c6
0d30: 65 30 35 32 65 36 65 30 38 35 63 66 37 31 37 37  e052e6e085cf7177
0d40: 35 34 64 63 31 62 34 39 61 63 62 30 34 63 66 33  54dc1b49acb04cf3
0d50: 34 30 38 32 36 66 66 62 30 64 61 39 39 31 31 33  40826ffb0da99113
0d60: 38 66 30 32 32 61 39 63 33 34 39 32 33 61 36 61  8f022a9c34923a6a
0d70: 31 31 36 63 39 38 63 37 64 33 64 35 5d 5d 7d 20  116c98c7d3d5]]} 
0d80: 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20  \..-match exact 
0d90: 2d 72 65 73 75 6c 74 20 66 32 31 37 35 36 33 34  -result f2175634
0da0: 31 33 37 64 37 36 33 34 37 66 34 63 64 38 66 34  137d76347f4cd8f4
0db0: 34 61 30 30 32 38 32 66 36 31 34 34 64 66 63 30  4a00282f6144dfc0
0dc0: 63 64 65 34 39 32 39 34 35 37 66 38 66 31 38 30  cde4929457f8f180
0dd0: 66 36 32 61 61 62 64 31 38 30 32 34 39 64 34 35  f62aabd180249d45
0de0: 36 38 34 30 35 64 39 64 35 39 36 62 65 33 34 38  68405d9d596be348
0df0: 30 32 64 65 64 37 64 32 65 33 39 30 64 37 37 33  02ded7d2e390d773
0e00: 38 34 36 37 37 63 34 35 35 37 35 65 62 36 38 36  84677c45575eb686
0e10: 35 63 63 61 37 63 62 32 0a 0a 74 63 6c 74 65 73  5cca7cb2..tcltes
0e20: 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63  t::test Symetric
0e30: 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d  _Block_IDEA-OFB-
0e40: 31 2e 38 20 7b 44 65 63 72 79 70 74 20 49 44 45  1.8 {Decrypt IDE
0e50: 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74  A-OFB} \..-const
0e60: 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42 20  raints IDEA_OFB 
0e70: 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79  \..-body {binary
0e80: 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c 73   encode hex [tls
0e90: 3a 3a 64 65 63 72 79 70 74 20 2d 63 69 70 68 65  ::decrypt -ciphe
0ea0: 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64 64  r IDEA-OFB -padd
0eb0: 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20  ing 0 \... -key 
0ec0: 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68  [binary decode h
0ed0: 65 78 20 38 35 64 62 64 35 61 36 65 37 33 36 38  ex 85dbd5a6e7368
0ee0: 31 61 35 31 61 34 61 37 64 34 65 39 33 63 61 37  1a51a4a7d4e93ca7
0ef0: 64 30 63 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62  d0c] \... -iv [b
0f00: 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78  inary decode hex
0f10: 20 38 39 64 38 39 37 63 35 61 61 39 65 30 61 35   89d897c5aa9e0a5
0f20: 64 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62  d] \... -data [b
0f30: 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78  inary decode hex
0f40: 20 66 32 31 37 35 36 33 34 31 33 37 64 37 36 33   f2175634137d763
0f50: 34 37 66 34 63 64 38 66 34 34 61 30 30 32 38 32  47f4cd8f44a00282
0f60: 66 36 31 34 34 64 66 63 30 63 64 65 34 39 32 39  f6144dfc0cde4929
0f70: 34 35 37 66 38 66 31 38 30 66 36 32 61 61 62 64  457f8f180f62aabd
0f80: 31 38 30 32 34 39 64 34 35 36 38 34 30 35 64 39  180249d4568405d9
0f90: 64 35 39 36 62 65 33 34 38 30 32 64 65 64 37 64  d596be34802ded7d
0fa0: 32 65 33 39 30 64 37 37 33 38 34 36 37 37 63 34  2e390d77384677c4
0fb0: 35 35 37 35 65 62 36 38 36 35 63 63 61 37 63 62  5575eb6865cca7cb
0fc0: 32 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65  2]]} \..-match e
0fd0: 78 61 63 74 20 2d 72 65 73 75 6c 74 20 65 33 64  xact -result e3d
0fe0: 62 66 63 36 61 65 31 61 38 37 39 38 37 30 66 64  bfc6ae1a879870fd
0ff0: 32 32 36 34 34 63 38 31 33 35 66 65 30 36 33 33  22644c8135fe0633
1000: 35 35 64 66 63 30 61 38 64 61 64 34 35 63 39 63  55dfc0a8dad45c9c
1010: 36 65 30 35 32 65 36 65 30 38 35 63 66 37 31 37  6e052e6e085cf717
1020: 37 35 34 64 63 31 62 34 39 61 63 62 30 34 63 66  754dc1b49acb04cf
1030: 33 34 30 38 32 36 66 66 62 30 64 61 39 39 31 31  340826ffb0da9911
1040: 33 38 66 30 32 32 61 39 63 33 34 39 32 33 61 36  38f022a9c34923a6
1050: 61 31 31 36 63 39 38 63 37 64 33 64 35 0a 0a 74  a116c98c7d3d5..t
1060: 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79 6d  cltest::test Sym
1070: 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41  etric_Block_IDEA
1080: 2d 4f 46 42 2d 31 2e 39 20 7b 45 6e 63 72 79 70  -OFB-1.9 {Encryp
1090: 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d  t IDEA-OFB} \..-
10a0: 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41  constraints IDEA
10b0: 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62  _OFB \..-body {b
10c0: 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78  inary encode hex
10d0: 20 5b 74 6c 73 3a 3a 65 6e 63 72 79 70 74 20 2d   [tls::encrypt -
10e0: 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20  cipher IDEA-OFB 
10f0: 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20  -padding 0 \... 
1100: 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63  -key [binary dec
1110: 6f 64 65 20 68 65 78 20 31 38 62 39 38 38 37 61  ode hex 18b9887a
1120: 33 34 34 33 38 66 62 32 65 37 35 39 30 32 37 65  34438fb2e759027e
1130: 35 34 65 33 33 34 62 36 5d 20 5c 0a 09 09 20 2d  54e334b6] \... -
1140: 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  iv [binary decod
1150: 65 20 68 65 78 20 61 35 62 65 38 36 32 31 65 35  e hex a5be8621e5
1160: 38 64 61 65 33 32 5d 20 5c 0a 09 09 20 2d 64 61  8dae32] \... -da
1170: 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ta [binary decod
1180: 65 20 68 65 78 20 38 63 64 36 35 39 64 66 39 32  e hex 8cd659df92
1190: 35 39 35 30 62 35 31 36 66 37 33 37 66 63 39 32  5950b516f737fc92
11a0: 64 32 66 61 66 61 30 30 38 63 30 30 38 63 39 64  d2fafa008c008c9d
11b0: 66 65 30 65 37 35 65 64 32 64 36 38 66 36 66 66  fe0e75ed2d68f6ff
11c0: 37 39 33 39 39 66 66 32 31 38 33 34 36 34 62 38  79399ff2183464b8
11d0: 63 33 37 63 66 33 31 61 61 66 63 31 34 35 66 63  c37cf31aafc145fc
11e0: 62 66 61 63 37 33 65 33 66 38 37 65 63 63 62 34  bfac73e3f87eccb4
11f0: 33 35 66 34 32 34 62 66 31 63 36 64 36 65 66 62  35f424bf1c6d6efb
1200: 35 30 34 65 38 65 39 33 65 38 61 36 36 38 61 32  504e8e93e8a668a2
1210: 32 31 30 65 33 64 33 62 34 66 64 34 33 37 61 64  210e3d3b4fd437ad
1220: 31 61 35 38 34 32 5d 5d 7d 20 5c 0a 09 2d 6d 61  1a5842]]} \..-ma
1230: 74 63 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c  tch exact -resul
1240: 74 20 62 35 32 34 31 66 65 66 61 34 30 62 32 66  t b5241fefa40b2f
1250: 39 66 30 31 35 33 38 37 62 30 65 36 34 38 38 34  9f015387b0e64884
1260: 33 65 33 35 35 34 39 64 38 39 31 37 30 32 64 36  3e35549d891702d6
1270: 36 63 31 62 66 34 34 30 61 65 62 30 37 34 33 32  6c1bf440aeb07432
1280: 65 33 32 39 39 62 61 64 63 63 31 64 35 36 62 39  e3299badcc1d56b9
1290: 63 61 38 63 34 35 61 62 63 64 36 37 37 63 66 64  ca8c45abcd677cfd
12a0: 61 31 30 64 65 39 33 65 32 66 33 62 30 35 62 32  a10de93e2f3b05b2
12b0: 64 61 31 30 38 36 65 34 30 37 30 33 30 31 39 38  da1086e407030198
12c0: 39 65 61 63 39 35 63 64 37 65 64 33 31 31 62 37  9eac95cd7ed311b7
12d0: 64 65 32 30 38 62 66 36 36 61 35 39 66 36 34 64  de208bf66a59f64d
12e0: 31 66 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73  1f..tcltest::tes
12f0: 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b  t Symetric_Block
1300: 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 31 30 20 7b  _IDEA-OFB-1.10 {
1310: 44 65 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42  Decrypt IDEA-OFB
1320: 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74  } \..-constraint
1330: 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62  s IDEA_OFB \..-b
1340: 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f  ody {binary enco
1350: 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 64 65 63  de hex [tls::dec
1360: 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44 45  rypt -cipher IDE
1370: 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30  A-OFB -padding 0
1380: 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61   \... -key [bina
1390: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 31 38  ry decode hex 18
13a0: 62 39 38 38 37 61 33 34 34 33 38 66 62 32 65 37  b9887a34438fb2e7
13b0: 35 39 30 32 37 65 35 34 65 33 33 34 62 36 5d 20  59027e54e334b6] 
13c0: 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79  \... -iv [binary
13d0: 20 64 65 63 6f 64 65 20 68 65 78 20 61 35 62 65   decode hex a5be
13e0: 38 36 32 31 65 35 38 64 61 65 33 32 5d 20 5c 0a  8621e58dae32] \.
13f0: 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79  .. -data [binary
1400: 20 64 65 63 6f 64 65 20 68 65 78 20 62 35 32 34   decode hex b524
1410: 31 66 65 66 61 34 30 62 32 66 39 66 30 31 35 33  1fefa40b2f9f0153
1420: 38 37 62 30 65 36 34 38 38 34 33 65 33 35 35 34  87b0e648843e3554
1430: 39 64 38 39 31 37 30 32 64 36 36 63 31 62 66 34  9d891702d66c1bf4
1440: 34 30 61 65 62 30 37 34 33 32 65 33 32 39 39 62  40aeb07432e3299b
1450: 61 64 63 63 31 64 35 36 62 39 63 61 38 63 34 35  adcc1d56b9ca8c45
1460: 61 62 63 64 36 37 37 63 66 64 61 31 30 64 65 39  abcd677cfda10de9
1470: 33 65 32 66 33 62 30 35 62 32 64 61 31 30 38 36  3e2f3b05b2da1086
1480: 65 34 30 37 30 33 30 31 39 38 39 65 61 63 39 35  e4070301989eac95
1490: 63 64 37 65 64 33 31 31 62 37 64 65 32 30 38 62  cd7ed311b7de208b
14a0: 66 36 36 61 35 39 66 36 34 64 31 66 5d 5d 7d 20  f66a59f64d1f]]} 
14b0: 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20  \..-match exact 
14c0: 2d 72 65 73 75 6c 74 20 38 63 64 36 35 39 64 66  -result 8cd659df
14d0: 39 32 35 39 35 30 62 35 31 36 66 37 33 37 66 63  925950b516f737fc
14e0: 39 32 64 32 66 61 66 61 30 30 38 63 30 30 38 63  92d2fafa008c008c
14f0: 39 64 66 65 30 65 37 35 65 64 32 64 36 38 66 36  9dfe0e75ed2d68f6
1500: 66 66 37 39 33 39 39 66 66 32 31 38 33 34 36 34  ff79399ff2183464
1510: 62 38 63 33 37 63 66 33 31 61 61 66 63 31 34 35  b8c37cf31aafc145
1520: 66 63 62 66 61 63 37 33 65 33 66 38 37 65 63 63  fcbfac73e3f87ecc
1530: 62 34 33 35 66 34 32 34 62 66 31 63 36 64 36 65  b435f424bf1c6d6e
1540: 66 62 35 30 34 65 38 65 39 33 65 38 61 36 36 38  fb504e8e93e8a668
1550: 61 32 32 31 30 65 33 64 33 62 34 66 64 34 33 37  a2210e3d3b4fd437
1560: 61 64 31 61 35 38 34 32 0a 0a 74 63 6c 74 65 73  ad1a5842..tcltes
1570: 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63  t::test Symetric
1580: 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d  _Block_IDEA-OFB-
1590: 31 2e 31 31 20 7b 45 6e 63 72 79 70 74 20 49 44  1.11 {Encrypt ID
15a0: 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73  EA-OFB} \..-cons
15b0: 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42  traints IDEA_OFB
15c0: 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72   \..-body {binar
15d0: 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c  y encode hex [tl
15e0: 73 3a 3a 65 6e 63 72 79 70 74 20 2d 63 69 70 68  s::encrypt -ciph
15f0: 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64  er IDEA-OFB -pad
1600: 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79  ding 0 \... -key
1610: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
1620: 68 65 78 20 64 61 35 32 63 30 65 34 36 30 39 65  hex da52c0e4609e
1630: 38 32 65 65 39 32 36 31 37 34 61 39 65 61 66 39  82ee926174a9eaf9
1640: 30 62 30 38 5d 20 5c 0a 09 09 20 2d 69 76 20 5b  0b08] \... -iv [
1650: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
1660: 78 20 66 32 64 30 63 35 65 38 36 62 34 64 64 62  x f2d0c5e86b4ddb
1670: 34 30 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b  40] \... -data [
1680: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
1690: 78 20 39 31 64 36 63 39 35 61 36 31 34 63 66 38  x 91d6c95a614cf8
16a0: 35 64 65 31 36 65 65 61 62 65 35 39 37 36 63 32  5de16eeabe5976c2
16b0: 61 32 61 39 64 33 30 37 30 34 32 66 37 39 61 37  a2a9d307042f79a7
16c0: 61 61 65 62 37 63 33 63 35 37 65 31 64 64 38 64  aaeb7c3c57e1dd8d
16d0: 34 33 62 66 61 34 35 38 63 38 63 30 32 65 34 66  43bfa458c8c02e4f
16e0: 35 65 64 30 63 39 36 30 63 39 66 31 37 65 33 39  5ed0c960c9f17e39
16f0: 39 31 64 64 32 65 30 63 62 33 65 64 65 31 38 66  91dd2e0cb3ede18f
1700: 39 36 33 39 35 61 34 38 34 30 30 31 65 66 30 37  96395a484001ef07
1710: 63 61 34 63 39 37 62 34 31 31 63 65 34 35 34 61  ca4c97b411ce454a
1720: 61 66 30 66 37 34 32 34 32 61 63 61 30 33 37 38  af0f74242aca0378
1730: 36 61 39 33 34 34 32 31 37 31 62 64 35 30 61 31  6a93442171bd50a1
1740: 34 36 37 62 39 64 36 36 33 32 34 35 64 32 34 63  467b9d663245d24c
1750: 32 66 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20  2f]]} \..-match 
1760: 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 66 30  exact -result f0
1770: 64 65 63 63 32 36 63 34 38 36 37 36 35 39 32 32  decc26c486765922
1780: 30 30 61 65 36 31 39 66 30 62 35 31 31 31 64 36  00ae619f0b5111d6
1790: 32 39 37 33 33 66 32 33 61 33 34 63 65 38 38 38  29733f23a34ce888
17a0: 63 38 36 32 65 39 61 65 30 38 38 36 62 35 65 38  c862e9ae0886b5e8
17b0: 66 39 33 65 32 63 32 38 33 32 64 33 63 64 65 36  f93e2c2832d3cde6
17c0: 63 63 63 63 35 34 39 39 38 30 31 65 37 62 38 37  cccc5499801e7b87
17d0: 39 30 62 36 31 65 38 61 31 33 61 64 64 39 64 61  90b61e8a13add9da
17e0: 35 39 33 39 38 31 65 38 62 61 34 65 63 30 38 65  593981e8ba4ec08e
17f0: 34 36 32 32 36 65 62 37 37 66 38 66 62 34 30 31  46226eb77f8fb401
1800: 30 35 65 30 34 30 63 37 61 35 64 38 34 65 34 64  05e040c7a5d84e4d
1810: 66 36 65 65 30 35 66 33 65 32 39 38 33 32 66 38  f6ee05f3e29832f8
1820: 30 64 62 36 35 62 63 30 33 66 64 34 62 36 0a 0a  0db65bc03fd4b6..
1830: 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79  tcltest::test Sy
1840: 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45  metric_Block_IDE
1850: 41 2d 4f 46 42 2d 31 2e 31 32 20 7b 44 65 63 72  A-OFB-1.12 {Decr
1860: 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a  ypt IDEA-OFB} \.
1870: 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44  .-constraints ID
1880: 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20  EA_OFB \..-body 
1890: 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68  {binary encode h
18a0: 65 78 20 5b 74 6c 73 3a 3a 64 65 63 72 79 70 74  ex [tls::decrypt
18b0: 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46   -cipher IDEA-OF
18c0: 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09  B -padding 0 \..
18d0: 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64  . -key [binary d
18e0: 65 63 6f 64 65 20 68 65 78 20 64 61 35 32 63 30  ecode hex da52c0
18f0: 65 34 36 30 39 65 38 32 65 65 39 32 36 31 37 34  e4609e82ee926174
1900: 61 39 65 61 66 39 30 62 30 38 5d 20 5c 0a 09 09  a9eaf90b08] \...
1910: 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63   -iv [binary dec
1920: 6f 64 65 20 68 65 78 20 66 32 64 30 63 35 65 38  ode hex f2d0c5e8
1930: 36 62 34 64 64 62 34 30 5d 20 5c 0a 09 09 20 2d  6b4ddb40] \... -
1940: 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63  data [binary dec
1950: 6f 64 65 20 68 65 78 20 66 30 64 65 63 63 32 36  ode hex f0decc26
1960: 63 34 38 36 37 36 35 39 32 32 30 30 61 65 36 31  c48676592200ae61
1970: 39 66 30 62 35 31 31 31 64 36 32 39 37 33 33 66  9f0b5111d629733f
1980: 32 33 61 33 34 63 65 38 38 38 63 38 36 32 65 39  23a34ce888c862e9
1990: 61 65 30 38 38 36 62 35 65 38 66 39 33 65 32 63  ae0886b5e8f93e2c
19a0: 32 38 33 32 64 33 63 64 65 36 63 63 63 63 35 34  2832d3cde6cccc54
19b0: 39 39 38 30 31 65 37 62 38 37 39 30 62 36 31 65  99801e7b8790b61e
19c0: 38 61 31 33 61 64 64 39 64 61 35 39 33 39 38 31  8a13add9da593981
19d0: 65 38 62 61 34 65 63 30 38 65 34 36 32 32 36 65  e8ba4ec08e46226e
19e0: 62 37 37 66 38 66 62 34 30 31 30 35 65 30 34 30  b77f8fb40105e040
19f0: 63 37 61 35 64 38 34 65 34 64 66 36 65 65 30 35  c7a5d84e4df6ee05
1a00: 66 33 65 32 39 38 33 32 66 38 30 64 62 36 35 62  f3e29832f80db65b
1a10: 63 30 33 66 64 34 62 36 5d 5d 7d 20 5c 0a 09 2d  c03fd4b6]]} \..-
1a20: 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73  match exact -res
1a30: 75 6c 74 20 39 31 64 36 63 39 35 61 36 31 34 63  ult 91d6c95a614c
1a40: 66 38 35 64 65 31 36 65 65 61 62 65 35 39 37 36  f85de16eeabe5976
1a50: 63 32 61 32 61 39 64 33 30 37 30 34 32 66 37 39  c2a2a9d307042f79
1a60: 61 37 61 61 65 62 37 63 33 63 35 37 65 31 64 64  a7aaeb7c3c57e1dd
1a70: 38 64 34 33 62 66 61 34 35 38 63 38 63 30 32 65  8d43bfa458c8c02e
1a80: 34 66 35 65 64 30 63 39 36 30 63 39 66 31 37 65  4f5ed0c960c9f17e
1a90: 33 39 39 31 64 64 32 65 30 63 62 33 65 64 65 31  3991dd2e0cb3ede1
1aa0: 38 66 39 36 33 39 35 61 34 38 34 30 30 31 65 66  8f96395a484001ef
1ab0: 30 37 63 61 34 63 39 37 62 34 31 31 63 65 34 35  07ca4c97b411ce45
1ac0: 34 61 61 66 30 66 37 34 32 34 32 61 63 61 30 33  4aaf0f74242aca03
1ad0: 37 38 36 61 39 33 34 34 32 31 37 31 62 64 35 30  786a93442171bd50
1ae0: 61 31 34 36 37 62 39 64 36 36 33 32 34 35 64 32  a1467b9d663245d2
1af0: 34 63 32 66 0a 0a 74 63 6c 74 65 73 74 3a 3a 74  4c2f..tcltest::t
1b00: 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f  est Symetric_Blo
1b10: 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 31 33  ck_IDEA-OFB-1.13
1b20: 20 7b 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f   {Encrypt IDEA-O
1b30: 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69  FB} \..-constrai
1b40: 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09  nts IDEA_OFB \..
1b50: 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e  -body {binary en
1b60: 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65  code hex [tls::e
1b70: 6e 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49  ncrypt -cipher I
1b80: 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67  DEA-OFB -padding
1b90: 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69   0 \... -key [bi
1ba0: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
1bb0: 35 36 64 36 66 37 65 32 61 38 37 30 62 39 32 64  56d6f7e2a870b92d
1bc0: 35 35 66 66 38 64 36 65 39 63 35 35 34 64 32 61  55ff8d6e9c554d2a
1bd0: 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61  ] \... -iv [bina
1be0: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 62 35  ry decode hex b5
1bf0: 31 32 66 30 65 31 31 65 32 37 66 64 31 61 5d 20  12f0e11e27fd1a] 
1c00: 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61  \... -data [bina
1c10: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 65 36  ry decode hex e6
1c20: 32 63 64 65 61 63 34 33 36 36 37 37 34 39 37 30  2cdeac4366774970
1c30: 31 33 31 34 63 35 34 36 66 37 37 38 61 34 63 37  1314c546f778a4c7
1c40: 35 38 65 34 66 35 35 37 36 30 65 37 64 37 32 39  58e4f55760e7d729
1c50: 63 33 37 38 33 63 66 37 61 32 34 32 65 64 66 36  c3783cf7a242edf6
1c60: 61 65 33 66 63 66 30 39 39 30 38 38 36 34 33 34  ae3fcf0990886434
1c70: 38 39 36 63 39 34 35 34 35 35 62 66 61 65 30 65  896c945455bfae0e
1c80: 35 36 37 34 61 61 30 36 65 65 36 66 62 31 35 31  5674aa06ee6fb151
1c90: 32 64 39 34 64 66 32 63 61 63 32 34 34 37 65 65  2d94df2cac2447ee
1ca0: 62 38 34 39 33 37 33 62 62 33 65 66 62 65 37 62  b849373bb3efbe7b
1cb0: 62 38 64 36 36 63 38 61 37 65 65 35 35 39 62 31  b8d66c8a7ee559b1
1cc0: 37 66 63 32 36 38 64 36 35 39 39 66 63 64 65 66  7fc268d6599fcdef
1cd0: 37 34 35 37 63 64 62 64 65 35 62 39 63 35 62 36  7457cdbde5b9c5b6
1ce0: 39 32 32 33 36 65 34 33 39 37 35 34 35 66 32 62  92236e4397545f2b
1cf0: 65 39 37 62 64 34 34 66 33 39 39 33 61 64 5d 5d  e97bd44f3993ad]]
1d00: 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63  } \..-match exac
1d10: 74 20 2d 72 65 73 75 6c 74 20 62 30 34 36 34 66  t -result b0464f
1d20: 66 32 32 31 31 30 64 37 31 34 35 32 61 62 31 62  f22110d71452ab1b
1d30: 36 63 38 30 36 34 62 37 30 36 32 36 38 61 32 64  6c8064b706268a2d
1d40: 38 34 39 36 30 37 63 37 33 34 61 65 32 30 63 31  849607c734ae20c1
1d50: 64 34 66 35 35 63 32 62 39 38 61 34 61 62 62 37  d4f55c2b98a4abb7
1d60: 64 62 31 37 35 39 32 30 35 63 64 30 66 38 37 30  db1759205cd0f870
1d70: 66 36 64 66 62 63 37 64 34 66 64 64 37 32 65 36  f6dfbc7d4fdd72e6
1d80: 30 63 34 65 39 61 34 31 34 33 64 63 37 36 34 30  0c4e9a4143dc7640
1d90: 38 33 34 30 64 64 36 64 32 63 36 63 65 38 36 33  8340dd6d2c6ce863
1da0: 38 31 35 31 31 39 33 30 39 39 37 61 33 30 34 63  81511930997a304c
1db0: 66 38 39 30 65 65 63 33 33 37 31 37 36 63 39 35  f890eec337176c95
1dc0: 62 38 33 34 31 38 36 61 39 31 39 31 66 62 62 31  b834186a9191fbb1
1dd0: 37 62 38 35 34 38 65 33 64 63 37 62 31 30 63 38  7b8548e3dc7b10c8
1de0: 62 37 63 62 38 64 30 62 36 62 62 62 32 36 63 65  b7cb8d0b6bbb26ce
1df0: 61 63 30 31 31 31 34 37 37 63 0a 0a 74 63 6c 74  ac0111477c..tclt
1e00: 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72  est::test Symetr
1e10: 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46  ic_Block_IDEA-OF
1e20: 42 2d 31 2e 31 34 20 7b 44 65 63 72 79 70 74 20  B-1.14 {Decrypt 
1e30: 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f  IDEA-OFB} \..-co
1e40: 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f  nstraints IDEA_O
1e50: 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e  FB \..-body {bin
1e60: 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b  ary encode hex [
1e70: 74 6c 73 3a 3a 64 65 63 72 79 70 74 20 2d 63 69  tls::decrypt -ci
1e80: 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70  pher IDEA-OFB -p
1e90: 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b  adding 0 \... -k
1ea0: 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ey [binary decod
1eb0: 65 20 68 65 78 20 35 36 64 36 66 37 65 32 61 38  e hex 56d6f7e2a8
1ec0: 37 30 62 39 32 64 35 35 66 66 38 64 36 65 39 63  70b92d55ff8d6e9c
1ed0: 35 35 34 64 32 61 5d 20 5c 0a 09 09 20 2d 69 76  554d2a] \... -iv
1ee0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
1ef0: 68 65 78 20 62 35 31 32 66 30 65 31 31 65 32 37  hex b512f0e11e27
1f00: 66 64 31 61 5d 20 5c 0a 09 09 20 2d 64 61 74 61  fd1a] \... -data
1f10: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
1f20: 68 65 78 20 62 30 34 36 34 66 66 32 32 31 31 30  hex b0464ff22110
1f30: 64 37 31 34 35 32 61 62 31 62 36 63 38 30 36 34  d71452ab1b6c8064
1f40: 62 37 30 36 32 36 38 61 32 64 38 34 39 36 30 37  b706268a2d849607
1f50: 63 37 33 34 61 65 32 30 63 31 64 34 66 35 35 63  c734ae20c1d4f55c
1f60: 32 62 39 38 61 34 61 62 62 37 64 62 31 37 35 39  2b98a4abb7db1759
1f70: 32 30 35 63 64 30 66 38 37 30 66 36 64 66 62 63  205cd0f870f6dfbc
1f80: 37 64 34 66 64 64 37 32 65 36 30 63 34 65 39 61  7d4fdd72e60c4e9a
1f90: 34 31 34 33 64 63 37 36 34 30 38 33 34 30 64 64  4143dc76408340dd
1fa0: 36 64 32 63 36 63 65 38 36 33 38 31 35 31 31 39  6d2c6ce863815119
1fb0: 33 30 39 39 37 61 33 30 34 63 66 38 39 30 65 65  30997a304cf890ee
1fc0: 63 33 33 37 31 37 36 63 39 35 62 38 33 34 31 38  c337176c95b83418
1fd0: 36 61 39 31 39 31 66 62 62 31 37 62 38 35 34 38  6a9191fbb17b8548
1fe0: 65 33 64 63 37 62 31 30 63 38 62 37 63 62 38 64  e3dc7b10c8b7cb8d
1ff0: 30 62 36 62 62 62 32 36 63 65 61 63 30 31 31 31  0b6bbb26ceac0111
2000: 34 37 37 63 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63  477c]]} \..-matc
2010: 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20  h exact -result 
2020: 65 36 32 63 64 65 61 63 34 33 36 36 37 37 34 39  e62cdeac43667749
2030: 37 30 31 33 31 34 63 35 34 36 66 37 37 38 61 34  701314c546f778a4
2040: 63 37 35 38 65 34 66 35 35 37 36 30 65 37 64 37  c758e4f55760e7d7
2050: 32 39 63 33 37 38 33 63 66 37 61 32 34 32 65 64  29c3783cf7a242ed
2060: 66 36 61 65 33 66 63 66 30 39 39 30 38 38 36 34  f6ae3fcf09908864
2070: 33 34 38 39 36 63 39 34 35 34 35 35 62 66 61 65  34896c945455bfae
2080: 30 65 35 36 37 34 61 61 30 36 65 65 36 66 62 31  0e5674aa06ee6fb1
2090: 35 31 32 64 39 34 64 66 32 63 61 63 32 34 34 37  512d94df2cac2447
20a0: 65 65 62 38 34 39 33 37 33 62 62 33 65 66 62 65  eeb849373bb3efbe
20b0: 37 62 62 38 64 36 36 63 38 61 37 65 65 35 35 39  7bb8d66c8a7ee559
20c0: 62 31 37 66 63 32 36 38 64 36 35 39 39 66 63 64  b17fc268d6599fcd
20d0: 65 66 37 34 35 37 63 64 62 64 65 35 62 39 63 35  ef7457cdbde5b9c5
20e0: 62 36 39 32 32 33 36 65 34 33 39 37 35 34 35 66  b692236e4397545f
20f0: 32 62 65 39 37 62 64 34 34 66 33 39 39 33 61 64  2be97bd44f3993ad
2100: 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20  ..tcltest::test 
2110: 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49  Symetric_Block_I
2120: 44 45 41 2d 4f 46 42 2d 31 2e 31 35 20 7b 45 6e  DEA-OFB-1.15 {En
2130: 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20  crypt IDEA-OFB} 
2140: 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20  \..-constraints 
2150: 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64  IDEA_OFB \..-bod
2160: 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65  y {binary encode
2170: 20 68 65 78 20 5b 74 6c 73 3a 3a 65 6e 63 72 79   hex [tls::encry
2180: 70 74 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d  pt -cipher IDEA-
2190: 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c  OFB -padding 0 \
21a0: 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79  ... -key [binary
21b0: 20 64 65 63 6f 64 65 20 68 65 78 20 30 39 66 32   decode hex 09f2
21c0: 31 36 66 66 37 38 64 66 65 34 31 39 64 66 63 65  16ff78dfe419dfce
21d0: 66 31 61 38 35 35 34 37 33 34 31 34 5d 20 5c 0a  f1a855473414] \.
21e0: 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64  .. -iv [binary d
21f0: 65 63 6f 64 65 20 68 65 78 20 37 32 32 31 37 34  ecode hex 722174
2200: 63 38 39 32 64 32 36 35 32 39 5d 20 5c 0a 09 09  c892d26529] \...
2210: 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64   -data [binary d
2220: 65 63 6f 64 65 20 68 65 78 20 31 31 66 34 33 35  ecode hex 11f435
2230: 65 37 65 33 36 35 36 66 63 66 61 38 65 30 64 66  e7e3656fcfa8e0df
2240: 32 33 30 33 31 31 63 61 32 31 30 35 34 65 38 34  230311ca21054e84
2250: 65 31 33 63 38 35 39 30 65 37 65 63 37 33 30 39  e13c8590e7ec7309
2260: 66 35 39 63 31 37 34 30 32 32 64 34 36 37 61 37  f59c174022d467a7
2270: 33 30 32 36 34 31 65 65 31 62 36 62 61 34 36 62  302641ee1b6ba46b
2280: 65 65 34 66 32 30 62 66 64 61 31 30 38 62 62 37  ee4f20bfda108bb7
2290: 38 39 38 32 66 36 37 30 62 30 35 37 64 66 62 66  8982f670b057dfbf
22a0: 65 34 39 64 61 39 63 66 61 65 38 38 34 39 30 63  e49da9cfae88490c
22b0: 65 31 37 32 34 31 34 30 32 62 32 30 64 32 66 63  e17241402b20d2fc
22c0: 65 62 34 37 36 64 33 61 34 32 34 65 36 63 34 30  eb476d3a424e6c40
22d0: 36 64 35 36 66 66 63 38 35 32 37 38 36 39 35 64  6d56ffc85278695d
22e0: 35 38 34 64 36 63 30 38 37 63 62 34 30 31 32 63  584d6c087cb4012c
22f0: 61 32 63 66 34 64 61 66 32 38 34 66 64 31 35 61  a2cf4daf284fd15a
2300: 63 31 66 32 65 31 38 33 38 31 34 39 35 37 65 39  c1f2e183814957e9
2310: 33 34 62 66 38 38 64 66 66 34 64 37 37 37 61 64  34bf88dff4d777ad
2320: 66 62 62 35 34 39 33 33 62 35 5d 5d 7d 20 5c 0a  fbb54933b5]]} \.
2330: 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72  .-match exact -r
2340: 65 73 75 6c 74 20 35 39 63 62 34 39 66 36 31 39  esult 59cb49f619
2350: 33 62 37 61 38 63 37 32 38 30 34 39 62 65 30 61  3b7a8c728049be0a
2360: 38 30 34 62 33 61 32 65 61 39 63 30 64 66 62 65  804b3a2ea9c0dfbe
2370: 38 34 66 38 32 62 35 62 30 34 33 39 65 33 33 65  84f82b5b0439e33e
2380: 30 37 33 31 36 38 66 39 30 30 35 33 30 39 34 63  073168f90053094c
2390: 33 37 61 62 33 63 65 33 34 62 37 61 62 66 62 36  37ab3ce34b7abfb6
23a0: 33 38 36 62 32 33 30 30 33 65 37 33 65 32 37 35  386b23003e73e275
23b0: 65 61 32 66 61 38 64 61 38 63 32 61 63 63 31 38  ea2fa8da8c2acc18
23c0: 33 31 34 66 66 64 63 64 38 63 30 35 31 32 62 65  314ffdcd8c0512be
23d0: 64 32 34 37 32 65 35 64 38 32 65 37 65 32 37 61  d2472e5d82e7e27a
23e0: 30 61 66 31 64 30 31 61 65 63 66 34 61 31 34 61  0af1d01aecf4a14a
23f0: 64 38 62 62 30 33 31 61 64 39 36 38 65 63 30 61  d8bb031ad968ec0a
2400: 61 63 63 39 64 37 35 39 61 61 37 36 63 35 38 63  acc9d759aa76c58c
2410: 37 34 34 30 30 66 65 64 35 33 36 63 37 34 38 32  74400fed536c7482
2420: 34 37 34 63 65 32 33 63 62 37 39 38 63 63 38 38  474ce23cb798cc88
2430: 38 35 37 31 33 64 31 61 33 32 63 31 37 34 65 66  85713d1a32c174ef
2440: 36 38 32 37 64 61 0a 0a 74 63 6c 74 65 73 74 3a  6827da..tcltest:
2450: 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42  :test Symetric_B
2460: 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e  lock_IDEA-OFB-1.
2470: 31 36 20 7b 44 65 63 72 79 70 74 20 49 44 45 41  16 {Decrypt IDEA
2480: 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72  -OFB} \..-constr
2490: 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c  aints IDEA_OFB \
24a0: 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20  ..-body {binary 
24b0: 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a  encode hex [tls:
24c0: 3a 64 65 63 72 79 70 74 20 2d 63 69 70 68 65 72  :decrypt -cipher
24d0: 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69   IDEA-OFB -paddi
24e0: 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b  ng 0 \... -key [
24f0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
2500: 78 20 30 39 66 32 31 36 66 66 37 38 64 66 65 34  x 09f216ff78dfe4
2510: 31 39 64 66 63 65 66 31 61 38 35 35 34 37 33 34  19dfcef1a8554734
2520: 31 34 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69  14] \... -iv [bi
2530: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
2540: 37 32 32 31 37 34 63 38 39 32 64 32 36 35 32 39  722174c892d26529
2550: 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69  ] \... -data [bi
2560: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
2570: 35 39 63 62 34 39 66 36 31 39 33 62 37 61 38 63  59cb49f6193b7a8c
2580: 37 32 38 30 34 39 62 65 30 61 38 30 34 62 33 61  728049be0a804b3a
2590: 32 65 61 39 63 30 64 66 62 65 38 34 66 38 32 62  2ea9c0dfbe84f82b
25a0: 35 62 30 34 33 39 65 33 33 65 30 37 33 31 36 38  5b0439e33e073168
25b0: 66 39 30 30 35 33 30 39 34 63 33 37 61 62 33 63  f90053094c37ab3c
25c0: 65 33 34 62 37 61 62 66 62 36 33 38 36 62 32 33  e34b7abfb6386b23
25d0: 30 30 33 65 37 33 65 32 37 35 65 61 32 66 61 38  003e73e275ea2fa8
25e0: 64 61 38 63 32 61 63 63 31 38 33 31 34 66 66 64  da8c2acc18314ffd
25f0: 63 64 38 63 30 35 31 32 62 65 64 32 34 37 32 65  cd8c0512bed2472e
2600: 35 64 38 32 65 37 65 32 37 61 30 61 66 31 64 30  5d82e7e27a0af1d0
2610: 31 61 65 63 66 34 61 31 34 61 64 38 62 62 30 33  1aecf4a14ad8bb03
2620: 31 61 64 39 36 38 65 63 30 61 61 63 63 39 64 37  1ad968ec0aacc9d7
2630: 35 39 61 61 37 36 63 35 38 63 37 34 34 30 30 66  59aa76c58c74400f
2640: 65 64 35 33 36 63 37 34 38 32 34 37 34 63 65 32  ed536c7482474ce2
2650: 33 63 62 37 39 38 63 63 38 38 38 35 37 31 33 64  3cb798cc8885713d
2660: 31 61 33 32 63 31 37 34 65 66 36 38 32 37 64 61  1a32c174ef6827da
2670: 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78  ]]} \..-match ex
2680: 61 63 74 20 2d 72 65 73 75 6c 74 20 31 31 66 34  act -result 11f4
2690: 33 35 65 37 65 33 36 35 36 66 63 66 61 38 65 30  35e7e3656fcfa8e0
26a0: 64 66 32 33 30 33 31 31 63 61 32 31 30 35 34 65  df230311ca21054e
26b0: 38 34 65 31 33 63 38 35 39 30 65 37 65 63 37 33  84e13c8590e7ec73
26c0: 30 39 66 35 39 63 31 37 34 30 32 32 64 34 36 37  09f59c174022d467
26d0: 61 37 33 30 32 36 34 31 65 65 31 62 36 62 61 34  a7302641ee1b6ba4
26e0: 36 62 65 65 34 66 32 30 62 66 64 61 31 30 38 62  6bee4f20bfda108b
26f0: 62 37 38 39 38 32 66 36 37 30 62 30 35 37 64 66  b78982f670b057df
2700: 62 66 65 34 39 64 61 39 63 66 61 65 38 38 34 39  bfe49da9cfae8849
2710: 30 63 65 31 37 32 34 31 34 30 32 62 32 30 64 32  0ce17241402b20d2
2720: 66 63 65 62 34 37 36 64 33 61 34 32 34 65 36 63  fceb476d3a424e6c
2730: 34 30 36 64 35 36 66 66 63 38 35 32 37 38 36 39  406d56ffc8527869
2740: 35 64 35 38 34 64 36 63 30 38 37 63 62 34 30 31  5d584d6c087cb401
2750: 32 63 61 32 63 66 34 64 61 66 32 38 34 66 64 31  2ca2cf4daf284fd1
2760: 35 61 63 31 66 32 65 31 38 33 38 31 34 39 35 37  5ac1f2e183814957
2770: 65 39 33 34 62 66 38 38 64 66 66 34 64 37 37 37  e934bf88dff4d777
2780: 61 64 66 62 62 35 34 39 33 33 62 35 0a 0a 74 63  adfbb54933b5..tc
2790: 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65  ltest::test Syme
27a0: 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d  tric_Block_IDEA-
27b0: 4f 46 42 2d 31 2e 31 37 20 7b 45 6e 63 72 79 70  OFB-1.17 {Encryp
27c0: 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d  t IDEA-OFB} \..-
27d0: 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41  constraints IDEA
27e0: 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62  _OFB \..-body {b
27f0: 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78  inary encode hex
2800: 20 5b 74 6c 73 3a 3a 65 6e 63 72 79 70 74 20 2d   [tls::encrypt -
2810: 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20  cipher IDEA-OFB 
2820: 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20  -padding 0 \... 
2830: 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63  -key [binary dec
2840: 6f 64 65 20 68 65 78 20 63 64 65 39 62 36 39 65  ode hex cde9b69e
2850: 65 61 32 62 36 61 35 35 38 38 34 35 37 65 33 35  ea2b6a5588457e35
2860: 65 30 61 30 38 38 30 33 5d 20 5c 0a 09 09 20 2d  e0a08803] \... -
2870: 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  iv [binary decod
2880: 65 20 68 65 78 20 35 32 33 32 33 62 35 34 64 36  e hex 52323b54d6
2890: 39 61 36 32 66 65 5d 20 5c 0a 09 09 20 2d 64 61  9a62fe] \... -da
28a0: 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ta [binary decod
28b0: 65 20 68 65 78 20 39 36 37 37 39 38 39 39 35 61  e hex 967798995a
28c0: 66 36 66 34 33 35 62 33 61 36 66 39 32 62 66 66  f6f435b3a6f92bff
28d0: 37 37 61 31 31 66 61 34 34 64 31 34 32 36 61 65  77a11fa44d1426ae
28e0: 30 66 36 65 37 64 62 61 66 61 63 32 37 62 31 32  0f6e7dbafac27b12
28f0: 33 63 35 66 63 34 31 39 62 65 35 32 63 30 65 61  3c5fc419be52c0ea
2900: 34 31 32 63 34 62 33 63 61 63 30 35 61 65 38 39  412c4b3cac05ae89
2910: 61 34 63 30 63 65 36 66 35 65 39 31 61 34 35 36  a4c0ce6f5e91a456
2920: 62 31 62 64 65 64 35 33 37 30 61 31 32 33 34 63  b1bded5370a1234c
2930: 66 36 66 36 61 62 35 64 30 32 35 33 35 30 37 62  f6f6ab5d0253507b
2940: 63 36 66 33 66 30 35 37 33 61 62 39 37 35 38 35  c6f3f0573ab97585
2950: 62 36 37 31 30 37 64 65 63 30 35 39 38 31 32 33  b67107dec0598123
2960: 32 33 65 30 32 31 65 33 34 31 61 64 38 33 39 65  23e021e341ad839e
2970: 61 39 65 33 64 30 32 61 65 63 61 34 33 33 35 36  a9e3d02aeca43356
2980: 61 64 64 34 38 63 63 65 66 38 31 66 36 39 33 65  add48ccef81f693e
2990: 64 35 33 64 33 32 62 61 31 63 37 34 61 33 35 65  d53d32ba1c74a35e
29a0: 38 61 35 66 37 66 33 31 31 35 65 66 38 33 34 66  8a5f7f3115ef834f
29b0: 37 64 61 66 39 39 34 38 32 34 34 63 34 66 63 33  7daf9948244c4fc3
29c0: 31 66 35 34 38 37 36 37 38 64 33 65 37 30 66 62  1f5487678d3e70fb
29d0: 32 37 61 62 62 35 5d 5d 7d 20 5c 0a 09 2d 6d 61  27abb5]]} \..-ma
29e0: 74 63 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c  tch exact -resul
29f0: 74 20 64 64 31 32 61 62 64 62 33 64 35 65 63 30  t dd12abdb3d5ec0
2a00: 65 35 36 35 36 35 66 39 63 39 64 32 38 31 30 39  e56565f9c9d28109
2a10: 35 63 64 39 37 62 38 64 63 30 35 66 32 33 30 64  5cd97b8dc05f230d
2a20: 32 33 65 66 30 65 64 36 37 31 61 62 66 65 35 65  23ef0ed671abfe5e
2a30: 62 39 63 66 61 39 62 35 62 37 61 63 61 61 64 34  b9cfa9b5b7acaad4
2a40: 66 32 65 30 30 66 30 33 31 39 64 65 32 66 61 39  f2e00f0319de2fa9
2a50: 30 62 61 61 37 35 37 62 33 66 39 66 39 36 64 66  0baa757b3f9f96df
2a60: 37 33 35 32 33 33 65 34 33 33 63 30 62 38 34 35  735233e433c0b845
2a70: 31 64 62 66 38 34 34 36 35 63 66 36 64 32 36 65  1dbf84465cf6d26e
2a80: 33 30 31 39 38 63 62 62 31 63 36 65 31 30 30 38  30198cbb1c6e1008
2a90: 32 32 61 65 64 34 39 36 39 30 64 62 31 36 33 38  22aed49690db1638
2aa0: 65 66 62 31 61 33 65 39 34 30 33 39 62 38 33 64  efb1a3e94039b83d
2ab0: 65 37 65 31 61 62 39 33 33 39 66 61 33 31 65 39  e7e1ab9339fa31e9
2ac0: 33 34 34 30 64 61 36 31 63 34 61 38 31 34 39 31  3440da61c4a81491
2ad0: 34 63 31 36 37 34 32 34 37 30 34 32 38 38 35 38  4c16742470428858
2ae0: 33 33 36 64 64 32 39 34 34 65 61 66 38 31 65 32  336dd2944eaf81e2
2af0: 62 39 33 62 62 32 37 39 34 35 34 61 34 61 31 65  b93bb279454a4a1e
2b00: 30 32 64 65 37 66 38 32 36 35 37 65 66 33 32 39  02de7f82657ef329
2b10: 30 34 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73  04..tcltest::tes
2b20: 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b  t Symetric_Block
2b30: 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 31 38 20 7b  _IDEA-OFB-1.18 {
2b40: 44 65 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42  Decrypt IDEA-OFB
2b50: 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74  } \..-constraint
2b60: 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62  s IDEA_OFB \..-b
2b70: 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f  ody {binary enco
2b80: 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 64 65 63  de hex [tls::dec
2b90: 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44 45  rypt -cipher IDE
2ba0: 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30  A-OFB -padding 0
2bb0: 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61   \... -key [bina
2bc0: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 63 64  ry decode hex cd
2bd0: 65 39 62 36 39 65 65 61 32 62 36 61 35 35 38 38  e9b69eea2b6a5588
2be0: 34 35 37 65 33 35 65 30 61 30 38 38 30 33 5d 20  457e35e0a08803] 
2bf0: 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79  \... -iv [binary
2c00: 20 64 65 63 6f 64 65 20 68 65 78 20 35 32 33 32   decode hex 5232
2c10: 33 62 35 34 64 36 39 61 36 32 66 65 5d 20 5c 0a  3b54d69a62fe] \.
2c20: 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79  .. -data [binary
2c30: 20 64 65 63 6f 64 65 20 68 65 78 20 64 64 31 32   decode hex dd12
2c40: 61 62 64 62 33 64 35 65 63 30 65 35 36 35 36 35  abdb3d5ec0e56565
2c50: 66 39 63 39 64 32 38 31 30 39 35 63 64 39 37 62  f9c9d281095cd97b
2c60: 38 64 63 30 35 66 32 33 30 64 32 33 65 66 30 65  8dc05f230d23ef0e
2c70: 64 36 37 31 61 62 66 65 35 65 62 39 63 66 61 39  d671abfe5eb9cfa9
2c80: 62 35 62 37 61 63 61 61 64 34 66 32 65 30 30 66  b5b7acaad4f2e00f
2c90: 30 33 31 39 64 65 32 66 61 39 30 62 61 61 37 35  0319de2fa90baa75
2ca0: 37 62 33 66 39 66 39 36 64 66 37 33 35 32 33 33  7b3f9f96df735233
2cb0: 65 34 33 33 63 30 62 38 34 35 31 64 62 66 38 34  e433c0b8451dbf84
2cc0: 34 36 35 63 66 36 64 32 36 65 33 30 31 39 38 63  465cf6d26e30198c
2cd0: 62 62 31 63 36 65 31 30 30 38 32 32 61 65 64 34  bb1c6e100822aed4
2ce0: 39 36 39 30 64 62 31 36 33 38 65 66 62 31 61 33  9690db1638efb1a3
2cf0: 65 39 34 30 33 39 62 38 33 64 65 37 65 31 61 62  e94039b83de7e1ab
2d00: 39 33 33 39 66 61 33 31 65 39 33 34 34 30 64 61  9339fa31e93440da
2d10: 36 31 63 34 61 38 31 34 39 31 34 63 31 36 37 34  61c4a814914c1674
2d20: 32 34 37 30 34 32 38 38 35 38 33 33 36 64 64 32  2470428858336dd2
2d30: 39 34 34 65 61 66 38 31 65 32 62 39 33 62 62 32  944eaf81e2b93bb2
2d40: 37 39 34 35 34 61 34 61 31 65 30 32 64 65 37 66  79454a4a1e02de7f
2d50: 38 32 36 35 37 65 66 33 32 39 30 34 5d 5d 7d 20  82657ef32904]]} 
2d60: 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20  \..-match exact 
2d70: 2d 72 65 73 75 6c 74 20 39 36 37 37 39 38 39 39  -result 96779899
2d80: 35 61 66 36 66 34 33 35 62 33 61 36 66 39 32 62  5af6f435b3a6f92b
2d90: 66 66 37 37 61 31 31 66 61 34 34 64 31 34 32 36  ff77a11fa44d1426
2da0: 61 65 30 66 36 65 37 64 62 61 66 61 63 32 37 62  ae0f6e7dbafac27b
2db0: 31 32 33 63 35 66 63 34 31 39 62 65 35 32 63 30  123c5fc419be52c0
2dc0: 65 61 34 31 32 63 34 62 33 63 61 63 30 35 61 65  ea412c4b3cac05ae
2dd0: 38 39 61 34 63 30 63 65 36 66 35 65 39 31 61 34  89a4c0ce6f5e91a4
2de0: 35 36 62 31 62 64 65 64 35 33 37 30 61 31 32 33  56b1bded5370a123
2df0: 34 63 66 36 66 36 61 62 35 64 30 32 35 33 35 30  4cf6f6ab5d025350
2e00: 37 62 63 36 66 33 66 30 35 37 33 61 62 39 37 35  7bc6f3f0573ab975
2e10: 38 35 62 36 37 31 30 37 64 65 63 30 35 39 38 31  85b67107dec05981
2e20: 32 33 32 33 65 30 32 31 65 33 34 31 61 64 38 33  2323e021e341ad83
2e30: 39 65 61 39 65 33 64 30 32 61 65 63 61 34 33 33  9ea9e3d02aeca433
2e40: 35 36 61 64 64 34 38 63 63 65 66 38 31 66 36 39  56add48ccef81f69
2e50: 33 65 64 35 33 64 33 32 62 61 31 63 37 34 61 33  3ed53d32ba1c74a3
2e60: 35 65 38 61 35 66 37 66 33 31 31 35 65 66 38 33  5e8a5f7f3115ef83
2e70: 34 66 37 64 61 66 39 39 34 38 32 34 34 63 34 66  4f7daf9948244c4f
2e80: 63 33 31 66 35 34 38 37 36 37 38 64 33 65 37 30  c31f5487678d3e70
2e90: 66 62 32 37 61 62 62 35 0a 0a 74 63 6c 74 65 73  fb27abb5..tcltes
2ea0: 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63  t::test Symetric
2eb0: 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d  _Block_IDEA-OFB-
2ec0: 31 2e 31 39 20 7b 45 6e 63 72 79 70 74 20 49 44  1.19 {Encrypt ID
2ed0: 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73  EA-OFB} \..-cons
2ee0: 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42  traints IDEA_OFB
2ef0: 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72   \..-body {binar
2f00: 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c  y encode hex [tl
2f10: 73 3a 3a 65 6e 63 72 79 70 74 20 2d 63 69 70 68  s::encrypt -ciph
2f20: 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64  er IDEA-OFB -pad
2f30: 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79  ding 0 \... -key
2f40: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
2f50: 68 65 78 20 39 33 39 61 61 63 37 31 65 33 33 37  hex 939aac71e337
2f60: 37 30 39 38 35 35 37 31 35 61 35 37 65 33 61 34  709855715a57e3a4
2f70: 36 34 38 66 5d 20 5c 0a 09 09 20 2d 69 76 20 5b  648f] \... -iv [
2f80: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
2f90: 78 20 34 39 33 35 30 39 62 35 36 61 39 32 66 31  x 493509b56a92f1
2fa0: 34 30 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b  40] \... -data [
2fb0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
2fc0: 78 20 39 63 32 32 65 66 64 64 63 37 64 65 34 39  x 9c22efddc7de49
2fd0: 36 61 39 31 36 64 31 35 64 37 31 30 64 65 33 37  6a916d15d710de37
2fe0: 34 64 35 37 34 37 38 31 32 36 65 64 36 34 63 39  4d57478126ed64c9
2ff0: 61 64 37 65 38 32 33 65 32 34 64 31 39 62 66 63  ad7e823e24d19bfc
3000: 30 63 66 61 63 33 64 64 61 30 64 31 63 32 39 32  0cfac3dda0d1c292
3010: 61 33 61 32 30 33 66 33 35 62 32 36 61 64 39 34  a3a203f35b26ad94
3020: 64 65 62 32 30 66 39 39 38 63 61 66 34 31 63 62  deb20f998caf41cb
3030: 64 64 34 61 30 38 65 62 35 64 36 63 66 62 34 36  dd4a08eb5d6cfb46
3040: 66 34 65 64 65 34 38 39 36 62 30 35 36 39 64 37  f4ede4896b0569d7
3050: 32 63 30 33 65 63 31 39 34 39 34 31 61 66 39 35  2c03ec194941af95
3060: 63 30 35 37 33 63 63 33 66 65 38 66 30 34 35 62  c0573cc3fe8f045b
3070: 61 31 39 39 34 36 62 33 38 32 38 30 33 32 34 38  a19946b382803248
3080: 66 33 64 64 34 66 39 61 34 35 34 62 31 61 33 65  f3dd4f9a454b1a3e
3090: 38 65 31 61 66 30 32 65 61 38 34 38 32 64 36 33  8e1af02ea8482d63
30a0: 37 64 61 63 39 36 61 36 38 32 37 35 66 34 61 33  7dac96a68275f4a3
30b0: 38 32 64 33 30 32 33 66 39 64 66 34 38 39 32 62  82d3023f9df4892b
30c0: 39 30 33 32 63 61 62 39 33 37 38 62 31 63 65 66  9032cab9378b1cef
30d0: 35 30 35 31 64 36 64 62 38 31 32 32 36 66 32 35  5051d6db81226f25
30e0: 39 64 31 62 65 34 65 62 32 33 34 39 35 61 63 38  9d1be4eb23495ac8
30f0: 30 37 36 30 30 35 33 36 62 35 62 30 34 38 31 37  07600536b5b04817
3100: 35 34 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20  54]]} \..-match 
3110: 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 33 63  exact -result 3c
3120: 65 31 37 32 63 61 38 32 65 30 61 36 34 39 65 31  e172ca82e0a649e1
3130: 38 32 62 33 63 34 62 64 32 33 35 66 35 35 39 33  82b3c4bd235f5593
3140: 36 64 33 34 33 38 31 30 62 63 62 62 36 65 35 33  6d343810bcbb6e53
3150: 66 36 66 36 39 33 34 63 36 63 61 65 38 63 64 35  f6f6934c6cae8cd5
3160: 34 32 31 32 65 39 61 63 62 34 33 37 39 63 39 39  4212e9acb4379c99
3170: 64 38 33 63 36 65 63 62 37 32 64 39 31 35 34 30  d83c6ecb72d91540
3180: 30 62 38 36 66 39 38 34 64 36 37 66 33 39 34 62  0b86f984d67f394b
3190: 37 32 66 63 64 61 64 36 65 61 66 62 35 36 32 39  72fcdad6eafb5629
31a0: 38 64 61 38 65 64 65 34 63 65 65 61 35 63 31 63  8da8ede4ceea5c1c
31b0: 63 33 65 35 34 64 36 64 36 35 30 35 66 64 64 62  c3e54d6d6505fddb
31c0: 32 38 35 37 34 37 30 31 38 34 61 64 66 35 30 62  2857470184adf50b
31d0: 32 38 37 62 64 33 64 62 36 34 62 37 33 64 61 30  287bd3db64b73da0
31e0: 35 35 38 34 66 37 38 36 38 39 62 36 64 31 32 31  5584f78689b6d121
31f0: 35 61 32 36 65 62 66 31 38 65 66 38 33 66 65 33  5a26ebf18ef83fe3
3200: 38 39 37 30 62 62 32 33 33 34 36 61 30 61 36 33  8970bb23346a0a63
3210: 38 30 66 37 37 61 66 64 32 30 36 33 33 33 38 32  80f77afd20633382
3220: 31 36 34 36 34 36 33 61 39 65 37 32 31 32 34 62  1646463a9e72124b
3230: 64 61 66 38 63 39 62 33 30 34 36 63 66 62 35 61  daf8c9b3046cfb5a
3240: 34 38 64 62 33 37 36 38 36 38 35 39 66 37 39 30  48db37686859f790
3250: 39 38 63 62 38 30 36 31 33 35 62 65 61 30 0a 0a  98cb806135bea0..
3260: 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79  tcltest::test Sy
3270: 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45  metric_Block_IDE
3280: 41 2d 4f 46 42 2d 31 2e 32 30 20 7b 44 65 63 72  A-OFB-1.20 {Decr
3290: 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a  ypt IDEA-OFB} \.
32a0: 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44  .-constraints ID
32b0: 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20  EA_OFB \..-body 
32c0: 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68  {binary encode h
32d0: 65 78 20 5b 74 6c 73 3a 3a 64 65 63 72 79 70 74  ex [tls::decrypt
32e0: 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46   -cipher IDEA-OF
32f0: 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09  B -padding 0 \..
3300: 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64  . -key [binary d
3310: 65 63 6f 64 65 20 68 65 78 20 39 33 39 61 61 63  ecode hex 939aac
3320: 37 31 65 33 33 37 37 30 39 38 35 35 37 31 35 61  71e337709855715a
3330: 35 37 65 33 61 34 36 34 38 66 5d 20 5c 0a 09 09  57e3a4648f] \...
3340: 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63   -iv [binary dec
3350: 6f 64 65 20 68 65 78 20 34 39 33 35 30 39 62 35  ode hex 493509b5
3360: 36 61 39 32 66 31 34 30 5d 20 5c 0a 09 09 20 2d  6a92f140] \... -
3370: 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63  data [binary dec
3380: 6f 64 65 20 68 65 78 20 33 63 65 31 37 32 63 61  ode hex 3ce172ca
3390: 38 32 65 30 61 36 34 39 65 31 38 32 62 33 63 34  82e0a649e182b3c4
33a0: 62 64 32 33 35 66 35 35 39 33 36 64 33 34 33 38  bd235f55936d3438
33b0: 31 30 62 63 62 62 36 65 35 33 66 36 66 36 39 33  10bcbb6e53f6f693
33c0: 34 63 36 63 61 65 38 63 64 35 34 32 31 32 65 39  4c6cae8cd54212e9
33d0: 61 63 62 34 33 37 39 63 39 39 64 38 33 63 36 65  acb4379c99d83c6e
33e0: 63 62 37 32 64 39 31 35 34 30 30 62 38 36 66 39  cb72d915400b86f9
33f0: 38 34 64 36 37 66 33 39 34 62 37 32 66 63 64 61  84d67f394b72fcda
3400: 64 36 65 61 66 62 35 36 32 39 38 64 61 38 65 64  d6eafb56298da8ed
3410: 65 34 63 65 65 61 35 63 31 63 63 33 65 35 34 64  e4ceea5c1cc3e54d
3420: 36 64 36 35 30 35 66 64 64 62 32 38 35 37 34 37  6d6505fddb285747
3430: 30 31 38 34 61 64 66 35 30 62 32 38 37 62 64 33  0184adf50b287bd3
3440: 64 62 36 34 62 37 33 64 61 30 35 35 38 34 66 37  db64b73da05584f7
3450: 38 36 38 39 62 36 64 31 32 31 35 61 32 36 65 62  8689b6d1215a26eb
3460: 66 31 38 65 66 38 33 66 65 33 38 39 37 30 62 62  f18ef83fe38970bb
3470: 32 33 33 34 36 61 30 61 36 33 38 30 66 37 37 61  23346a0a6380f77a
3480: 66 64 32 30 36 33 33 33 38 32 31 36 34 36 34 36  fd20633382164646
3490: 33 61 39 65 37 32 31 32 34 62 64 61 66 38 63 39  3a9e72124bdaf8c9
34a0: 62 33 30 34 36 63 66 62 35 61 34 38 64 62 33 37  b3046cfb5a48db37
34b0: 36 38 36 38 35 39 66 37 39 30 39 38 63 62 38 30  686859f79098cb80
34c0: 36 31 33 35 62 65 61 30 5d 5d 7d 20 5c 0a 09 2d  6135bea0]]} \..-
34d0: 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73  match exact -res
34e0: 75 6c 74 20 39 63 32 32 65 66 64 64 63 37 64 65  ult 9c22efddc7de
34f0: 34 39 36 61 39 31 36 64 31 35 64 37 31 30 64 65  496a916d15d710de
3500: 33 37 34 64 35 37 34 37 38 31 32 36 65 64 36 34  374d57478126ed64
3510: 63 39 61 64 37 65 38 32 33 65 32 34 64 31 39 62  c9ad7e823e24d19b
3520: 66 63 30 63 66 61 63 33 64 64 61 30 64 31 63 32  fc0cfac3dda0d1c2
3530: 39 32 61 33 61 32 30 33 66 33 35 62 32 36 61 64  92a3a203f35b26ad
3540: 39 34 64 65 62 32 30 66 39 39 38 63 61 66 34 31  94deb20f998caf41
3550: 63 62 64 64 34 61 30 38 65 62 35 64 36 63 66 62  cbdd4a08eb5d6cfb
3560: 34 36 66 34 65 64 65 34 38 39 36 62 30 35 36 39  46f4ede4896b0569
3570: 64 37 32 63 30 33 65 63 31 39 34 39 34 31 61 66  d72c03ec194941af
3580: 39 35 63 30 35 37 33 63 63 33 66 65 38 66 30 34  95c0573cc3fe8f04
3590: 35 62 61 31 39 39 34 36 62 33 38 32 38 30 33 32  5ba19946b3828032
35a0: 34 38 66 33 64 64 34 66 39 61 34 35 34 62 31 61  48f3dd4f9a454b1a
35b0: 33 65 38 65 31 61 66 30 32 65 61 38 34 38 32 64  3e8e1af02ea8482d
35c0: 36 33 37 64 61 63 39 36 61 36 38 32 37 35 66 34  637dac96a68275f4
35d0: 61 33 38 32 64 33 30 32 33 66 39 64 66 34 38 39  a382d3023f9df489
35e0: 32 62 39 30 33 32 63 61 62 39 33 37 38 62 31 63  2b9032cab9378b1c
35f0: 65 66 35 30 35 31 64 36 64 62 38 31 32 32 36 66  ef5051d6db81226f
3600: 32 35 39 64 31 62 65 34 65 62 32 33 34 39 35 61  259d1be4eb23495a
3610: 63 38 30 37 36 30 30 35 33 36 62 35 62 30 34 38  c807600536b5b048
3620: 31 37 35 34 0a 0a 74 63 6c 74 65 73 74 3a 3a 74  1754..tcltest::t
3630: 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f  est Symetric_Blo
3640: 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 32 31  ck_IDEA-OFB-1.21
3650: 20 7b 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f   {Encrypt IDEA-O
3660: 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69  FB} \..-constrai
3670: 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09  nts IDEA_OFB \..
3680: 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e  -body {binary en
3690: 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65  code hex [tls::e
36a0: 6e 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49  ncrypt -cipher I
36b0: 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67  DEA-OFB -padding
36c0: 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69   0 \... -key [bi
36d0: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
36e0: 38 33 36 38 31 38 39 64 34 31 65 61 61 32 30 64  8368189d41eaa20d
36f0: 30 36 61 33 61 32 64 32 61 39 31 65 34 33 66 37  06a3a2d2a91e43f7
3700: 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61  ] \... -iv [bina
3710: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 63 66  ry decode hex cf
3720: 30 34 61 63 30 65 34 37 33 33 39 35 32 62 5d 20  04ac0e4733952b] 
3730: 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61  \... -data [bina
3740: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 36 39  ry decode hex 69
3750: 36 63 61 35 37 33 33 39 38 34 30 66 62 33 63 31  6ca57339840fb3c1
3760: 35 30 65 30 63 31 31 31 64 39 65 31 33 65 5d 5d  50e0c111d9e13e]]
3770: 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63  } \..-match exac
3780: 74 20 2d 72 65 73 75 6c 74 20 39 33 65 30 37 34  t -result 93e074
3790: 64 61 31 36 35 62 62 33 36 31 38 30 34 66 39 31  da165bb361804f91
37a0: 38 33 66 63 63 66 30 39 61 37 0a 0a 74 63 6c 74  83fccf09a7..tclt
37b0: 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72  est::test Symetr
37c0: 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46  ic_Block_IDEA-OF
37d0: 42 2d 31 2e 32 32 20 7b 44 65 63 72 79 70 74 20  B-1.22 {Decrypt 
37e0: 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f  IDEA-OFB} \..-co
37f0: 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f  nstraints IDEA_O
3800: 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e  FB \..-body {bin
3810: 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b  ary encode hex [
3820: 74 6c 73 3a 3a 64 65 63 72 79 70 74 20 2d 63 69  tls::decrypt -ci
3830: 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70  pher IDEA-OFB -p
3840: 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b  adding 0 \... -k
3850: 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ey [binary decod
3860: 65 20 68 65 78 20 38 33 36 38 31 38 39 64 34 31  e hex 8368189d41
3870: 65 61 61 32 30 64 30 36 61 33 61 32 64 32 61 39  eaa20d06a3a2d2a9
3880: 31 65 34 33 66 37 5d 20 5c 0a 09 09 20 2d 69 76  1e43f7] \... -iv
3890: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
38a0: 68 65 78 20 63 66 30 34 61 63 30 65 34 37 33 33  hex cf04ac0e4733
38b0: 39 35 32 62 5d 20 5c 0a 09 09 20 2d 64 61 74 61  952b] \... -data
38c0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
38d0: 68 65 78 20 39 33 65 30 37 34 64 61 31 36 35 62  hex 93e074da165b
38e0: 62 33 36 31 38 30 34 66 39 31 38 33 66 63 63 66  b361804f9183fccf
38f0: 30 39 61 37 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63  09a7]]} \..-matc
3900: 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20  h exact -result 
3910: 36 39 36 63 61 35 37 33 33 39 38 34 30 66 62 33  696ca57339840fb3
3920: 63 31 35 30 65 30 63 31 31 31 64 39 65 31 33 65  c150e0c111d9e13e
3930: 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20  ..tcltest::test 
3940: 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49  Symetric_Block_I
3950: 44 45 41 2d 4f 46 42 2d 31 2e 32 33 20 7b 45 6e  DEA-OFB-1.23 {En
3960: 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20  crypt IDEA-OFB} 
3970: 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20  \..-constraints 
3980: 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64  IDEA_OFB \..-bod
3990: 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65  y {binary encode
39a0: 20 68 65 78 20 5b 74 6c 73 3a 3a 65 6e 63 72 79   hex [tls::encry
39b0: 70 74 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d  pt -cipher IDEA-
39c0: 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c  OFB -padding 0 \
39d0: 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79  ... -key [binary
39e0: 20 64 65 63 6f 64 65 20 68 65 78 20 35 31 32 34   decode hex 5124
39f0: 63 36 66 64 62 30 38 35 36 64 65 64 37 36 61 66  c6fdb0856ded76af
3a00: 62 36 66 65 62 64 61 61 39 38 31 65 5d 20 5c 0a  b6febdaa981e] \.
3a10: 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64  .. -iv [binary d
3a20: 65 63 6f 64 65 20 68 65 78 20 39 33 37 65 62 64  ecode hex 937ebd
3a30: 65 65 63 33 37 39 36 38 35 61 5d 20 5c 0a 09 09  eec379685a] \...
3a40: 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64   -data [binary d
3a50: 65 63 6f 64 65 20 68 65 78 20 35 61 35 39 32 38  ecode hex 5a5928
3a60: 64 64 30 39 65 37 38 61 32 31 32 35 36 65 61 64  dd09e78a21256ead
3a70: 62 30 36 32 36 33 30 61 33 66 30 62 34 37 63 61  b062630a3f0b47ca
3a80: 32 33 37 36 63 63 61 65 33 31 34 39 34 38 31 34  2376ccae31494814
3a90: 33 66 66 66 32 35 31 32 64 34 5d 5d 7d 20 5c 0a  3fff2512d4]]} \.
3aa0: 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72  .-match exact -r
3ab0: 65 73 75 6c 74 20 34 38 37 36 39 38 30 63 34 34  esult 4876980c44
3ac0: 30 31 61 61 64 31 36 62 33 65 31 65 61 62 66 66  01aad16b3e1eabff
3ad0: 39 36 30 37 36 39 61 31 62 63 38 34 30 35 61 39  960769a1bc8405a9
3ae0: 38 35 64 61 64 63 30 38 32 38 32 64 30 66 66 36  85dadc08282d0ff6
3af0: 37 34 65 34 66 32 0a 0a 74 63 6c 74 65 73 74 3a  74e4f2..tcltest:
3b00: 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42  :test Symetric_B
3b10: 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e  lock_IDEA-OFB-1.
3b20: 32 34 20 7b 44 65 63 72 79 70 74 20 49 44 45 41  24 {Decrypt IDEA
3b30: 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72  -OFB} \..-constr
3b40: 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c  aints IDEA_OFB \
3b50: 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20  ..-body {binary 
3b60: 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a  encode hex [tls:
3b70: 3a 64 65 63 72 79 70 74 20 2d 63 69 70 68 65 72  :decrypt -cipher
3b80: 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69   IDEA-OFB -paddi
3b90: 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b  ng 0 \... -key [
3ba0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
3bb0: 78 20 35 31 32 34 63 36 66 64 62 30 38 35 36 64  x 5124c6fdb0856d
3bc0: 65 64 37 36 61 66 62 36 66 65 62 64 61 61 39 38  ed76afb6febdaa98
3bd0: 31 65 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69  1e] \... -iv [bi
3be0: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
3bf0: 39 33 37 65 62 64 65 65 63 33 37 39 36 38 35 61  937ebdeec379685a
3c00: 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69  ] \... -data [bi
3c10: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
3c20: 34 38 37 36 39 38 30 63 34 34 30 31 61 61 64 31  4876980c4401aad1
3c30: 36 62 33 65 31 65 61 62 66 66 39 36 30 37 36 39  6b3e1eabff960769
3c40: 61 31 62 63 38 34 30 35 61 39 38 35 64 61 64 63  a1bc8405a985dadc
3c50: 30 38 32 38 32 64 30 66 66 36 37 34 65 34 66 32  08282d0ff674e4f2
3c60: 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78  ]]} \..-match ex
3c70: 61 63 74 20 2d 72 65 73 75 6c 74 20 35 61 35 39  act -result 5a59
3c80: 32 38 64 64 30 39 65 37 38 61 32 31 32 35 36 65  28dd09e78a21256e
3c90: 61 64 62 30 36 32 36 33 30 61 33 66 30 62 34 37  adb062630a3f0b47
3ca0: 63 61 32 33 37 36 63 63 61 65 33 31 34 39 34 38  ca2376ccae314948
3cb0: 31 34 33 66 66 66 32 35 31 32 64 34 0a 0a 74 63  143fff2512d4..tc
3cc0: 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65  ltest::test Syme
3cd0: 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d  tric_Block_IDEA-
3ce0: 4f 46 42 2d 31 2e 32 35 20 7b 45 6e 63 72 79 70  OFB-1.25 {Encryp
3cf0: 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d  t IDEA-OFB} \..-
3d00: 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41  constraints IDEA
3d10: 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62  _OFB \..-body {b
3d20: 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78  inary encode hex
3d30: 20 5b 74 6c 73 3a 3a 65 6e 63 72 79 70 74 20 2d   [tls::encrypt -
3d40: 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20  cipher IDEA-OFB 
3d50: 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20  -padding 0 \... 
3d60: 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63  -key [binary dec
3d70: 6f 64 65 20 68 65 78 20 36 61 38 66 36 34 38 37  ode hex 6a8f6487
3d80: 65 37 36 30 35 38 62 63 35 61 31 32 36 32 37 36  e76058bc5a126276
3d90: 65 34 38 66 64 64 37 37 5d 20 5c 0a 09 09 20 2d  e48fdd77] \... -
3da0: 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  iv [binary decod
3db0: 65 20 68 65 78 20 36 65 37 35 64 38 62 38 61 63  e hex 6e75d8b8ac
3dc0: 30 39 37 36 31 34 5d 20 5c 0a 09 09 20 2d 64 61  097614] \... -da
3dd0: 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ta [binary decod
3de0: 65 20 68 65 78 20 34 32 34 64 64 63 33 34 33 30  e hex 424ddc3430
3df0: 36 37 36 31 32 66 64 62 34 32 36 39 32 30 66 34  67612fdb426920f4
3e00: 30 61 62 34 64 38 32 65 33 64 34 66 39 34 38 35  0ab4d82e3d4f9485
3e10: 62 30 37 66 65 66 39 31 36 31 37 35 35 36 64 33  b07fef91617556d3
3e20: 30 39 33 38 37 34 38 34 30 65 38 31 31 30 66 66  093874840e8110ff
3e30: 33 37 35 62 37 61 36 38 66 39 38 63 34 37 31 63  375b7a68f98c471c
3e40: 61 31 30 61 63 63 5d 5d 7d 20 5c 0a 09 2d 6d 61  a10acc]]} \..-ma
3e50: 74 63 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c  tch exact -resul
3e60: 74 20 39 34 38 61 35 39 63 64 34 61 63 32 39 32  t 948a59cd4ac292
3e70: 37 34 33 37 30 38 65 37 33 30 39 62 39 38 39 33  743708e7309b9893
3e80: 66 62 65 62 61 38 33 32 61 39 39 39 36 65 63 63  fbeba832a9996ecc
3e90: 63 63 31 33 61 38 63 63 31 37 61 37 37 31 31 66  cc13a8cc17a7711f
3ea0: 30 30 38 35 38 65 35 65 33 64 30 34 63 30 36 33  00858e5e3d04c063
3eb0: 35 33 37 31 31 39 31 33 35 36 65 62 35 38 66 37  5371191356eb58f7
3ec0: 38 64 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73  8d..tcltest::tes
3ed0: 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b  t Symetric_Block
3ee0: 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 32 36 20 7b  _IDEA-OFB-1.26 {
3ef0: 44 65 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42  Decrypt IDEA-OFB
3f00: 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74  } \..-constraint
3f10: 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62  s IDEA_OFB \..-b
3f20: 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f  ody {binary enco
3f30: 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 64 65 63  de hex [tls::dec
3f40: 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44 45  rypt -cipher IDE
3f50: 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30  A-OFB -padding 0
3f60: 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61   \... -key [bina
3f70: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 36 61  ry decode hex 6a
3f80: 38 66 36 34 38 37 65 37 36 30 35 38 62 63 35 61  8f6487e76058bc5a
3f90: 31 32 36 32 37 36 65 34 38 66 64 64 37 37 5d 20  126276e48fdd77] 
3fa0: 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79  \... -iv [binary
3fb0: 20 64 65 63 6f 64 65 20 68 65 78 20 36 65 37 35   decode hex 6e75
3fc0: 64 38 62 38 61 63 30 39 37 36 31 34 5d 20 5c 0a  d8b8ac097614] \.
3fd0: 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79  .. -data [binary
3fe0: 20 64 65 63 6f 64 65 20 68 65 78 20 39 34 38 61   decode hex 948a
3ff0: 35 39 63 64 34 61 63 32 39 32 37 34 33 37 30 38  59cd4ac292743708
4000: 65 37 33 30 39 62 39 38 39 33 66 62 65 62 61 38  e7309b9893fbeba8
4010: 33 32 61 39 39 39 36 65 63 63 63 63 31 33 61 38  32a9996ecccc13a8
4020: 63 63 31 37 61 37 37 31 31 66 30 30 38 35 38 65  cc17a7711f00858e
4030: 35 65 33 64 30 34 63 30 36 33 35 33 37 31 31 39  5e3d04c063537119
4040: 31 33 35 36 65 62 35 38 66 37 38 64 5d 5d 7d 20  1356eb58f78d]]} 
4050: 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20  \..-match exact 
4060: 2d 72 65 73 75 6c 74 20 34 32 34 64 64 63 33 34  -result 424ddc34
4070: 33 30 36 37 36 31 32 66 64 62 34 32 36 39 32 30  3067612fdb426920
4080: 66 34 30 61 62 34 64 38 32 65 33 64 34 66 39 34  f40ab4d82e3d4f94
4090: 38 35 62 30 37 66 65 66 39 31 36 31 37 35 35 36  85b07fef91617556
40a0: 64 33 30 39 33 38 37 34 38 34 30 65 38 31 31 30  d3093874840e8110
40b0: 66 66 33 37 35 62 37 61 36 38 66 39 38 63 34 37  ff375b7a68f98c47
40c0: 31 63 61 31 30 61 63 63 0a 0a 74 63 6c 74 65 73  1ca10acc..tcltes
40d0: 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63  t::test Symetric
40e0: 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d  _Block_IDEA-OFB-
40f0: 31 2e 32 37 20 7b 45 6e 63 72 79 70 74 20 49 44  1.27 {Encrypt ID
4100: 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73  EA-OFB} \..-cons
4110: 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42  traints IDEA_OFB
4120: 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72   \..-body {binar
4130: 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c  y encode hex [tl
4140: 73 3a 3a 65 6e 63 72 79 70 74 20 2d 63 69 70 68  s::encrypt -ciph
4150: 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64  er IDEA-OFB -pad
4160: 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79  ding 0 \... -key
4170: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
4180: 68 65 78 20 30 31 39 36 33 64 34 34 61 65 61 30  hex 01963d44aea0
4190: 32 36 62 32 32 30 35 32 33 38 34 35 34 64 35 62  26b2205238454d5b
41a0: 62 37 33 66 5d 20 5c 0a 09 09 20 2d 69 76 20 5b  b73f] \... -iv [
41b0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
41c0: 78 20 39 34 34 32 61 36 65 30 66 33 61 35 33 66  x 9442a6e0f3a53f
41d0: 31 30 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b  10] \... -data [
41e0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
41f0: 78 20 63 35 34 63 66 61 63 64 39 35 33 37 33 36  x c54cfacd953736
4200: 61 32 64 38 64 62 30 62 38 62 36 33 62 35 35 35  a2d8db0b8b63b555
4210: 32 35 33 61 30 63 61 36 66 36 65 30 35 66 32 65  253a0ca6f6e05f2e
4220: 39 31 38 64 31 38 62 65 39 35 36 36 39 66 61 38  918d18be95669fa8
4230: 35 36 30 39 66 38 32 37 64 36 64 61 30 31 34 61  5609f827d6da014a
4240: 64 64 32 39 36 34 36 32 36 36 37 30 63 32 30 32  dd2964626670c202
4250: 62 31 39 35 32 34 38 66 63 39 38 36 33 37 32 63  b195248fc986372c
4260: 39 32 61 64 62 62 31 30 63 30 65 37 63 33 36 65  92adbb10c0e7c36e
4270: 30 34 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20  04]]} \..-match 
4280: 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 32 36  exact -result 26
4290: 63 37 34 36 64 38 33 31 66 35 66 37 65 61 30 38  c746d831f5f7ea08
42a0: 36 38 36 30 37 35 64 30 66 31 38 30 66 35 32 62  686075d0f180f52b
42b0: 30 66 63 63 31 30 35 34 39 34 39 34 33 62 63 30  0fcc105494943bc0
42c0: 31 37 39 66 64 62 30 31 66 63 34 33 37 61 65 36  179fdb01fc437ae6
42d0: 30 66 65 33 64 65 65 37 32 35 39 30 32 66 31 31  0fe3dee725902f11
42e0: 66 62 33 64 62 62 63 34 32 31 38 34 66 35 32 62  fb3dbbc42184f52b
42f0: 31 64 35 32 30 37 63 37 31 64 31 65 36 66 65 30  1d5207c71d1e6fe0
4300: 65 38 33 62 33 64 63 32 37 36 37 32 32 37 0a 0a  e83b3dc2767227..
4310: 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79  tcltest::test Sy
4320: 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45  metric_Block_IDE
4330: 41 2d 4f 46 42 2d 31 2e 32 38 20 7b 44 65 63 72  A-OFB-1.28 {Decr
4340: 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a  ypt IDEA-OFB} \.
4350: 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44  .-constraints ID
4360: 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20  EA_OFB \..-body 
4370: 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68  {binary encode h
4380: 65 78 20 5b 74 6c 73 3a 3a 64 65 63 72 79 70 74  ex [tls::decrypt
4390: 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46   -cipher IDEA-OF
43a0: 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09  B -padding 0 \..
43b0: 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64  . -key [binary d
43c0: 65 63 6f 64 65 20 68 65 78 20 30 31 39 36 33 64  ecode hex 01963d
43d0: 34 34 61 65 61 30 32 36 62 32 32 30 35 32 33 38  44aea026b2205238
43e0: 34 35 34 64 35 62 62 37 33 66 5d 20 5c 0a 09 09  454d5bb73f] \...
43f0: 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63   -iv [binary dec
4400: 6f 64 65 20 68 65 78 20 39 34 34 32 61 36 65 30  ode hex 9442a6e0
4410: 66 33 61 35 33 66 31 30 5d 20 5c 0a 09 09 20 2d  f3a53f10] \... -
4420: 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63  data [binary dec
4430: 6f 64 65 20 68 65 78 20 32 36 63 37 34 36 64 38  ode hex 26c746d8
4440: 33 31 66 35 66 37 65 61 30 38 36 38 36 30 37 35  31f5f7ea08686075
4450: 64 30 66 31 38 30 66 35 32 62 30 66 63 63 31 30  d0f180f52b0fcc10
4460: 35 34 39 34 39 34 33 62 63 30 31 37 39 66 64 62  5494943bc0179fdb
4470: 30 31 66 63 34 33 37 61 65 36 30 66 65 33 64 65  01fc437ae60fe3de
4480: 65 37 32 35 39 30 32 66 31 31 66 62 33 64 62 62  e725902f11fb3dbb
4490: 63 34 32 31 38 34 66 35 32 62 31 64 35 32 30 37  c42184f52b1d5207
44a0: 63 37 31 64 31 65 36 66 65 30 65 38 33 62 33 64  c71d1e6fe0e83b3d
44b0: 63 32 37 36 37 32 32 37 5d 5d 7d 20 5c 0a 09 2d  c2767227]]} \..-
44c0: 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73  match exact -res
44d0: 75 6c 74 20 63 35 34 63 66 61 63 64 39 35 33 37  ult c54cfacd9537
44e0: 33 36 61 32 64 38 64 62 30 62 38 62 36 33 62 35  36a2d8db0b8b63b5
44f0: 35 35 32 35 33 61 30 63 61 36 66 36 65 30 35 66  55253a0ca6f6e05f
4500: 32 65 39 31 38 64 31 38 62 65 39 35 36 36 39 66  2e918d18be95669f
4510: 61 38 35 36 30 39 66 38 32 37 64 36 64 61 30 31  a85609f827d6da01
4520: 34 61 64 64 32 39 36 34 36 32 36 36 37 30 63 32  4add2964626670c2
4530: 30 32 62 31 39 35 32 34 38 66 63 39 38 36 33 37  02b195248fc98637
4540: 32 63 39 32 61 64 62 62 31 30 63 30 65 37 63 33  2c92adbb10c0e7c3
4550: 36 65 30 34 0a 0a 74 63 6c 74 65 73 74 3a 3a 74  6e04..tcltest::t
4560: 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f  est Symetric_Blo
4570: 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 32 39  ck_IDEA-OFB-1.29
4580: 20 7b 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f   {Encrypt IDEA-O
4590: 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69  FB} \..-constrai
45a0: 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09  nts IDEA_OFB \..
45b0: 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e  -body {binary en
45c0: 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65  code hex [tls::e
45d0: 6e 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49  ncrypt -cipher I
45e0: 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67  DEA-OFB -padding
45f0: 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69   0 \... -key [bi
4600: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
4610: 34 65 61 38 37 62 30 62 33 34 36 30 35 34 63 30  4ea87b0b346054c0
4620: 39 37 65 64 63 35 36 30 31 62 37 38 32 38 37 30  97edc5601b782870
4630: 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61  ] \... -iv [bina
4640: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 39 61  ry decode hex 9a
4650: 33 65 32 33 33 33 33 62 32 62 32 64 65 37 5d 20  3e23333b2b2de7] 
4660: 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61  \... -data [bina
4670: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 30 63  ry decode hex 0c
4680: 37 37 33 34 33 31 30 63 35 63 61 38 32 62 35 32  7734310c5ca82b52
4690: 30 62 66 31 65 30 61 31 36 31 34 63 37 64 64 64  0bf1e0a1614c7ddd
46a0: 30 63 30 30 32 37 31 31 65 66 30 62 32 33 39 64  0c002711ef0b239d
46b0: 65 38 66 61 32 35 36 65 31 35 62 33 32 30 35 36  e8fa256e15b32056
46c0: 62 39 39 32 37 34 37 66 66 33 61 33 61 33 31 30  b992747ff3a3a310
46d0: 64 35 32 65 39 64 66 33 36 32 37 35 64 39 31 39  d52e9df36275d919
46e0: 32 64 61 64 36 31 63 61 61 31 36 37 31 35 37 34  2dad61caa1671574
46f0: 34 35 35 32 63 38 36 35 63 35 61 65 39 34 37 37  4552c865c5ae9477
4700: 61 37 30 61 32 63 33 61 30 32 61 30 31 62 61 31  a70a2c3a02a01ba1
4710: 37 36 62 39 32 37 34 34 35 30 39 34 64 32 5d 5d  76b927445094d2]]
4720: 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63  } \..-match exac
4730: 74 20 2d 72 65 73 75 6c 74 20 64 35 66 39 39 61  t -result d5f99a
4740: 33 34 66 38 36 66 36 64 65 33 38 65 31 30 37 31  34f86f6de38e1071
4750: 32 66 33 30 36 61 64 64 33 36 63 66 65 66 36 37  2f306add36cfef67
4760: 65 64 33 62 64 38 64 62 66 30 63 62 33 32 66 35  ed3bd8dbf0cb32f5
4770: 66 66 63 31 38 33 32 30 33 37 63 62 61 37 31 36  ffc1832037cba716
4780: 38 65 32 32 34 39 65 31 63 36 33 35 64 65 31 35  8e2249e1c635de15
4790: 37 37 37 39 37 38 39 38 64 32 35 37 33 61 61 36  77797898d2573aa6
47a0: 66 64 36 31 65 37 36 36 63 62 64 30 65 34 65 35  fd61e766cbd0e4e5
47b0: 62 63 38 37 63 35 64 38 35 66 63 39 35 64 62 64  bc87c5d85fc95dbd
47c0: 63 37 38 63 32 36 64 35 31 61 37 32 32 38 35 31  c78c26d51a722851
47d0: 35 62 33 34 32 66 39 34 63 66 0a 0a 74 63 6c 74  5b342f94cf..tclt
47e0: 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72  est::test Symetr
47f0: 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46  ic_Block_IDEA-OF
4800: 42 2d 31 2e 33 30 20 7b 44 65 63 72 79 70 74 20  B-1.30 {Decrypt 
4810: 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f  IDEA-OFB} \..-co
4820: 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f  nstraints IDEA_O
4830: 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e  FB \..-body {bin
4840: 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b  ary encode hex [
4850: 74 6c 73 3a 3a 64 65 63 72 79 70 74 20 2d 63 69  tls::decrypt -ci
4860: 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70  pher IDEA-OFB -p
4870: 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b  adding 0 \... -k
4880: 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ey [binary decod
4890: 65 20 68 65 78 20 34 65 61 38 37 62 30 62 33 34  e hex 4ea87b0b34
48a0: 36 30 35 34 63 30 39 37 65 64 63 35 36 30 31 62  6054c097edc5601b
48b0: 37 38 32 38 37 30 5d 20 5c 0a 09 09 20 2d 69 76  782870] \... -iv
48c0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
48d0: 68 65 78 20 39 61 33 65 32 33 33 33 33 62 32 62  hex 9a3e23333b2b
48e0: 32 64 65 37 5d 20 5c 0a 09 09 20 2d 64 61 74 61  2de7] \... -data
48f0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
4900: 68 65 78 20 64 35 66 39 39 61 33 34 66 38 36 66  hex d5f99a34f86f
4910: 36 64 65 33 38 65 31 30 37 31 32 66 33 30 36 61  6de38e10712f306a
4920: 64 64 33 36 63 66 65 66 36 37 65 64 33 62 64 38  dd36cfef67ed3bd8
4930: 64 62 66 30 63 62 33 32 66 35 66 66 63 31 38 33  dbf0cb32f5ffc183
4940: 32 30 33 37 63 62 61 37 31 36 38 65 32 32 34 39  2037cba7168e2249
4950: 65 31 63 36 33 35 64 65 31 35 37 37 37 39 37 38  e1c635de15777978
4960: 39 38 64 32 35 37 33 61 61 36 66 64 36 31 65 37  98d2573aa6fd61e7
4970: 36 36 63 62 64 30 65 34 65 35 62 63 38 37 63 35  66cbd0e4e5bc87c5
4980: 64 38 35 66 63 39 35 64 62 64 63 37 38 63 32 36  d85fc95dbdc78c26
4990: 64 35 31 61 37 32 32 38 35 31 35 62 33 34 32 66  d51a7228515b342f
49a0: 39 34 63 66 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63  94cf]]} \..-matc
49b0: 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20  h exact -result 
49c0: 30 63 37 37 33 34 33 31 30 63 35 63 61 38 32 62  0c7734310c5ca82b
49d0: 35 32 30 62 66 31 65 30 61 31 36 31 34 63 37 64  520bf1e0a1614c7d
49e0: 64 64 30 63 30 30 32 37 31 31 65 66 30 62 32 33  dd0c002711ef0b23
49f0: 39 64 65 38 66 61 32 35 36 65 31 35 62 33 32 30  9de8fa256e15b320
4a00: 35 36 62 39 39 32 37 34 37 66 66 33 61 33 61 33  56b992747ff3a3a3
4a10: 31 30 64 35 32 65 39 64 66 33 36 32 37 35 64 39  10d52e9df36275d9
4a20: 31 39 32 64 61 64 36 31 63 61 61 31 36 37 31 35  192dad61caa16715
4a30: 37 34 34 35 35 32 63 38 36 35 63 35 61 65 39 34  744552c865c5ae94
4a40: 37 37 61 37 30 61 32 63 33 61 30 32 61 30 31 62  77a70a2c3a02a01b
4a50: 61 31 37 36 62 39 32 37 34 34 35 30 39 34 64 32  a176b927445094d2
4a60: 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20  ..tcltest::test 
4a70: 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49  Symetric_Block_I
4a80: 44 45 41 2d 4f 46 42 2d 31 2e 33 31 20 7b 45 6e  DEA-OFB-1.31 {En
4a90: 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20  crypt IDEA-OFB} 
4aa0: 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20  \..-constraints 
4ab0: 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64  IDEA_OFB \..-bod
4ac0: 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65  y {binary encode
4ad0: 20 68 65 78 20 5b 74 6c 73 3a 3a 65 6e 63 72 79   hex [tls::encry
4ae0: 70 74 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d  pt -cipher IDEA-
4af0: 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c  OFB -padding 0 \
4b00: 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79  ... -key [binary
4b10: 20 64 65 63 6f 64 65 20 68 65 78 20 31 39 35 36   decode hex 1956
4b20: 66 34 30 62 32 33 33 34 61 36 35 34 36 62 33 30  f40b2334a6546b30
4b30: 37 31 66 32 64 31 37 66 34 61 35 39 5d 20 5c 0a  71f2d17f4a59] \.
4b40: 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64  .. -iv [binary d
4b50: 65 63 6f 64 65 20 68 65 78 20 37 36 35 63 66 62  ecode hex 765cfb
4b60: 35 36 30 63 34 36 37 37 37 61 5d 20 5c 0a 09 09  560c46777a] \...
4b70: 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64   -data [binary d
4b80: 65 63 6f 64 65 20 68 65 78 20 30 34 35 61 64 36  ecode hex 045ad6
4b90: 36 63 35 31 35 64 34 30 37 61 62 37 33 65 61 30  6c515d407ab73ea0
4ba0: 63 36 66 36 61 65 38 36 39 38 37 32 33 34 32 66  c6f6ae869872342f
4bb0: 63 37 32 39 35 36 61 36 35 39 39 34 35 34 35 34  c72956a659945454
4bc0: 30 30 35 65 33 37 63 37 36 65 64 30 37 64 66 39  005e37c76ed07df9
4bd0: 39 36 66 66 65 31 33 32 32 38 34 30 63 66 32 33  96ffe1322840cf23
4be0: 38 34 33 62 33 34 33 34 36 61 31 65 37 33 30 61  843b34346a1e730a
4bf0: 62 37 32 31 64 64 63 65 61 66 33 36 32 65 64 32  b721ddceaf362ed2
4c00: 35 36 30 35 34 63 31 30 35 65 64 35 38 31 61 38  56054c105ed581a8
4c10: 30 63 30 34 65 66 32 32 61 65 31 62 35 65 62 38  0c04ef22ae1b5eb8
4c20: 37 34 32 63 36 65 33 63 39 63 30 65 30 65 32 39  742c6e3c9c0e0e29
4c30: 66 61 64 32 31 31 62 34 66 34 30 61 64 63 31 35  fad211b4f40adc15
4c40: 32 30 66 37 63 36 38 32 31 65 5d 5d 7d 20 5c 0a  20f7c6821e]]} \.
4c50: 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72  .-match exact -r
4c60: 65 73 75 6c 74 20 37 62 38 35 33 63 34 37 66 34  esult 7b853c47f4
4c70: 65 33 39 61 30 36 39 34 31 35 66 35 66 65 33 34  e39a069415f5fe34
4c80: 66 38 35 37 62 39 62 37 65 38 34 36 62 34 35 39  f857b9b7e846b459
4c90: 39 39 63 31 32 61 34 39 36 63 65 35 35 35 30 38  99c12a496ce55508
4ca0: 33 34 63 63 32 36 33 37 36 61 39 30 32 33 35 61  34cc26376a90235a
4cb0: 65 32 30 39 38 33 63 33 31 31 32 39 62 31 30 38  e20983c31129b108
4cc0: 66 66 63 33 63 66 34 34 33 31 62 66 33 37 39 61  ffc3cf4431bf379a
4cd0: 35 39 30 37 62 31 36 63 37 32 34 38 64 66 39 64  5907b16c7248df9d
4ce0: 34 30 66 61 35 62 38 65 39 38 38 38 62 64 31 63  40fa5b8e9888bd1c
4cf0: 32 61 34 35 61 30 38 31 32 65 34 62 63 66 37 31  2a45a0812e4bcf71
4d00: 64 34 30 62 62 38 61 30 36 34 32 37 39 64 35 66  d40bb8a064279d5f
4d10: 33 66 32 31 34 65 63 61 38 62 66 31 39 33 62 36  3f214eca8bf193b6
4d20: 31 34 34 62 65 63 0a 0a 74 63 6c 74 65 73 74 3a  144bec..tcltest:
4d30: 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42  :test Symetric_B
4d40: 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e  lock_IDEA-OFB-1.
4d50: 33 32 20 7b 44 65 63 72 79 70 74 20 49 44 45 41  32 {Decrypt IDEA
4d60: 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72  -OFB} \..-constr
4d70: 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c  aints IDEA_OFB \
4d80: 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20  ..-body {binary 
4d90: 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a  encode hex [tls:
4da0: 3a 64 65 63 72 79 70 74 20 2d 63 69 70 68 65 72  :decrypt -cipher
4db0: 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69   IDEA-OFB -paddi
4dc0: 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b  ng 0 \... -key [
4dd0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
4de0: 78 20 31 39 35 36 66 34 30 62 32 33 33 34 61 36  x 1956f40b2334a6
4df0: 35 34 36 62 33 30 37 31 66 32 64 31 37 66 34 61  546b3071f2d17f4a
4e00: 35 39 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69  59] \... -iv [bi
4e10: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
4e20: 37 36 35 63 66 62 35 36 30 63 34 36 37 37 37 61  765cfb560c46777a
4e30: 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69  ] \... -data [bi
4e40: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
4e50: 37 62 38 35 33 63 34 37 66 34 65 33 39 61 30 36  7b853c47f4e39a06
4e60: 39 34 31 35 66 35 66 65 33 34 66 38 35 37 62 39  9415f5fe34f857b9
4e70: 62 37 65 38 34 36 62 34 35 39 39 39 63 31 32 61  b7e846b45999c12a
4e80: 34 39 36 63 65 35 35 35 30 38 33 34 63 63 32 36  496ce5550834cc26
4e90: 33 37 36 61 39 30 32 33 35 61 65 32 30 39 38 33  376a90235ae20983
4ea0: 63 33 31 31 32 39 62 31 30 38 66 66 63 33 63 66  c31129b108ffc3cf
4eb0: 34 34 33 31 62 66 33 37 39 61 35 39 30 37 62 31  4431bf379a5907b1
4ec0: 36 63 37 32 34 38 64 66 39 64 34 30 66 61 35 62  6c7248df9d40fa5b
4ed0: 38 65 39 38 38 38 62 64 31 63 32 61 34 35 61 30  8e9888bd1c2a45a0
4ee0: 38 31 32 65 34 62 63 66 37 31 64 34 30 62 62 38  812e4bcf71d40bb8
4ef0: 61 30 36 34 32 37 39 64 35 66 33 66 32 31 34 65  a064279d5f3f214e
4f00: 63 61 38 62 66 31 39 33 62 36 31 34 34 62 65 63  ca8bf193b6144bec
4f10: 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78  ]]} \..-match ex
4f20: 61 63 74 20 2d 72 65 73 75 6c 74 20 30 34 35 61  act -result 045a
4f30: 64 36 36 63 35 31 35 64 34 30 37 61 62 37 33 65  d66c515d407ab73e
4f40: 61 30 63 36 66 36 61 65 38 36 39 38 37 32 33 34  a0c6f6ae86987234
4f50: 32 66 63 37 32 39 35 36 61 36 35 39 39 34 35 34  2fc72956a6599454
4f60: 35 34 30 30 35 65 33 37 63 37 36 65 64 30 37 64  54005e37c76ed07d
4f70: 66 39 39 36 66 66 65 31 33 32 32 38 34 30 63 66  f996ffe1322840cf
4f80: 32 33 38 34 33 62 33 34 33 34 36 61 31 65 37 33  23843b34346a1e73
4f90: 30 61 62 37 32 31 64 64 63 65 61 66 33 36 32 65  0ab721ddceaf362e
4fa0: 64 32 35 36 30 35 34 63 31 30 35 65 64 35 38 31  d256054c105ed581
4fb0: 61 38 30 63 30 34 65 66 32 32 61 65 31 62 35 65  a80c04ef22ae1b5e
4fc0: 62 38 37 34 32 63 36 65 33 63 39 63 30 65 30 65  b8742c6e3c9c0e0e
4fd0: 32 39 66 61 64 32 31 31 62 34 66 34 30 61 64 63  29fad211b4f40adc
4fe0: 31 35 32 30 66 37 63 36 38 32 31 65 0a 0a 74 63  1520f7c6821e..tc
4ff0: 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65  ltest::test Syme
5000: 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d  tric_Block_IDEA-
5010: 4f 46 42 2d 31 2e 33 33 20 7b 45 6e 63 72 79 70  OFB-1.33 {Encryp
5020: 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d  t IDEA-OFB} \..-
5030: 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41  constraints IDEA
5040: 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62  _OFB \..-body {b
5050: 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78  inary encode hex
5060: 20 5b 74 6c 73 3a 3a 65 6e 63 72 79 70 74 20 2d   [tls::encrypt -
5070: 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20  cipher IDEA-OFB 
5080: 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20  -padding 0 \... 
5090: 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63  -key [binary dec
50a0: 6f 64 65 20 68 65 78 20 34 65 34 37 65 31 62 35  ode hex 4e47e1b5
50b0: 63 31 62 34 38 39 32 39 35 64 33 61 32 62 66 30  c1b489295d3a2bf0
50c0: 34 39 66 34 62 65 32 64 5d 20 5c 0a 09 09 20 2d  49f4be2d] \... -
50d0: 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  iv [binary decod
50e0: 65 20 68 65 78 20 38 33 66 64 66 30 36 34 64 32  e hex 83fdf064d2
50f0: 31 33 64 66 34 31 5d 20 5c 0a 09 09 20 2d 64 61  13df41] \... -da
5100: 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ta [binary decod
5110: 65 20 68 65 78 20 39 34 61 37 62 65 64 33 62 35  e hex 94a7bed3b5
5120: 61 31 35 38 65 38 35 66 39 65 34 37 37 38 61 37  a158e85f9e4778a7
5130: 64 65 31 30 35 66 66 34 66 33 62 32 61 36 31 63  de105ff4f3b2a61c
5140: 32 66 65 61 64 38 32 63 62 65 39 34 39 64 37 61  2fead82cbe949d7a
5150: 34 65 65 39 36 31 61 36 63 36 32 39 34 39 62 61  4ee961a6c62949ba
5160: 32 63 36 39 64 35 31 33 64 38 33 36 61 34 35 35  2c69d513d836a455
5170: 62 36 31 32 63 32 66 62 62 36 63 61 32 34 33 61  b612c2fbb6ca243a
5180: 30 61 31 38 61 38 35 33 63 61 64 62 36 62 37 33  0a18a853cadb6b73
5190: 62 36 30 30 31 39 32 64 65 31 64 35 31 64 64 66  b600192de1d51ddf
51a0: 38 30 30 33 30 37 31 38 62 30 37 39 66 62 62 35  80030718b079fbb5
51b0: 38 31 30 37 33 61 30 36 62 36 36 62 61 34 61 64  81073a06b66ba4ad
51c0: 35 32 34 64 33 64 30 39 65 66 61 61 35 39 65 36  524d3d09efaa59e6
51d0: 39 31 39 62 63 61 31 35 62 32 62 39 32 62 64 39  919bca15b2b92bd9
51e0: 66 38 63 31 37 64 36 65 34 36 33 66 34 65 61 35  f8c17d6e463f4ea5
51f0: 66 64 35 66 35 65 5d 5d 7d 20 5c 0a 09 2d 6d 61  fd5f5e]]} \..-ma
5200: 74 63 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c  tch exact -resul
5210: 74 20 36 31 33 30 63 64 35 63 63 36 38 64 34 62  t 6130cd5cc68d4b
5220: 64 36 30 35 35 63 63 61 31 63 35 31 32 38 31 64  d6055cca1c51281d
5230: 65 31 32 36 35 32 65 36 64 66 39 61 63 39 61 32  e12652e6df9ac9a2
5240: 34 62 33 39 64 35 64 32 62 62 33 38 37 36 63 63  4b39d5d2bb3876cc
5250: 37 36 65 37 65 38 35 66 37 32 65 66 62 64 64 39  76e7e85f72efbdd9
5260: 62 37 64 35 35 64 38 65 31 61 38 34 65 31 37 61  b7d55d8e1a84e17a
5270: 64 33 32 39 32 62 61 35 62 64 30 37 31 66 33 39  d3292ba5bd071f39
5280: 66 37 62 33 37 33 63 38 30 37 31 35 33 61 34 66  f7b373c807153a4f
5290: 65 35 35 33 66 62 34 34 38 37 32 63 62 32 61 37  e553fb44872cb2a7
52a0: 62 38 30 64 36 63 39 37 66 37 38 65 61 65 61 33  b80d6c97f78eaea3
52b0: 38 32 34 64 35 30 31 37 39 32 34 35 36 36 36 37  824d501792456667
52c0: 66 33 33 35 65 38 66 33 33 65 32 39 66 36 66 66  f335e8f33e29f6ff
52d0: 65 37 37 33 36 61 35 62 34 36 37 38 36 63 37 38  e7736a5b46786c78
52e0: 62 33 63 64 39 65 38 62 64 33 34 39 38 65 37 63  b3cd9e8bd3498e7c
52f0: 34 63 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73  4c..tcltest::tes
5300: 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b  t Symetric_Block
5310: 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 33 34 20 7b  _IDEA-OFB-1.34 {
5320: 44 65 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42  Decrypt IDEA-OFB
5330: 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74  } \..-constraint
5340: 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62  s IDEA_OFB \..-b
5350: 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f  ody {binary enco
5360: 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 64 65 63  de hex [tls::dec
5370: 72 79 70 74 20 2d 63 69 70 68 65 72 20 49 44 45  rypt -cipher IDE
5380: 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30  A-OFB -padding 0
5390: 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61   \... -key [bina
53a0: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 34 65  ry decode hex 4e
53b0: 34 37 65 31 62 35 63 31 62 34 38 39 32 39 35 64  47e1b5c1b489295d
53c0: 33 61 32 62 66 30 34 39 66 34 62 65 32 64 5d 20  3a2bf049f4be2d] 
53d0: 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79  \... -iv [binary
53e0: 20 64 65 63 6f 64 65 20 68 65 78 20 38 33 66 64   decode hex 83fd
53f0: 66 30 36 34 64 32 31 33 64 66 34 31 5d 20 5c 0a  f064d213df41] \.
5400: 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79  .. -data [binary
5410: 20 64 65 63 6f 64 65 20 68 65 78 20 36 31 33 30   decode hex 6130
5420: 63 64 35 63 63 36 38 64 34 62 64 36 30 35 35 63  cd5cc68d4bd6055c
5430: 63 61 31 63 35 31 32 38 31 64 65 31 32 36 35 32  ca1c51281de12652
5440: 65 36 64 66 39 61 63 39 61 32 34 62 33 39 64 35  e6df9ac9a24b39d5
5450: 64 32 62 62 33 38 37 36 63 63 37 36 65 37 65 38  d2bb3876cc76e7e8
5460: 35 66 37 32 65 66 62 64 64 39 62 37 64 35 35 64  5f72efbdd9b7d55d
5470: 38 65 31 61 38 34 65 31 37 61 64 33 32 39 32 62  8e1a84e17ad3292b
5480: 61 35 62 64 30 37 31 66 33 39 66 37 62 33 37 33  a5bd071f39f7b373
5490: 63 38 30 37 31 35 33 61 34 66 65 35 35 33 66 62  c807153a4fe553fb
54a0: 34 34 38 37 32 63 62 32 61 37 62 38 30 64 36 63  44872cb2a7b80d6c
54b0: 39 37 66 37 38 65 61 65 61 33 38 32 34 64 35 30  97f78eaea3824d50
54c0: 31 37 39 32 34 35 36 36 36 37 66 33 33 35 65 38  1792456667f335e8
54d0: 66 33 33 65 32 39 66 36 66 66 65 37 37 33 36 61  f33e29f6ffe7736a
54e0: 35 62 34 36 37 38 36 63 37 38 62 33 63 64 39 65  5b46786c78b3cd9e
54f0: 38 62 64 33 34 39 38 65 37 63 34 63 5d 5d 7d 20  8bd3498e7c4c]]} 
5500: 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20  \..-match exact 
5510: 2d 72 65 73 75 6c 74 20 39 34 61 37 62 65 64 33  -result 94a7bed3
5520: 62 35 61 31 35 38 65 38 35 66 39 65 34 37 37 38  b5a158e85f9e4778
5530: 61 37 64 65 31 30 35 66 66 34 66 33 62 32 61 36  a7de105ff4f3b2a6
5540: 31 63 32 66 65 61 64 38 32 63 62 65 39 34 39 64  1c2fead82cbe949d
5550: 37 61 34 65 65 39 36 31 61 36 63 36 32 39 34 39  7a4ee961a6c62949
5560: 62 61 32 63 36 39 64 35 31 33 64 38 33 36 61 34  ba2c69d513d836a4
5570: 35 35 62 36 31 32 63 32 66 62 62 36 63 61 32 34  55b612c2fbb6ca24
5580: 33 61 30 61 31 38 61 38 35 33 63 61 64 62 36 62  3a0a18a853cadb6b
5590: 37 33 62 36 30 30 31 39 32 64 65 31 64 35 31 64  73b600192de1d51d
55a0: 64 66 38 30 30 33 30 37 31 38 62 30 37 39 66 62  df80030718b079fb
55b0: 62 35 38 31 30 37 33 61 30 36 62 36 36 62 61 34  b581073a06b66ba4
55c0: 61 64 35 32 34 64 33 64 30 39 65 66 61 61 35 39  ad524d3d09efaa59
55d0: 65 36 39 31 39 62 63 61 31 35 62 32 62 39 32 62  e6919bca15b2b92b
55e0: 64 39 66 38 63 31 37 64 36 65 34 36 33 66 34 65  d9f8c17d6e463f4e
55f0: 61 35 66 64 35 66 35 65 0a 0a 74 63 6c 74 65 73  a5fd5f5e..tcltes
5600: 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63  t::test Symetric
5610: 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d  _Block_IDEA-OFB-
5620: 31 2e 33 35 20 7b 45 6e 63 72 79 70 74 20 49 44  1.35 {Encrypt ID
5630: 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73  EA-OFB} \..-cons
5640: 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42  traints IDEA_OFB
5650: 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72   \..-body {binar
5660: 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c  y encode hex [tl
5670: 73 3a 3a 65 6e 63 72 79 70 74 20 2d 63 69 70 68  s::encrypt -ciph
5680: 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64  er IDEA-OFB -pad
5690: 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79  ding 0 \... -key
56a0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
56b0: 68 65 78 20 36 31 33 34 38 35 65 35 62 62 38 34  hex 613485e5bb84
56c0: 62 39 31 63 64 64 30 63 61 30 32 66 38 64 38 33  b91cdd0ca02f8d83
56d0: 65 30 62 62 5d 20 5c 0a 09 09 20 2d 69 76 20 5b  e0bb] \... -iv [
56e0: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
56f0: 78 20 61 64 38 61 37 35 36 34 66 36 63 65 38 61  x ad8a7564f6ce8a
5700: 62 62 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b  bb] \... -data [
5710: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
5720: 78 20 65 64 35 30 36 38 30 30 33 31 36 33 63 34  x ed5068003163c4
5730: 32 34 61 65 39 61 38 65 35 31 65 33 64 37 37 36  24ae9a8e51e3d776
5740: 38 34 63 36 39 30 37 33 61 38 32 34 64 63 34 37  84c69073a824dc47
5750: 32 31 35 36 38 66 37 35 32 38 36 35 37 63 33 64  21568f7528657c3d
5760: 64 32 38 64 36 36 32 31 39 66 33 39 38 65 64 35  d28d66219f398ed5
5770: 37 31 30 35 61 61 33 35 63 66 65 66 33 61 63 30  7105aa35cfef3ac0
5780: 37 38 65 61 62 33 30 61 65 30 66 33 65 64 37 35  78eab30ae0f3ed75
5790: 32 62 30 65 33 32 30 62 30 39 39 65 61 34 32 62  2b0e320b099ea42b
57a0: 31 35 36 66 38 31 38 39 30 34 63 34 62 36 63 35  156f818904c4b6c5
57b0: 33 34 63 61 62 64 65 35 33 64 66 61 36 32 65 37  34cabde53dfa62e7
57c0: 62 37 34 35 31 38 61 38 62 63 61 33 66 33 36 65  b74518a8bca3f36e
57d0: 65 38 35 62 31 33 30 65 38 35 32 30 64 33 38 63  e85b130e8520d38c
57e0: 30 30 36 65 36 61 64 65 66 33 34 62 62 63 38 64  006e6adef34bbc8d
57f0: 66 35 36 62 37 35 37 62 35 30 30 64 37 30 33 65  f56b757b500d703e
5800: 35 37 37 37 61 61 35 34 35 63 34 31 37 30 34 30  5777aa545c417040
5810: 34 37 35 34 66 30 33 64 62 66 32 32 63 39 66 30  4754f03dbf22c9f0
5820: 64 37 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20  d7]]} \..-match 
5830: 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20 63 61  exact -result ca
5840: 64 61 34 32 61 65 61 66 37 33 32 36 36 63 61 61  da42aeaf73266caa
5850: 38 35 33 37 66 38 35 33 66 62 63 37 31 30 64 66  8537f853fbc710df
5860: 35 39 66 36 65 37 38 30 39 63 61 30 37 65 36 31  59f6e7809ca07e61
5870: 33 31 62 61 34 31 63 33 63 64 34 31 33 34 33 33  31ba41c3cd413433
5880: 63 33 66 32 36 66 61 66 35 66 62 63 65 62 35 30  c3f26faf5fbceb50
5890: 32 33 38 65 31 35 30 66 36 64 36 31 33 63 66 34  238e150f6d613cf4
58a0: 62 63 66 37 39 34 31 36 61 62 61 64 61 34 30 30  bcf79416abada400
58b0: 61 38 32 37 64 63 66 64 32 33 32 30 61 35 64 31  a827dcfd2320a5d1
58c0: 39 61 63 37 66 66 36 66 64 37 32 35 61 33 30 61  9ac7ff6fd725a30a
58d0: 65 33 63 37 33 39 65 64 39 66 36 64 39 34 39 35  e3c739ed9f6d9495
58e0: 66 33 36 63 65 34 31 34 61 62 63 33 33 38 63 66  f36ce414abc338cf
58f0: 35 32 65 37 61 33 35 31 64 65 34 64 66 61 35 34  52e7a351de4dfa54
5900: 62 35 32 36 36 30 33 37 30 36 37 38 35 32 39 64  b52660370678529d
5910: 62 64 37 63 33 36 37 37 30 33 39 39 61 62 39 30  bd7c36770399ab90
5920: 61 34 34 66 39 35 64 64 35 61 38 33 37 64 64 65  a44f95dd5a837dde
5930: 31 32 62 32 38 64 61 38 61 30 36 65 65 37 0a 0a  12b28da8a06ee7..
5940: 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20 53 79  tcltest::test Sy
5950: 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49 44 45  metric_Block_IDE
5960: 41 2d 4f 46 42 2d 31 2e 33 36 20 7b 44 65 63 72  A-OFB-1.36 {Decr
5970: 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20 5c 0a  ypt IDEA-OFB} \.
5980: 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20 49 44  .-constraints ID
5990: 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64 79 20  EA_OFB \..-body 
59a0: 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65 20 68  {binary encode h
59b0: 65 78 20 5b 74 6c 73 3a 3a 64 65 63 72 79 70 74  ex [tls::decrypt
59c0: 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d 4f 46   -cipher IDEA-OF
59d0: 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c 0a 09  B -padding 0 \..
59e0: 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79 20 64  . -key [binary d
59f0: 65 63 6f 64 65 20 68 65 78 20 36 31 33 34 38 35  ecode hex 613485
5a00: 65 35 62 62 38 34 62 39 31 63 64 64 30 63 61 30  e5bb84b91cdd0ca0
5a10: 32 66 38 64 38 33 65 30 62 62 5d 20 5c 0a 09 09  2f8d83e0bb] \...
5a20: 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64 65 63   -iv [binary dec
5a30: 6f 64 65 20 68 65 78 20 61 64 38 61 37 35 36 34  ode hex ad8a7564
5a40: 66 36 63 65 38 61 62 62 5d 20 5c 0a 09 09 20 2d  f6ce8abb] \... -
5a50: 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64 65 63  data [binary dec
5a60: 6f 64 65 20 68 65 78 20 63 61 64 61 34 32 61 65  ode hex cada42ae
5a70: 61 66 37 33 32 36 36 63 61 61 38 35 33 37 66 38  af73266caa8537f8
5a80: 35 33 66 62 63 37 31 30 64 66 35 39 66 36 65 37  53fbc710df59f6e7
5a90: 38 30 39 63 61 30 37 65 36 31 33 31 62 61 34 31  809ca07e6131ba41
5aa0: 63 33 63 64 34 31 33 34 33 33 63 33 66 32 36 66  c3cd413433c3f26f
5ab0: 61 66 35 66 62 63 65 62 35 30 32 33 38 65 31 35  af5fbceb50238e15
5ac0: 30 66 36 64 36 31 33 63 66 34 62 63 66 37 39 34  0f6d613cf4bcf794
5ad0: 31 36 61 62 61 64 61 34 30 30 61 38 32 37 64 63  16abada400a827dc
5ae0: 66 64 32 33 32 30 61 35 64 31 39 61 63 37 66 66  fd2320a5d19ac7ff
5af0: 36 66 64 37 32 35 61 33 30 61 65 33 63 37 33 39  6fd725a30ae3c739
5b00: 65 64 39 66 36 64 39 34 39 35 66 33 36 63 65 34  ed9f6d9495f36ce4
5b10: 31 34 61 62 63 33 33 38 63 66 35 32 65 37 61 33  14abc338cf52e7a3
5b20: 35 31 64 65 34 64 66 61 35 34 62 35 32 36 36 30  51de4dfa54b52660
5b30: 33 37 30 36 37 38 35 32 39 64 62 64 37 63 33 36  370678529dbd7c36
5b40: 37 37 30 33 39 39 61 62 39 30 61 34 34 66 39 35  770399ab90a44f95
5b50: 64 64 35 61 38 33 37 64 64 65 31 32 62 32 38 64  dd5a837dde12b28d
5b60: 61 38 61 30 36 65 65 37 5d 5d 7d 20 5c 0a 09 2d  a8a06ee7]]} \..-
5b70: 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72 65 73  match exact -res
5b80: 75 6c 74 20 65 64 35 30 36 38 30 30 33 31 36 33  ult ed5068003163
5b90: 63 34 32 34 61 65 39 61 38 65 35 31 65 33 64 37  c424ae9a8e51e3d7
5ba0: 37 36 38 34 63 36 39 30 37 33 61 38 32 34 64 63  7684c69073a824dc
5bb0: 34 37 32 31 35 36 38 66 37 35 32 38 36 35 37 63  4721568f7528657c
5bc0: 33 64 64 32 38 64 36 36 32 31 39 66 33 39 38 65  3dd28d66219f398e
5bd0: 64 35 37 31 30 35 61 61 33 35 63 66 65 66 33 61  d57105aa35cfef3a
5be0: 63 30 37 38 65 61 62 33 30 61 65 30 66 33 65 64  c078eab30ae0f3ed
5bf0: 37 35 32 62 30 65 33 32 30 62 30 39 39 65 61 34  752b0e320b099ea4
5c00: 32 62 31 35 36 66 38 31 38 39 30 34 63 34 62 36  2b156f818904c4b6
5c10: 63 35 33 34 63 61 62 64 65 35 33 64 66 61 36 32  c534cabde53dfa62
5c20: 65 37 62 37 34 35 31 38 61 38 62 63 61 33 66 33  e7b74518a8bca3f3
5c30: 36 65 65 38 35 62 31 33 30 65 38 35 32 30 64 33  6ee85b130e8520d3
5c40: 38 63 30 30 36 65 36 61 64 65 66 33 34 62 62 63  8c006e6adef34bbc
5c50: 38 64 66 35 36 62 37 35 37 62 35 30 30 64 37 30  8df56b757b500d70
5c60: 33 65 35 37 37 37 61 61 35 34 35 63 34 31 37 30  3e5777aa545c4170
5c70: 34 30 34 37 35 34 66 30 33 64 62 66 32 32 63 39  404754f03dbf22c9
5c80: 66 30 64 37 0a 0a 74 63 6c 74 65 73 74 3a 3a 74  f0d7..tcltest::t
5c90: 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42 6c 6f  est Symetric_Blo
5ca0: 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e 33 37  ck_IDEA-OFB-1.37
5cb0: 20 7b 45 6e 63 72 79 70 74 20 49 44 45 41 2d 4f   {Encrypt IDEA-O
5cc0: 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72 61 69  FB} \..-constrai
5cd0: 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c 0a 09  nts IDEA_OFB \..
5ce0: 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20 65 6e  -body {binary en
5cf0: 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a 3a 65  code hex [tls::e
5d00: 6e 63 72 79 70 74 20 2d 63 69 70 68 65 72 20 49  ncrypt -cipher I
5d10: 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69 6e 67  DEA-OFB -padding
5d20: 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b 62 69   0 \... -key [bi
5d30: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
5d40: 38 31 39 38 62 33 36 65 38 38 30 63 66 35 30 64  8198b36e880cf50d
5d50: 62 66 36 37 32 34 66 65 61 61 61 63 38 36 38 38  bf6724feaaac8688
5d60: 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69 6e 61  ] \... -iv [bina
5d70: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 66 62  ry decode hex fb
5d80: 61 61 32 38 38 32 61 32 61 34 61 63 64 62 5d 20  aa2882a2a4acdb] 
5d90: 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69 6e 61  \... -data [bina
5da0: 72 79 20 64 65 63 6f 64 65 20 68 65 78 20 62 32  ry decode hex b2
5db0: 35 31 36 61 33 35 36 65 34 33 37 35 31 33 66 30  516a356e437513f0
5dc0: 64 66 38 33 39 33 38 61 66 65 66 62 65 39 66 39  df83938afefbe9f9
5dd0: 65 66 31 65 63 38 37 39 37 39 37 39 39 37 66 33  ef1ec879797997f3
5de0: 31 64 61 39 36 61 31 65 61 37 61 31 35 64 33 39  1da96a1ea7a15d39
5df0: 35 65 63 64 62 39 34 62 37 66 64 61 31 34 63 64  5ecdb94b7fda14cd
5e00: 63 30 62 37 35 63 31 37 31 37 38 34 66 61 38 38  c0b75c171784fa88
5e10: 33 32 64 35 37 34 62 36 34 66 39 34 35 30 63 36  32d574b64f9450c6
5e20: 62 65 32 35 64 63 38 33 62 39 33 64 33 62 62 66  be25dc83b93d3bbf
5e30: 30 31 34 35 61 36 36 31 62 66 34 64 62 37 37 35  0145a661bf4db775
5e40: 32 38 32 62 39 38 36 34 39 62 36 34 36 31 33 61  282b98649b64613a
5e50: 65 65 64 62 38 62 62 37 37 30 66 36 37 63 63 33  eedb8bb770f67cc3
5e60: 34 32 31 61 63 36 37 36 31 65 35 64 37 36 33 63  421ac6761e5d763c
5e70: 32 31 61 63 32 64 31 65 37 32 39 65 34 35 39 37  21ac2d1e729e4597
5e80: 61 64 37 66 63 61 39 66 64 63 37 30 38 37 38 62  ad7fca9fdc70878b
5e90: 32 36 36 33 34 64 66 37 38 63 64 30 66 33 36 66  26634df78cd0f36f
5ea0: 62 33 62 31 33 38 61 31 33 35 37 39 31 35 61 62  b3b138a1357915ab
5eb0: 62 61 34 66 66 35 66 38 64 66 61 65 66 32 36 38  ba4ff5f8dfaef268
5ec0: 33 30 37 30 32 32 66 32 65 32 33 35 32 38 5d 5d  307022f2e23528]]
5ed0: 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78 61 63  } \..-match exac
5ee0: 74 20 2d 72 65 73 75 6c 74 20 31 34 62 61 32 63  t -result 14ba2c
5ef0: 31 65 31 66 63 30 31 35 35 36 38 31 38 34 63 31  1e1fc015568184c1
5f00: 33 34 36 62 30 39 34 36 39 33 36 36 64 62 37 64  346b09469366db7d
5f10: 31 64 63 31 35 31 64 30 38 61 38 66 39 39 66 66  1dc151d08a8f99ff
5f20: 61 32 32 31 31 35 61 33 30 61 35 61 36 64 64 35  a22115a30a5a6dd5
5f30: 63 32 64 36 66 62 64 30 39 65 30 33 31 33 34 37  c2d6fbd09e031347
5f40: 31 30 66 31 39 30 32 63 65 61 62 38 36 30 36 39  10f1902ceab86069
5f50: 35 35 31 36 33 30 64 33 66 36 31 34 65 36 37 64  551630d3f614e67d
5f60: 31 39 35 61 37 34 32 32 62 32 63 37 30 32 32 35  195a7422b2c70225
5f70: 63 35 65 62 62 65 63 66 37 66 62 61 62 66 38 64  c5ebbecf7fbabf8d
5f80: 62 30 35 63 32 31 30 32 35 31 30 32 32 32 35 63  b05c21025102225c
5f90: 64 66 32 30 39 33 66 62 61 33 62 64 34 62 61 31  df2093fba3bd4ba1
5fa0: 66 31 36 37 34 63 33 30 35 61 39 39 63 64 65 33  f1674c305a99cde3
5fb0: 36 65 31 64 31 31 32 34 36 37 34 36 36 34 38 39  6e1d112467466489
5fc0: 63 34 66 30 34 61 35 35 66 61 34 39 35 62 36 31  c4f04a55fa495b61
5fd0: 30 65 65 36 31 36 37 34 39 64 63 35 63 39 66 37  0ee616749dc5c9f7
5fe0: 63 61 33 65 62 34 65 65 33 35 39 38 39 34 30 32  ca3eb4ee35989402
5ff0: 61 39 31 66 66 30 30 38 35 31 32 38 30 37 37 65  a91ff0085128077e
6000: 62 30 33 65 35 64 36 61 63 31 0a 0a 74 63 6c 74  b03e5d6ac1..tclt
6010: 65 73 74 3a 3a 74 65 73 74 20 53 79 6d 65 74 72  est::test Symetr
6020: 69 63 5f 42 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46  ic_Block_IDEA-OF
6030: 42 2d 31 2e 33 38 20 7b 44 65 63 72 79 70 74 20  B-1.38 {Decrypt 
6040: 49 44 45 41 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f  IDEA-OFB} \..-co
6050: 6e 73 74 72 61 69 6e 74 73 20 49 44 45 41 5f 4f  nstraints IDEA_O
6060: 46 42 20 5c 0a 09 2d 62 6f 64 79 20 7b 62 69 6e  FB \..-body {bin
6070: 61 72 79 20 65 6e 63 6f 64 65 20 68 65 78 20 5b  ary encode hex [
6080: 74 6c 73 3a 3a 64 65 63 72 79 70 74 20 2d 63 69  tls::decrypt -ci
6090: 70 68 65 72 20 49 44 45 41 2d 4f 46 42 20 2d 70  pher IDEA-OFB -p
60a0: 61 64 64 69 6e 67 20 30 20 5c 0a 09 09 20 2d 6b  adding 0 \... -k
60b0: 65 79 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64  ey [binary decod
60c0: 65 20 68 65 78 20 38 31 39 38 62 33 36 65 38 38  e hex 8198b36e88
60d0: 30 63 66 35 30 64 62 66 36 37 32 34 66 65 61 61  0cf50dbf6724feaa
60e0: 61 63 38 36 38 38 5d 20 5c 0a 09 09 20 2d 69 76  ac8688] \... -iv
60f0: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
6100: 68 65 78 20 66 62 61 61 32 38 38 32 61 32 61 34  hex fbaa2882a2a4
6110: 61 63 64 62 5d 20 5c 0a 09 09 20 2d 64 61 74 61  acdb] \... -data
6120: 20 5b 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20   [binary decode 
6130: 68 65 78 20 31 34 62 61 32 63 31 65 31 66 63 30  hex 14ba2c1e1fc0
6140: 31 35 35 36 38 31 38 34 63 31 33 34 36 62 30 39  15568184c1346b09
6150: 34 36 39 33 36 36 64 62 37 64 31 64 63 31 35 31  469366db7d1dc151
6160: 64 30 38 61 38 66 39 39 66 66 61 32 32 31 31 35  d08a8f99ffa22115
6170: 61 33 30 61 35 61 36 64 64 35 63 32 64 36 66 62  a30a5a6dd5c2d6fb
6180: 64 30 39 65 30 33 31 33 34 37 31 30 66 31 39 30  d09e03134710f190
6190: 32 63 65 61 62 38 36 30 36 39 35 35 31 36 33 30  2ceab86069551630
61a0: 64 33 66 36 31 34 65 36 37 64 31 39 35 61 37 34  d3f614e67d195a74
61b0: 32 32 62 32 63 37 30 32 32 35 63 35 65 62 62 65  22b2c70225c5ebbe
61c0: 63 66 37 66 62 61 62 66 38 64 62 30 35 63 32 31  cf7fbabf8db05c21
61d0: 30 32 35 31 30 32 32 32 35 63 64 66 32 30 39 33  025102225cdf2093
61e0: 66 62 61 33 62 64 34 62 61 31 66 31 36 37 34 63  fba3bd4ba1f1674c
61f0: 33 30 35 61 39 39 63 64 65 33 36 65 31 64 31 31  305a99cde36e1d11
6200: 32 34 36 37 34 36 36 34 38 39 63 34 66 30 34 61  2467466489c4f04a
6210: 35 35 66 61 34 39 35 62 36 31 30 65 65 36 31 36  55fa495b610ee616
6220: 37 34 39 64 63 35 63 39 66 37 63 61 33 65 62 34  749dc5c9f7ca3eb4
6230: 65 65 33 35 39 38 39 34 30 32 61 39 31 66 66 30  ee35989402a91ff0
6240: 30 38 35 31 32 38 30 37 37 65 62 30 33 65 35 64  085128077eb03e5d
6250: 36 61 63 31 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63  6ac1]]} \..-matc
6260: 68 20 65 78 61 63 74 20 2d 72 65 73 75 6c 74 20  h exact -result 
6270: 62 32 35 31 36 61 33 35 36 65 34 33 37 35 31 33  b2516a356e437513
6280: 66 30 64 66 38 33 39 33 38 61 66 65 66 62 65 39  f0df83938afefbe9
6290: 66 39 65 66 31 65 63 38 37 39 37 39 37 39 39 37  f9ef1ec879797997
62a0: 66 33 31 64 61 39 36 61 31 65 61 37 61 31 35 64  f31da96a1ea7a15d
62b0: 33 39 35 65 63 64 62 39 34 62 37 66 64 61 31 34  395ecdb94b7fda14
62c0: 63 64 63 30 62 37 35 63 31 37 31 37 38 34 66 61  cdc0b75c171784fa
62d0: 38 38 33 32 64 35 37 34 62 36 34 66 39 34 35 30  8832d574b64f9450
62e0: 63 36 62 65 32 35 64 63 38 33 62 39 33 64 33 62  c6be25dc83b93d3b
62f0: 62 66 30 31 34 35 61 36 36 31 62 66 34 64 62 37  bf0145a661bf4db7
6300: 37 35 32 38 32 62 39 38 36 34 39 62 36 34 36 31  75282b98649b6461
6310: 33 61 65 65 64 62 38 62 62 37 37 30 66 36 37 63  3aeedb8bb770f67c
6320: 63 33 34 32 31 61 63 36 37 36 31 65 35 64 37 36  c3421ac6761e5d76
6330: 33 63 32 31 61 63 32 64 31 65 37 32 39 65 34 35  3c21ac2d1e729e45
6340: 39 37 61 64 37 66 63 61 39 66 64 63 37 30 38 37  97ad7fca9fdc7087
6350: 38 62 32 36 36 33 34 64 66 37 38 63 64 30 66 33  8b26634df78cd0f3
6360: 36 66 62 33 62 31 33 38 61 31 33 35 37 39 31 35  6fb3b138a1357915
6370: 61 62 62 61 34 66 66 35 66 38 64 66 61 65 66 32  abba4ff5f8dfaef2
6380: 36 38 33 30 37 30 32 32 66 32 65 32 33 35 32 38  68307022f2e23528
6390: 0a 0a 74 63 6c 74 65 73 74 3a 3a 74 65 73 74 20  ..tcltest::test 
63a0: 53 79 6d 65 74 72 69 63 5f 42 6c 6f 63 6b 5f 49  Symetric_Block_I
63b0: 44 45 41 2d 4f 46 42 2d 31 2e 33 39 20 7b 45 6e  DEA-OFB-1.39 {En
63c0: 63 72 79 70 74 20 49 44 45 41 2d 4f 46 42 7d 20  crypt IDEA-OFB} 
63d0: 5c 0a 09 2d 63 6f 6e 73 74 72 61 69 6e 74 73 20  \..-constraints 
63e0: 49 44 45 41 5f 4f 46 42 20 5c 0a 09 2d 62 6f 64  IDEA_OFB \..-bod
63f0: 79 20 7b 62 69 6e 61 72 79 20 65 6e 63 6f 64 65  y {binary encode
6400: 20 68 65 78 20 5b 74 6c 73 3a 3a 65 6e 63 72 79   hex [tls::encry
6410: 70 74 20 2d 63 69 70 68 65 72 20 49 44 45 41 2d  pt -cipher IDEA-
6420: 4f 46 42 20 2d 70 61 64 64 69 6e 67 20 30 20 5c  OFB -padding 0 \
6430: 0a 09 09 20 2d 6b 65 79 20 5b 62 69 6e 61 72 79  ... -key [binary
6440: 20 64 65 63 6f 64 65 20 68 65 78 20 65 33 30 62   decode hex e30b
6450: 34 63 38 37 34 63 34 63 34 66 36 65 30 63 66 31  4c874c4c4f6e0cf1
6460: 66 38 65 66 35 38 65 35 64 33 37 35 5d 20 5c 0a  f8ef58e5d375] \.
6470: 09 09 20 2d 69 76 20 5b 62 69 6e 61 72 79 20 64  .. -iv [binary d
6480: 65 63 6f 64 65 20 68 65 78 20 37 65 32 36 66 30  ecode hex 7e26f0
6490: 37 66 38 30 32 34 33 34 33 63 5d 20 5c 0a 09 09  7f8024343c] \...
64a0: 20 2d 64 61 74 61 20 5b 62 69 6e 61 72 79 20 64   -data [binary d
64b0: 65 63 6f 64 65 20 68 65 78 20 38 63 65 63 61 34  ecode hex 8ceca4
64c0: 64 63 33 34 36 63 66 64 36 62 31 35 37 37 34 65  dc346cfd6b15774e
64d0: 30 38 32 64 62 31 61 38 39 34 39 37 62 37 64 38  082db1a89497b7d8
64e0: 35 64 36 62 35 62 37 31 30 32 65 37 37 34 31 37  5d6b5b7102e77417
64f0: 66 37 61 32 34 33 66 61 66 65 31 37 31 31 38 62  f7a243fafe17118b
6500: 37 61 33 62 62 34 39 64 31 36 35 37 63 66 36 31  7a3bb49d1657cf61
6510: 62 38 36 36 64 61 33 39 35 61 35 62 33 66 33 34  b866da395a5b3f34
6520: 39 31 38 33 61 35 33 64 66 61 31 31 66 63 30 61  9183a53dfa11fc0a
6530: 63 30 35 33 62 64 64 66 66 34 39 64 64 34 37 32  c053bddff49dd472
6540: 65 65 35 35 66 35 65 34 33 61 32 66 38 62 63 37  ee55f5e43a2f8bc7
6550: 38 35 65 32 62 63 34 32 30 33 30 30 36 39 34 39  85e2bc4203006949
6560: 31 39 66 66 37 62 62 34 33 66 65 62 37 35 61 39  19ff7bb43feb75a9
6570: 63 61 63 34 34 65 63 65 39 36 66 36 37 39 65 36  cac44ece96f679e6
6580: 31 38 64 62 35 64 37 34 33 33 61 66 31 32 64 63  18db5d7433af12dc
6590: 63 37 65 30 39 36 33 66 66 31 30 62 34 35 64 38  c7e0963ff10b45d8
65a0: 33 35 66 39 61 38 66 34 32 36 32 37 65 37 66 33  35f9a8f42627e7f3
65b0: 66 64 35 30 33 38 39 33 32 36 38 35 39 36 35 61  fd5038932685965a
65c0: 64 30 65 31 38 33 66 35 39 35 35 65 36 37 31 66  d0e183f5955e671f
65d0: 63 32 62 38 37 38 64 64 35 31 30 35 31 65 65 64  c2b878dd51051eed
65e0: 61 66 38 35 33 31 30 64 31 65 34 65 38 66 37 35  af85310d1e4e8f75
65f0: 66 32 64 65 63 66 33 36 63 37 5d 5d 7d 20 5c 0a  f2decf36c7]]} \.
6600: 09 2d 6d 61 74 63 68 20 65 78 61 63 74 20 2d 72  .-match exact -r
6610: 65 73 75 6c 74 20 66 63 31 39 39 31 35 31 35 66  esult fc1991515f
6620: 66 65 66 38 34 63 65 31 30 37 34 64 30 66 37 65  fef84ce1074d0f7e
6630: 37 63 65 39 61 32 64 64 30 62 35 36 66 61 63 62  7ce9a2dd0b56facb
6640: 61 66 34 62 35 66 32 63 36 31 37 39 36 33 63 36  af4b5f2c617963c6
6650: 64 66 33 65 61 39 63 36 64 31 32 34 32 61 62 62  df3ea9c6d1242abb
6660: 61 62 37 36 31 36 30 63 63 31 35 39 61 38 31 65  ab76160cc159a81e
6670: 35 31 66 65 66 33 33 38 33 35 35 34 36 34 32 39  51fef33835546429
6680: 62 36 62 63 30 32 36 65 34 66 30 39 31 63 38 39  b6bc026e4f091c89
6690: 61 38 61 39 65 30 37 30 37 37 34 37 66 63 38 35  a8a9e0707747fc85
66a0: 30 38 33 63 37 37 36 65 35 36 30 33 65 66 32 33  083c776e5603ef23
66b0: 38 33 63 33 65 35 65 35 61 65 34 39 33 30 31 33  83c3e5e5ae493013
66c0: 62 34 39 34 30 64 66 35 34 63 39 61 30 35 30 62  b4940df54c9a050b
66d0: 63 32 62 36 39 36 66 30 33 61 32 33 34 66 61 64  c2b696f03a234fad
66e0: 35 38 35 30 36 62 31 30 61 61 63 62 62 34 38 64  58506b10aacbb48d
66f0: 65 30 63 39 31 65 66 33 39 65 62 65 37 36 61 39  e0c91ef39ebe76a9
6700: 65 35 35 34 30 65 63 36 32 38 34 65 65 64 31 33  e5540ec6284eed13
6710: 63 63 31 37 63 37 32 64 61 64 35 34 35 35 35 61  cc17c72dad54555a
6720: 65 64 34 61 65 36 30 33 35 39 64 66 61 38 62 31  ed4ae60359dfa8b1
6730: 63 34 65 38 62 64 63 65 61 36 61 62 63 34 35 38  c4e8bdcea6abc458
6740: 64 63 31 34 35 32 61 36 32 33 64 38 66 33 66 65  dc1452a623d8f3fe
6750: 31 33 65 32 61 65 0a 0a 74 63 6c 74 65 73 74 3a  13e2ae..tcltest:
6760: 3a 74 65 73 74 20 53 79 6d 65 74 72 69 63 5f 42  :test Symetric_B
6770: 6c 6f 63 6b 5f 49 44 45 41 2d 4f 46 42 2d 31 2e  lock_IDEA-OFB-1.
6780: 34 30 20 7b 44 65 63 72 79 70 74 20 49 44 45 41  40 {Decrypt IDEA
6790: 2d 4f 46 42 7d 20 5c 0a 09 2d 63 6f 6e 73 74 72  -OFB} \..-constr
67a0: 61 69 6e 74 73 20 49 44 45 41 5f 4f 46 42 20 5c  aints IDEA_OFB \
67b0: 0a 09 2d 62 6f 64 79 20 7b 62 69 6e 61 72 79 20  ..-body {binary 
67c0: 65 6e 63 6f 64 65 20 68 65 78 20 5b 74 6c 73 3a  encode hex [tls:
67d0: 3a 64 65 63 72 79 70 74 20 2d 63 69 70 68 65 72  :decrypt -cipher
67e0: 20 49 44 45 41 2d 4f 46 42 20 2d 70 61 64 64 69   IDEA-OFB -paddi
67f0: 6e 67 20 30 20 5c 0a 09 09 20 2d 6b 65 79 20 5b  ng 0 \... -key [
6800: 62 69 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65  binary decode he
6810: 78 20 65 33 30 62 34 63 38 37 34 63 34 63 34 66  x e30b4c874c4c4f
6820: 36 65 30 63 66 31 66 38 65 66 35 38 65 35 64 33  6e0cf1f8ef58e5d3
6830: 37 35 5d 20 5c 0a 09 09 20 2d 69 76 20 5b 62 69  75] \... -iv [bi
6840: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
6850: 37 65 32 36 66 30 37 66 38 30 32 34 33 34 33 63  7e26f07f8024343c
6860: 5d 20 5c 0a 09 09 20 2d 64 61 74 61 20 5b 62 69  ] \... -data [bi
6870: 6e 61 72 79 20 64 65 63 6f 64 65 20 68 65 78 20  nary decode hex 
6880: 66 63 31 39 39 31 35 31 35 66 66 65 66 38 34 63  fc1991515ffef84c
6890: 65 31 30 37 34 64 30 66 37 65 37 63 65 39 61 32  e1074d0f7e7ce9a2
68a0: 64 64 30 62 35 36 66 61 63 62 61 66 34 62 35 66  dd0b56facbaf4b5f
68b0: 32 63 36 31 37 39 36 33 63 36 64 66 33 65 61 39  2c617963c6df3ea9
68c0: 63 36 64 31 32 34 32 61 62 62 61 62 37 36 31 36  c6d1242abbab7616
68d0: 30 63 63 31 35 39 61 38 31 65 35 31 66 65 66 33  0cc159a81e51fef3
68e0: 33 38 33 35 35 34 36 34 32 39 62 36 62 63 30 32  3835546429b6bc02
68f0: 36 65 34 66 30 39 31 63 38 39 61 38 61 39 65 30  6e4f091c89a8a9e0
6900: 37 30 37 37 34 37 66 63 38 35 30 38 33 63 37 37  707747fc85083c77
6910: 36 65 35 36 30 33 65 66 32 33 38 33 63 33 65 35  6e5603ef2383c3e5
6920: 65 35 61 65 34 39 33 30 31 33 62 34 39 34 30 64  e5ae493013b4940d
6930: 66 35 34 63 39 61 30 35 30 62 63 32 62 36 39 36  f54c9a050bc2b696
6940: 66 30 33 61 32 33 34 66 61 64 35 38 35 30 36 62  f03a234fad58506b
6950: 31 30 61 61 63 62 62 34 38 64 65 30 63 39 31 65  10aacbb48de0c91e
6960: 66 33 39 65 62 65 37 36 61 39 65 35 35 34 30 65  f39ebe76a9e5540e
6970: 63 36 32 38 34 65 65 64 31 33 63 63 31 37 63 37  c6284eed13cc17c7
6980: 32 64 61 64 35 34 35 35 35 61 65 64 34 61 65 36  2dad54555aed4ae6
6990: 30 33 35 39 64 66 61 38 62 31 63 34 65 38 62 64  0359dfa8b1c4e8bd
69a0: 63 65 61 36 61 62 63 34 35 38 64 63 31 34 35 32  cea6abc458dc1452
69b0: 61 36 32 33 64 38 66 33 66 65 31 33 65 32 61 65  a623d8f3fe13e2ae
69c0: 5d 5d 7d 20 5c 0a 09 2d 6d 61 74 63 68 20 65 78  ]]} \..-match ex
69d0: 61 63 74 20 2d 72 65 73 75 6c 74 20 38 63 65 63  act -result 8cec
69e0: 61 34 64 63 33 34 36 63 66 64 36 62 31 35 37 37  a4dc346cfd6b1577
69f0: 34 65 30 38 32 64 62 31 61 38 39 34 39 37 62 37  4e082db1a89497b7
6a00: 64 38 35 64 36 62 35 62 37 31 30 32 65 37 37 34  d85d6b5b7102e774
6a10: 31 37 66 37 61 32 34 33 66 61 66 65 31 37 31 31  17f7a243fafe1711
6a20: 38 62 37 61 33 62 62 34 39 64 31 36 35 37 63 66  8b7a3bb49d1657cf
6a30: 36 31 62 38 36 36 64 61 33 39 35 61 35 62 33 66  61b866da395a5b3f
6a40: 33 34 39 31 38 33 61 35 33 64 66 61 31 31 66 63  349183a53dfa11fc
6a50: 30 61 63 30 35 33 62 64 64 66 66 34 39 64 64 34  0ac053bddff49dd4
6a60: 37 32 65 65 35 35 66 35 65 34 33 61 32 66 38 62  72ee55f5e43a2f8b
6a70: 63 37 38 35 65 32 62 63 34 32 30 33 30 30 36 39  c785e2bc42030069
6a80: 34 39 31 39 66 66 37 62 62 34 33 66 65 62 37 35  4919ff7bb43feb75
6a90: 61 39 63 61 63 34 34 65 63 65 39 36 66 36 37 39  a9cac44ece96f679
6aa0: 65 36 31 38 64 62 35 64 37 34 33 33 61 66 31 32  e618db5d7433af12
6ab0: 64 63 63 37 65 30 39 36 33 66 66 31 30 62 34 35  dcc7e0963ff10b45
6ac0: 64 38 33 35 66 39 61 38 66 34 32 36 32 37 65 37  d835f9a8f42627e7
6ad0: 66 33 66 64 35 30 33 38 39 33 32 36 38 35 39 36  f3fd503893268596
6ae0: 35 61 64 30 65 31 38 33 66 35 39 35 35 65 36 37  5ad0e183f5955e67
6af0: 31 66 63 32 62 38 37 38 64 64 35 31 30 35 31 65  1fc2b878dd51051e
6b00: 65 64 61 66 38 35 33 31 30 64 31 65 34 65 38 66  edaf85310d1e4e8f
6b10: 37 35 66 32 64 65 63 66 33 36 63 37 0a 0a 23 20  75f2decf36c7..# 
6b20: 43 6c 65 61 6e 75 70 0a 3a 3a 74 63 6c 74 65 73  Cleanup.::tcltes
6b30: 74 3a 3a 63 6c 65 61 6e 75 70 54 65 73 74 73 0a  t::cleanupTests.
6b40: 72 65 74 75 72 6e 0a                             return.