summaryrefslogtreecommitdiff
path: root/test/tpm_test/crypto_test.xml
blob: 152f55c97f9f0ff4b1c5c03e480ed10f29aae6b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
<?xml version="1.0"?>
<!--
Copyright 2015 The Chromium OS Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.

This file describes test vectors for various encryption schemes.

Each description is encapsulated in a 'crypto_test' element. This element must
have the name property set. The name starts witht the encryption scheme's name
(say AES or DES), delimited by a colon, and followed by a three character
encryption submode, if necessary (say ECB for AES).

The rest of the attributes are self explanatory. The default format for the
clear_text element is ASCII, for the rest - hex. This default could be
overridded using the 'format' property.

The ascii strings are stripped of leading and trailing whitespace and then
joined using space as a separator. Whitespace in hes strings is ignored.

Hex values are interpreted as a set of 4 byte entities in network byte order.
Many of the crypto_test elements were borrowed from NIST test vectors.
-->
<crypto_tests>
  <crypto_test name="AES:ECB common">
    <clear_text>
      this is the text which will be encrypted if everything is going fine.
    </clear_text>
    <key>0123456789abcdef0123456789abcdef0123456789abcdef</key>
    <cipher_text>
      <!--
	  Cipher text matches the case of the clear text padded with zeros to
	  the nearest block size.
      -->
      f90fe23d ce62d9ee 57178af0 d08604c6
      7244ec3d 871879d8 6d81313f 10bb4c66
      9fe08dda ccb36763 bde8b464 c9a9b012
      9ff06d09 fbaee2a4 901cfe0d f0fee26c
      34b58f68 a9e27607 7bdd8e72 8b2b528b
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:ECB128 1">
    <clear_text format="hex">
      33221100 77665544 bbaa9988 ffeeddcc
    </clear_text>
    <key>03020100 07060504 0b0a0908 0f0e0d0c</key>
    <cipher_text>
      d8e0c469 30047b6a 80b7cdd8 5ac5b470
    </cipher_text>
  </crypto_test>
  <crypto_test name="AES:ECB192 1">
    <clear_text format="hex">
      00000000 00000000 00000000 00000000
    </clear_text>
    <key>
      6e0fd215 9f647ebc b1765bd9 badae607
      948a7c96 297f7984
    </key>
    <cipher_text>
      42184e8e 3d1a594e 76086f5b 94856ff1
    </cipher_text>
  </crypto_test>
  <crypto_test name="AES:ECB256 1">
    <clear_text format="hex">
      00000000 00000000 00000000 00000000
    </clear_text>
    <key>
      00000080 00000000 00000000 00000000
      00000000 00000000 00000000 00000000
    </key>
    <cipher_text>
      cb6d5ae3 a001b219 8afabc1e 59572ba2
    </cipher_text>
  </crypto_test>
  <crypto_test name="AES:ECB256 2">
    <clear_text format="hex">
      45249ff6 179b4fdf 7b412bad 10376ce6
    </clear_text>
    <key>
      10eb3d60 be71ca15 f0ae732b 81777d85
      072c351f d708613b a310982d f4df1409
    </key>
    <cipher_text>
      7a4b3023 fff3f939 8f8d7d06 c7ec249e
    </cipher_text>
  </crypto_test>
  <crypto_test name="AES:CTR128I 1">
    <clear_text format="hex">
      e2bec16b 969f402e 117e3de9 2a179373
    </clear_text>
    <key>
      16157e2b a6d2ae28 8815f7ab 3c4fcf09
    </key>
    <cipher_text>
      91614d87 26e320b6 6468ef1b ceb60d99
    </cipher_text>
    <iv>f3f2f1f0 f7f6f5f4 fbfaf9f8 fffefdfc</iv>
  </crypto_test>

  <crypto_test name="AES:CTR128I 2">
    <clear_text format="hex">
      8081582f 93b9e22f b62411a3 1cc78eac
      43e9160a e450aeee c03fd20f 2c857832
    </clear_text>
    <key>
      8c6b27c1 b3f18092 f782418c 0f52779d
    </key>
    <cipher_text>
      0d61fe65 927bb9db 9f9c8cc4 6287a402
      f530a9cf c892dec2 86cb6ae3 2b54fc89
    </cipher_text>
    <iv>
      00000000 00000000 00000000 FFFFFFFF
    </iv>
  </crypto_test>

  <crypto_test name="AES:CTR128I 3">
    <clear_text format="hex">
      d66dc833 7ca1d802 572c5244 a24ae3ab
      ef87947a f917ccf8 568e4d8d 5a4c46d0
    </clear_text>
    <key>
      82bee9e5 57d2cc8c fa8796d4 338eff1d
    </key>
    <cipher_text>
      4ab3cfa4 2866ae63 ea4bbc19 a041774d
      3c16e4a3 5b5589f2 ff6e2e94 6ead92ba
    </cipher_text>
    <iv>
      00000000 00000000 FFFFFFFF FFFFFFFF
    </iv>
  </crypto_test>

  <crypto_test name="AES:CTR128I 4">
    <clear_text format="hex">
      50ee7879 ff5eeb9b 8b9bbf8d 75d13193
      a61b24a3 5b3cd159 1fa0290c 67693d8c
    </clear_text>
    <key>
      ad9af8e4 dfca7c06 d61adf4c a5d845a3
    </key>
    <cipher_text>
      123b06d0 fdfcc772 a8a96688 29f40ff2
      0fcfa412 01fc81ec 15bde846 1ef15d21
    </cipher_text>
    <iv>
      00000000 FFFFFFFF FFFFFFFF FFFFFFFF
    </iv>
  </crypto_test>

  <crypto_test name="AES:CTR128I 5">
    <clear_text format="hex">
      3b0c5276 f93ae7c6 7791b673 c2af23a1
      c907cb9b 44681b6a dce78a4c f688dcb1
    </clear_text>
    <key>
      f8e5cff3 c5032a29 f1ec8fb9 d01cb31a
    </key>
    <cipher_text>
      9a74141f 8f8db10e 81e6f51e 84f571a6
      72e1d939 4b1ad600 7fd5d973 4497a688
    </cipher_text>
    <iv>
      FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    </iv>
  </crypto_test>

  <crypto_test name="AES:CTR256I 1">
    <clear_text format="hex">
      13c31e60 a5895777 04f5a7b7 28d2f3bb
    </clear_text>
    <key>
      10eb3d60 be71ca15 f0ae732b 81777d85
      072c351f d708613b a310982d f4df1409
    </key>
    <cipher_text>
      e2bec16b 969f402e 117e3de9 2a179373
    </cipher_text>
    <iv>f3f2f1f0 f7f6f5f4 fbfaf9f8 fffefdfc</iv>
  </crypto_test>

  <crypto_test name="AES:CBC128 1">
    <clear_text format="hex">
      a636839ed2b0ad1abf458f93adb6d5eb
    </clear_text>
    <key>
      1f5b102067bf5ed28c24733abceb8b17
    </key>
    <cipher_text>
      d955527cf393f7a6a2cdec0f1692104c
    </cipher_text>
    <iv>
      f67c127e03e4f4de49f690f3b953b6db
    </iv>
  </crypto_test>

  <crypto_test name="AES:CBC128 2">
    <clear_text format="hex">
      da092d3ab24b2a6b585ea1cc7cd2f9f000d06d5c5169d20d02d883eda07224f5
    </clear_text>
    <key>
      8587d0474afdd5fb265928fea02bce8b
    </key>
    <cipher_text>
      2f039d2e6324fde3778a77f011b975d6e0ac68ad12edee19308536028e7d6e0e
    </cipher_text>
    <iv>
      fd450534ab529f92567ab5c05f221ce2
    </iv>
  </crypto_test>

  <crypto_test name="AES:CBC192 1">
    <clear_text format="hex">
      9b4d5e71fed8bf8650ac1f4165a24dbf
    </clear_text>
    <key>
      1ccc3bc8256027789502909f6633488906d18472dc5668de
    </key>
    <cipher_text>
      cb0d808aecbf13aadbf9445ef31b211b
    </cipher_text>
    <iv>
      b0aa195cfdb8128cd37006f7be857d2a
    </iv>
  </crypto_test>

  <crypto_test name="AES:CBC192 2">
    <clear_text format="hex">
      796a503d47ce4f508c781b05cabdf090b10bbd35eb8f266d6aefdf9c2557d1dd
    </clear_text>
    <key>
      f24f6e0e8de446d81be04e8535cba109af54814946a58281
    </key>
    <cipher_text>
      2da16ace5b1928f892816c4564a2156110eb6427068a8b84b91d3f7e2e8ba509
    </cipher_text>
    <iv>
      72cc0e1acd9c45d80ed3aa24748a2d8b
    </iv>
  </crypto_test>

  <crypto_test name="AES:CBC256 1">
    <clear_text format="hex">
      aac63e7086300c38038512e8897c22d2
    </clear_text>
    <key>
      a0af53a1b0d721ab33888afab77c4629332dd3a6c8e6025da3a5227289dec227
    </key>
    <cipher_text>
      4b8dd68ed2ddac5a738c0ed8e881574d
    </cipher_text>
    <iv>
      187a3ea27c383d45b864036adaa27a26
    </iv>
  </crypto_test>

  <crypto_test name="AES:CBC256 2">
    <clear_text format="hex">
      02c6dc282c745fe663457d93d3dc6b8259ab14bf7c56ef1ec1ac59c9a650804d
    </clear_text>
    <key>
      5c01c80bc7206471558c157b5f0c053d9d77a0f3ea81059a1384dc9963e7fa67
    </key>
    <cipher_text>
      de4838d472a8bf060378659f073a640d4978a9602e110eb02f70dade4d49e82b
    </cipher_text>
    <iv>
      2dbb1d53de16d52185af3828884a61b3
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB128 1">
    <clear_text format="hex">
      c27e8ebe08
    </clear_text>
    <key>
      21df77a9938963824ad4fb63699b9e10
    </key>
    <cipher_text>
      93541291b3
    </cipher_text>
    <iv>
      5b906ff8038ecdf186461cde68ceb87d
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB128 2">
    <clear_text format="hex">
      1ba5fec5c8ca5f28a79ee5f531d708c2
    </clear_text>
    <key>
      db5331b06fae350196419746be3c8a99
    </key>
    <cipher_text>
      a44756b5f721ee427f2a46e53ff4d1f5
    </cipher_text>
    <iv>
      f43f8a8fe7db8f22f3627d7d594ead2f
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB128 3">
    <clear_text format="hex">
      8395cf5fa9dc4693d0489ed99ed3d79e4117441110
    </clear_text>
    <key>
      c51e8b5aaac64563fdd3edf3756f4bae
    </key>
    <cipher_text>
      229f61813f1d51524a11c17075a7999745055b3011
    </cipher_text>
    <iv>
      d4e2873e252d374f3ab8bee783e33056
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB128 4">
    <clear_text format="hex">
      a35814e166659c2fd82894bdccde6f6371025b213bde35920423a7223a09eca3
    </clear_text>
    <key>
      549ab2663df248cd6a971ea07bc4d7b1
    </key>
    <cipher_text>
      40cf3a37ca6db39340f1004a57dda9ed3d0629cc93e4facf143c62e02246d0e4
    </cipher_text>
    <iv>
      8a69c1cf5f9611c00b54478e8a27558b
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB192 1">
    <clear_text format="hex">
      86c4803c42
    </clear_text>
    <key>
      746831e7e595aa3fddcbedc1ae26f94bfce4ee40f3e1e980
    </key>
    <cipher_text>
      1856d5a500
    </cipher_text>
    <iv>
      01039108067aaa1d4a5047e15f52a9a3
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB192 2">
    <clear_text format="hex">
      369a7f259cec0ee6cff199b5098dc0ac
    </clear_text>
    <key>
      6a924856035968f0a1f99e098573085530af14165eb41c01
    </key>
    <cipher_text>
      49d28326ac3ecabe84b8658ed267beb7
    </cipher_text>
    <iv>
      944506624e812e1abd7eb0ab7fa08b05
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB192 3">
    <clear_text format="hex">
      7677dda1638143702f960d314c8b42e9ba012528d9
    </clear_text>
    <key>
      a5f67cbae2b8fdd4ade986274787e74b0c943c4bb3f8ebec
    </key>
    <cipher_text>
      4729f94311972a541de3a0c6a3808e582059db884f
    </cipher_text>
    <iv>
      511d4661e60516891d167322417d565b
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB192 4">
    <clear_text format="hex">
      2ddc71dd68cd0b01a350180216d1d4de32b620e83c77a96decc5c45b571338ab
    </clear_text>
    <key>
      f929b89472bdffa025a3a060e068734cd018e6a28071e48b
    </key>
    <cipher_text>
      21e716bd4ebc84627786d1380df8499502dc1c028361442ffbe912fd7052d197
    </cipher_text>
    <iv>
      23975ea307cc5204f29c235b61687ec1
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB256 1">
    <clear_text format="hex">
      d1657ed2b3
    </clear_text>
    <key>
      cc0e6b12df0610b91f6d33ee1f712d87ffc798c157cd11e2f52c9a50bf093371
    </key>
    <cipher_text>
      3319824a4f
    </cipher_text>
    <iv>
      b123401360708c4aa6f11f5f04e191e1
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB256 2">
    <clear_text format="hex">
      7933ff6df6c98722419edcd3011a0b6b
    </clear_text>
    <key>
      f42a206acd1c7064017cc869eed6a2807ac57e5f25edc220832e1c13daf113e1
    </key>
    <cipher_text>
      ba6b4bd81d0e6926ed83ae684c2dd829
    </cipher_text>
    <iv>
      79d679c00af714f943a1f649217d34b4
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB256 3">
    <clear_text format="hex">
      913091426fa791d9f7b822e5a5e360ca7d575943ea
    </clear_text>
    <key>
      3c65a7d551d48c9ee6e37cb3f8d1f31cee6c1369e2068843905249346bbca0fa
    </key>
    <cipher_text>
      fff98201e5fa0b08d818da9a614775c4b1e9d399a8
    </cipher_text>
    <iv>
      70998e67f207486e575b640cfd8ae59f
    </iv>
  </crypto_test>

  <crypto_test name="AES:CFB256 4">
    <clear_text format="hex">
      59ee972cefa6d30c2c3c0c6c73c189066ced4cc0d59afd0728087223d3724943
    </clear_text>
    <key>
      2826c55b27fdf41c6890a03d4113bb57ae0abb75c5b460e276edc148d3f96dc7
    </key>
    <cipher_text>
      e17c9f488be47bcc54ea366704b9a0941e6e681d8f8445bec6c358038b5169b2
    </cipher_text>
    <iv>
      c3f2173953f34012e82a3f1a6adf9b48
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB128 1">
    <clear_text format="hex">
      c69758215b
    </clear_text>
    <key>
      30499479a11899b1b6c5293528809bd3
    </key>
    <cipher_text>
      32fab4a0ac
    </cipher_text>
    <iv>
      36d1827861331652397de67d24b9f6fa
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB128 2">
    <clear_text format="hex">
      41efde8ba6e71b9b034234cb7a99b47c
    </clear_text>
    <key>
      5b966ff25d38416a701a27f686a915cf
    </key>
    <cipher_text>
      b752d8e79190e4b8491268f1456a9511
    </cipher_text>
    <iv>
      38acff7be2fdffc9314dfe410b24b3a2
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB128 3">
    <clear_text format="hex">
      49c74e50fb982a979eaf39ac2a558be1a9e5488e4b
    </clear_text>
    <key>
      49385d8eb6ea0e63cb32c9383d5c3cb6
    </key>
    <cipher_text>
      6b4f54782fae0cc337b9f806d459df35191fad0b80
    </cipher_text>
    <iv>
      b417edffedd3fc706b5b0fea19ba409b
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB128 4">
    <clear_text format="hex">
      557c59c190a96492e7e3ce9a7c06a8e33931b1ed02002cb8727c4cc93ee7fcc0
    </clear_text>
    <key>
      f458f61d05a9fff961c38cc2edbf02dc
    </key>
    <cipher_text>
      778ed8ee5ecb0d41bafea9fbfa8ab5f1f4ab34eb176e9aabab0bc86f33370233
    </cipher_text>
    <iv>
      90dfffe4e188f48eced3b2c39490530f
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB192 1">
    <clear_text format="hex">
      bb45f365fd
    </clear_text>
    <key>
      37fa0d1f182f35cb59a11df8737a0c9d0b56801372d2f7ec
    </key>
    <cipher_text>
      3e84a0d15c
    </cipher_text>
    <iv>
      b3343ff1fdef4f95944b088e218e1b72
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB192 2">
    <clear_text format="hex">
      44bd7e4e005bc3c01f3f053c7e0589d7
    </clear_text>
    <key>
      529b351bbe630dbf2d8f0c70331d57848cb773a7b70fe6cb
    </key>
    <cipher_text>
      ac3dc2b0692da4604ac51a7136111bba
    </cipher_text>
    <iv>
      9fa0ccfcd6368e9fa3ff25137c1a8112
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB192 3">
    <clear_text format="hex">
      0ff5e3ec8a978b623d72cdaf0ef94154b184161d74
    </clear_text>
    <key>
      165a62acbf5ec4a01405b4a2f90fa50575327ceb8f70eb78
    </key>
    <cipher_text>
      2e70ae41889b5d3074221fd830fc1c4774a3c53233
    </cipher_text>
    <iv>
      aa4a6b2c9682c261651836c9205efabe
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB192 4">
    <clear_text format="hex">
      4d67b3b279c79349f4ca2cea233a2c982739ee38f40ffd1a2c65c0a15b23b0a0
    </clear_text>
    <key>
      fe9a1fb428ac71ad58a5d701701db9cb385c3f366e0dc4cd
    </key>
    <cipher_text>
      c082c1156c2aaab98094c4a097f1e2d1c986062ce89e86c79420512ad313121d
    </cipher_text>
    <iv>
      db72feeeda791cfcb96b6ee6b724f986
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB256 1">
    <clear_text format="hex">
      732b346426
    </clear_text>
    <key>
      2d6f926b2954d80e58e00145a74583dcce46efc6167d7d00b7c01ab73ffa83da
    </key>
    <cipher_text>
      9626f27f3d
    </cipher_text>
    <iv>
      d987a6c6956a951218959da30e2a2169
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB256 2">
    <clear_text format="hex">
      71fd48054f6db38d33c7314c62b362c2
    </clear_text>
    <key>
      b8eee3cd1a391b59d2894dd47faa4a8266c814e95a460184b2361efd8b386a7a
    </key>
    <cipher_text>
      d221511b5691c96a03c8b0729f8fc944
    </cipher_text>
    <iv>
      e9404d883cb1fbfe4a1ed33193f9bbcf
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB256 3">
    <clear_text format="hex">
      4990a1bf14a3c56b62c32c670dbdb0d1bc2ce052d8
    </clear_text>
    <key>
      8b04f99cf4a659490673fce9e81938895210ff98eb74235c22d5fdcc70f61d96
    </key>
    <cipher_text>
      1246ec884679c1ddad53052a2daeb05f952e54a2d2
    </cipher_text>
    <iv>
      e401e83a2cf2ece54d4b15ed2805d71d
    </iv>
  </crypto_test>

  <crypto_test name="AES:OFB256 4">
    <clear_text format="hex">
      f9e4439e4eb67cce27f46417d74bcbb4d38040ac87e9ccbcfa2ad9f6ca612686
    </clear_text>
    <key>
      5f6bc2dd955f56882c890b619769114796969b7162e1bbcb1260d25f78aae0bb
    </key>
    <cipher_text>
      af05d2d2be7aeea3208e56741144f41369c98691c6e60f3ad2160bcc238d9099
    </cipher_text>
    <iv>
      b11bf6f21675a8799172a8f52ee927a1
    </iv>
  </crypto_test>

  <crypto_test name="AES:GCM128 1">
    <key>
      53c372160082fa7a468a6b4c26d0f0f6
    </key>
    <iv>
      05
    </iv>
    <tag>
      21d72a8e745f45f9313db5d88e7ef241
    </tag>
  </crypto_test>

  <crypto_test name="AES:GCM128 2">
    <key>
      74b5dd7fd041c2533aedfb3e1c374ec4
    </key>
    <iv>
      3f3a28eee37555c78748fd3e
    </iv>
    <tag>
      f91d6db396e5d5b97f8b3ef8b31c9752
    </tag>
    <clear_text format="hex">
      b442ded5256c646129bd875ca2b9d362
    </clear_text>
    <cipher_text>
      a5a4cd2c1eb95c410f2a5c13fdb2c978
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 3">
    <key>
      5571dcfeb2002d197598dd3cbaebb90d
    </key>
    <iv>
      f5746ba756171a5cb13883a0
    </iv>
    <tag>
      55c43dd28798d4ceeae817c78429ecbe
    </tag>
    <aad>
      c406d22a557e6e173688a02afa16688859e777fa
    </aad>
    <clear_text format="hex">
      5b433168f1da578848b113c5b5130d8290c42ca7989aa7bdd820f5a6d1393c76
    </clear_text>
    <cipher_text>
      0538821592a189da6f1dfc3b564d78878b12d1badedbff4da52fbbef685ec362
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 4">
    <key>
      7063be77e2c4718979cbd140eb7fd7e8
    </key>
    <iv>
      190fe0e001bad7fef397a736
    </iv>
    <tag>
      8dcc9f2093ed753666719c8e46d99d70
    </tag>
    <aad>
      1dec437a785a0a9c3365b1a0ab3c21a6
    </aad>
  </crypto_test>

  <crypto_test name="AES:GCM128 5">
    <key>
      79e8e399576e683ec585821d2b5ef764
    </key>
    <iv>
      b80addc2a86ada68230d9cad
    </iv>
    <tag>
      10ba4f3f341faf0eaaadbab0855d99e9
    </tag>
    <aad>
      2de468b6a84c444ed9fd3cb2d5ed9f5a21a58a17b0904814f53c73936c5222cf47ee17599a8041658c7a86c6fc099339
    </aad>
  </crypto_test>

  <crypto_test name="AES:GCM128 6">
    <key>
      8824a2d45c1dddf8d6a7196c4c9617ca
    </key>
    <iv>
      7f83d5f3041aac22d5d1e025
    </iv>
    <tag>
      f9ac3ef273f8cdd186c526779c6e8248
    </tag>
    <aad>
      24d4c5f1c6963fb88cb28cad470ed2a05a3b025e
    </aad>
    <clear_text format="hex">
      6a01437b97648916e67b45fb2241a5d2
    </clear_text>
    <cipher_text>
      ee67bdc2ac5ce9f56eb0e327a8d03130
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 7">
    <key>
      635c7cbd562b54b771be0ea088156a33
    </key>
    <iv>
      231f72878e3c9cbabc1a57a5
    </iv>
    <tag>
      2267b59c2e250b0d46ff7bb9f80fb0e4
    </tag>
    <aad>
      7580eca60e37d3a0188959b7483eb9f36251474499b89749a9a67fa84e849f93b7a88a003b4c9f0e28d3191ae743f56bcbfe7b12a517ada1ccfc53ecacecfa266953c7c47daa8e4963ef6a702709004dbae4119b5e3e996c0000d99e
    </aad>
    <aad_len>
      90
    </aad_len>
    <clear_text format="hex">
      bbdd15de6121201ef69aa7e8f3c65aa5
    </clear_text>
    <cipher_text>
      c028eb4162d7e4fe612397de80bc63c8
    </cipher_text>,
    </crypto_test>

  <crypto_test name="AES:GCM128 8">
    <key>
      23deefdff02b12c689b50a37734b800e
    </key>
    <iv>
      02a8d6920f679099e279de16
    </iv>
    <tag>
      9982a39d07c5cd680dc3d1941545cd41
    </tag>
    <aad>
      786db1a2c1e61d250e35ce9142f25e5c
    </aad>
    <clear_text format="hex">
      8c0a266478e97d2821756ce9000000d0
    </clear_text>
    <clear_text_len>
      13
    </clear_text_len>
    <cipher_text>
      94de78bf177c848ab4d44936000000d0
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 9">
    <key>
      dbb8d3cbce11fbfce60657341a8873cd
    </key>
    <iv>
      68bb62dc5d9aecd041679d75
    </iv>
    <tag>
      b2215a420c5890ea03349188b54b912b
    </tag>
    <aad>
      61b64409f39462fe08bb2ac959b2c17e4edc32b068285f0c636ebe1c478f17c25af32643c280cad3e785348ec852b2e5
    </aad>
    <aad_len>
      48
    </aad_len>
    <clear_text format="hex">
      f53bf8855bd5df982adebfc800000064
    </clear_text>
    <clear_text_len>
      13
    </clear_text_len>
    <cipher_text>
      3b6b6f20ecdf32b040839fd3000000b1
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 10">
    <key>
      1007719909c0ab5969bdf2e438b39d86
    </key>
    <iv>
      5ea9a9079c1e82a35132c613
    </iv>
    <tag>
      11d970781a81547ff1706934410c09de
    </tag>
    <clear_text format="hex">
      50c34bf56f4fed1fa85efb6d0bdf060182e636d85cb72562e8f622028359b359
    </clear_text>
    <cipher_text>
      59c156056cf34ef8452b60b10920b1261b6175c7c04db6ff9792cad9016a2ccd
    </cipher_text>
    </crypto_test>

  <crypto_test name="AES:GCM128 11">
    <key>
      a17cbf8fdd25d52f58621ee9c251fe73
    </key>
    <iv>
      51ea0b20a190977b5eafadcf
    </iv>
    <tag>
      7407867cb93283f8bd6bcea727a77202
    </tag>
    <aad>
      7fc014a4ec0be6e29e40cc9c6f9c899ebb8005e661c807262385f0f71bda9ce61d713a9c09359c1dc9e471176d99b9502e4fd00a10b3d1002a545358ff9fe0960fc82efc2887f88caef094f5a6984fb18b4e23882703f7fb000064b3
    </aad>
    <aad_len>
      90
    </aad_len>
    <clear_text format="hex">
      27e6d33963494b7c42160d840aaefae697dae25b554e1cf602ce57bbc4d40319
    </clear_text>
    <cipher_text>
      f78e67fe95ac696f6d3b55db7aa0d5ad51e1c89da39f6afe1662cda16878b836
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 12">
    <key>
      bb5315b6b9954885d01c75298403f8c5
    </key>
    <iv>
      99f963885de564ae5774bd0b
    </iv>
    <tag>
      4a5f9b5dc6c16898d86fbd9c4013f051
    </tag>
    <aad>
      f2b514d9e58cb0d1b39ca53e45725810
    </aad>
    <clear_text format="hex">
      32111b9beac4d01712cf4379adc6693c36973c2e75c9518c55d1454186eee1ddffcac840975c7af1136ad237f34bee7e006d0969
    </clear_text>
    <clear_text_len>
      51
    </clear_text_len>
    <cipher_text>
      63b4faac80258a2b3df11251bc82e085bd49dc89a84f169242d2daa2f2b2a1c3df2f6f695f0279f5a96e143f7de4a37d00654bc3
    </cipher_text>
  </crypto_test>

  <crypto_test name="AES:GCM128 13">
    <key>
      2862503caa50f4680c99280936ebe115
    </key>
    <iv>
      90521d81e7578d76c7b67bd8
    </iv>
    <tag>
      fc5e9bbdcd0880a47d4f3a974438722c
    </tag>
    <aad>
      e0c7e2da2bfdd3a319ca4ec0a07851b184cfb503c2280c890ff215a67f42db8a128c69707887efb2fb93110c7416cdb8
    </aad>
    <clear_text format="hex">
      f8a8d0ed19e93328bfe20f744acfde9edc726cc8ef0c4989aa83697b85fc99af7dc85c6c7c8af96327f31b86a86dea1f00ab156a
    </clear_text>
    <clear_text_len>
      51
    </clear_text_len>
    <cipher_text>
      b02514a54b3b8d6005ecd446f0da1dca8920dd2bec5405ae841c2afbdc823dc6abb9dd71490b1f1b7cd22adee773512b00a60a00
    </cipher_text>
  </crypto_test>
</crypto_tests>