1# Imported from Wycheproof's aes_gcm_test.json.
2# This file is generated by convert_wycheproof.go. Do not edit by hand.
3#
4# Algorithm: AES-GCM
5# Generator version: 0.4.12
6
7[ivSize = 96]
8[keySize = 128]
9[tagSize = 128]
10
11# tcId = 1
12aad =
13ct = 26073cc1d851beff176384dc9896d5ff
14iv = 028318abc1824029138141a2
15key = 5b9604fe14eadba931b0ccf34843dab9
16msg = 001d0c231287c1182784554ca3a21908
17result = valid
18tag = 0a3ea7a5487cb5f7d70fb6c58d038554
19
20# tcId = 2
21aad = 00112233445566778899aabbccddeeff
22ct = 49d8b9783e911913d87094d1f63cc765
23iv = 921d2507fa8007b7bd067d34
24key = 5b9604fe14eadba931b0ccf34843dab9
25msg = 001d0c231287c1182784554ca3a21908
26result = valid
27tag = 1e348ba07cca2cf04c618cb4d43a5b92
28
29# tcId = 3
30aad = aac39231129872a2
31ct = eea945f3d0f98cc0fbab472a0cf24e87
32iv = 0432bc49ac34412081288127
33key = aa023d0478dcb2b2312498293d9a9129
34msg = 2035af313d1346ab00154fea78322105
35result = valid
36tag = 4bb9b4812519dadf9e1232016d068133
37
38# tcId = 4
39aad =
40ct = 54
41iv = b30c084727ad1c592ac21d12
42key = 384ea416ac3c2f51a76e7d8226346d4e
43msg = 35
44result = valid
45tag = 7c1e4ae88bb27e5638343cb9fd3f6337
46
47# tcId = 5
48aad =
49ct = a036ead03193903f
50iv = b5e006ded553110e6dc56529
51key = cae31cd9f55526eb038241fc44cac1e5
52msg = d10989f2c52e94ad
53result = valid
54tag = 3b626940e0e9f0cbea8e18c437fd6011
55
56# tcId = 6
57aad =
58ct = 8a9992388e735f80ee18f4a63c10ad
59iv = ecb0c42f7000ef0e6f95f24d
60key = dd6197cd63c963919cf0c273ef6b28bf
61msg = 4dcc1485365866e25ac3f2ca6aba97
62result = valid
63tag = 1486a91cccf92c9a5b00f7b0e034891c
64
65# tcId = 7
66aad =
67ct = f7bd379d130477176b8bb3cb23dbbbaa
68iv = 0e1666f2dc652f7708fb8f0d
69key = ffdf4228361ea1f8165852136b3480f7
70msg = 25b12e28ac0ef6ead0226a3b2288c800
71result = valid
72tag = 1ee6513ce30c7873f59dd4350a588f42
73
74# tcId = 8
75aad =
76ct = 0de51fe4f7f2d1f0f917569f5c6d1b009c
77iv = 965ff6643116ac1443a2dec7
78key = c15ed227dd2e237ecd087eaaaad19ea4
79msg = fee62fde973fe025ad6b322dcdf3c63fc7
80result = valid
81tag = 6cd8521422c0177e83ef1b7a845d97db
82
83# tcId = 9
84aad =
85ct = 7cd9f4e4f365704fff3b9900aa93ba54b672bac554275650
86iv = fbbc04fd6e025b7193eb57f6
87key = a8ee11b26d7ceb7f17eaa1e4b83a2cf6
88msg = c08f085e6a9e0ef3636280c11ecfadf0c1e72919ffc17eaf
89result = valid
90tag = f4eb193241226db017b32ec38ca47217
91
92# tcId = 10
93aad = c3
94ct = f58d453212c2c8a436e9283672f579f119122978
95iv = 32bcb9b569e3b852d37c766a
96key = 28ff3def08179311e2734c6d1c4e2871
97msg = dfc61a20df8505b53e3cd59f25770d5018add3d6
98result = valid
99tag = 5901131d0760c8715901d881fdfd3bc0
100
101# tcId = 11
102aad = 834afdc5c737186b
103ct = bf864616c2347509ca9b10446379b9bdbb3b8f64
104iv = 9c3a4263d983456658aad4b1
105key = e63a43216c08867210e248859eb5e99c
106msg = b14da56b0462dc05b871fc815273ff4810f92f4b
107result = valid
108tag = a97d25b490390b53c5db91f6ee2a15b8
109
110# tcId = 12
111aad = 4020855c66ac4595058395f367201c4c
112ct = a6f2ef3c7ef74a126dd2d5f6673964e27d5b34b6
113iv = 33e90658416e7c1a7c005f11
114key = 38449890234eb8afab0bbf82e2385454
115msg = f762776bf83163b323ca63a6b3adeac1e1357262
116result = valid
117tag = b8bbdc4f5014bc752c8b4e9b87f650a3
118
119# tcId = 13
120aad = 76eb5f147250fa3c12bff0a6e3934a0b16860cf11646773b
121ct = bd64802cfebaeb487d3a8f76ce943a37b3472dd5
122iv = 9f0d85b605711f34cd2a35ba
123key = 6a68671dfe323d419894381f85eb63fd
124msg = 0fc67899c3f1bbe196d90f1eca3797389230aa37
125result = valid
126tag = fce9a5b530c7d7af718be1ec0ae9ed4d
127
128# tcId = 14
129# special case
130aad =
131ct = f62d84d649e56bc8cfedc5d74a51e2f7
132iv = 000000000000000000000000
133key = 00112233445566778899aabbccddeeff
134msg = ebd4a3e10cf6d41c50aeae007563b072
135result = valid
136tag = ffffffffffffffffffffffffffffffff
137
138# tcId = 15
139# special case
140aad =
141ct = 431f31e6840931fd95f94bf88296ff69
142iv = ffffffffffffffffffffffff
143key = 00112233445566778899aabbccddeeff
144msg = d593c4d8224f1b100c35e4f6c4006543
145result = valid
146tag = 00000000000000000000000000000000
147
148# tcId = 16
149# Flipped bit 0 in tag
150aad =
151ct = eb156d081ed6b6b55f4612f021d87b39
152iv = 505152535455565758595a5b
153key = 000102030405060708090a0b0c0d0e0f
154msg = 202122232425262728292a2b2c2d2e2f
155result = invalid
156tag = d9847dbc326a06e988c77ad3863e6083
157
158# tcId = 17
159# Flipped bit 1 in tag
160aad =
161ct = eb156d081ed6b6b55f4612f021d87b39
162iv = 505152535455565758595a5b
163key = 000102030405060708090a0b0c0d0e0f
164msg = 202122232425262728292a2b2c2d2e2f
165result = invalid
166tag = da847dbc326a06e988c77ad3863e6083
167
168# tcId = 18
169# Flipped bit 7 in tag
170aad =
171ct = eb156d081ed6b6b55f4612f021d87b39
172iv = 505152535455565758595a5b
173key = 000102030405060708090a0b0c0d0e0f
174msg = 202122232425262728292a2b2c2d2e2f
175result = invalid
176tag = 58847dbc326a06e988c77ad3863e6083
177
178# tcId = 19
179# Flipped bit 8 in tag
180aad =
181ct = eb156d081ed6b6b55f4612f021d87b39
182iv = 505152535455565758595a5b
183key = 000102030405060708090a0b0c0d0e0f
184msg = 202122232425262728292a2b2c2d2e2f
185result = invalid
186tag = d8857dbc326a06e988c77ad3863e6083
187
188# tcId = 20
189# Flipped bit 31 in tag
190aad =
191ct = eb156d081ed6b6b55f4612f021d87b39
192iv = 505152535455565758595a5b
193key = 000102030405060708090a0b0c0d0e0f
194msg = 202122232425262728292a2b2c2d2e2f
195result = invalid
196tag = d8847d3c326a06e988c77ad3863e6083
197
198# tcId = 21
199# Flipped bit 32 in tag
200aad =
201ct = eb156d081ed6b6b55f4612f021d87b39
202iv = 505152535455565758595a5b
203key = 000102030405060708090a0b0c0d0e0f
204msg = 202122232425262728292a2b2c2d2e2f
205result = invalid
206tag = d8847dbc336a06e988c77ad3863e6083
207
208# tcId = 22
209# Flipped bit 33 in tag
210aad =
211ct = eb156d081ed6b6b55f4612f021d87b39
212iv = 505152535455565758595a5b
213key = 000102030405060708090a0b0c0d0e0f
214msg = 202122232425262728292a2b2c2d2e2f
215result = invalid
216tag = d8847dbc306a06e988c77ad3863e6083
217
218# tcId = 23
219# Flipped bit 63 in tag
220aad =
221ct = eb156d081ed6b6b55f4612f021d87b39
222iv = 505152535455565758595a5b
223key = 000102030405060708090a0b0c0d0e0f
224msg = 202122232425262728292a2b2c2d2e2f
225result = invalid
226tag = d8847dbc326a066988c77ad3863e6083
227
228# tcId = 24
229# Flipped bit 64 in tag
230aad =
231ct = eb156d081ed6b6b55f4612f021d87b39
232iv = 505152535455565758595a5b
233key = 000102030405060708090a0b0c0d0e0f
234msg = 202122232425262728292a2b2c2d2e2f
235result = invalid
236tag = d8847dbc326a06e989c77ad3863e6083
237
238# tcId = 25
239# Flipped bit 71 in tag
240aad =
241ct = eb156d081ed6b6b55f4612f021d87b39
242iv = 505152535455565758595a5b
243key = 000102030405060708090a0b0c0d0e0f
244msg = 202122232425262728292a2b2c2d2e2f
245result = invalid
246tag = d8847dbc326a06e908c77ad3863e6083
247
248# tcId = 26
249# Flipped bit 77 in tag
250aad =
251ct = eb156d081ed6b6b55f4612f021d87b39
252iv = 505152535455565758595a5b
253key = 000102030405060708090a0b0c0d0e0f
254msg = 202122232425262728292a2b2c2d2e2f
255result = invalid
256tag = d8847dbc326a06e988e77ad3863e6083
257
258# tcId = 27
259# Flipped bit 80 in tag
260aad =
261ct = eb156d081ed6b6b55f4612f021d87b39
262iv = 505152535455565758595a5b
263key = 000102030405060708090a0b0c0d0e0f
264msg = 202122232425262728292a2b2c2d2e2f
265result = invalid
266tag = d8847dbc326a06e988c77bd3863e6083
267
268# tcId = 28
269# Flipped bit 96 in tag
270aad =
271ct = eb156d081ed6b6b55f4612f021d87b39
272iv = 505152535455565758595a5b
273key = 000102030405060708090a0b0c0d0e0f
274msg = 202122232425262728292a2b2c2d2e2f
275result = invalid
276tag = d8847dbc326a06e988c77ad3873e6083
277
278# tcId = 29
279# Flipped bit 97 in tag
280aad =
281ct = eb156d081ed6b6b55f4612f021d87b39
282iv = 505152535455565758595a5b
283key = 000102030405060708090a0b0c0d0e0f
284msg = 202122232425262728292a2b2c2d2e2f
285result = invalid
286tag = d8847dbc326a06e988c77ad3843e6083
287
288# tcId = 30
289# Flipped bit 103 in tag
290aad =
291ct = eb156d081ed6b6b55f4612f021d87b39
292iv = 505152535455565758595a5b
293key = 000102030405060708090a0b0c0d0e0f
294msg = 202122232425262728292a2b2c2d2e2f
295result = invalid
296tag = d8847dbc326a06e988c77ad3063e6083
297
298# tcId = 31
299# Flipped bit 120 in tag
300aad =
301ct = eb156d081ed6b6b55f4612f021d87b39
302iv = 505152535455565758595a5b
303key = 000102030405060708090a0b0c0d0e0f
304msg = 202122232425262728292a2b2c2d2e2f
305result = invalid
306tag = d8847dbc326a06e988c77ad3863e6082
307
308# tcId = 32
309# Flipped bit 121 in tag
310aad =
311ct = eb156d081ed6b6b55f4612f021d87b39
312iv = 505152535455565758595a5b
313key = 000102030405060708090a0b0c0d0e0f
314msg = 202122232425262728292a2b2c2d2e2f
315result = invalid
316tag = d8847dbc326a06e988c77ad3863e6081
317
318# tcId = 33
319# Flipped bit 126 in tag
320aad =
321ct = eb156d081ed6b6b55f4612f021d87b39
322iv = 505152535455565758595a5b
323key = 000102030405060708090a0b0c0d0e0f
324msg = 202122232425262728292a2b2c2d2e2f
325result = invalid
326tag = d8847dbc326a06e988c77ad3863e60c3
327
328# tcId = 34
329# Flipped bit 127 in tag
330aad =
331ct = eb156d081ed6b6b55f4612f021d87b39
332iv = 505152535455565758595a5b
333key = 000102030405060708090a0b0c0d0e0f
334msg = 202122232425262728292a2b2c2d2e2f
335result = invalid
336tag = d8847dbc326a06e988c77ad3863e6003
337
338# tcId = 35
339# Flipped bits 0 and 64 in tag
340aad =
341ct = eb156d081ed6b6b55f4612f021d87b39
342iv = 505152535455565758595a5b
343key = 000102030405060708090a0b0c0d0e0f
344msg = 202122232425262728292a2b2c2d2e2f
345result = invalid
346tag = d9847dbc326a06e989c77ad3863e6083
347
348# tcId = 36
349# Flipped bits 31 and 63 in tag
350aad =
351ct = eb156d081ed6b6b55f4612f021d87b39
352iv = 505152535455565758595a5b
353key = 000102030405060708090a0b0c0d0e0f
354msg = 202122232425262728292a2b2c2d2e2f
355result = invalid
356tag = d8847d3c326a066988c77ad3863e6083
357
358# tcId = 37
359# Flipped bits 63 and 127 in tag
360aad =
361ct = eb156d081ed6b6b55f4612f021d87b39
362iv = 505152535455565758595a5b
363key = 000102030405060708090a0b0c0d0e0f
364msg = 202122232425262728292a2b2c2d2e2f
365result = invalid
366tag = d8847dbc326a066988c77ad3863e6003
367
368# tcId = 38
369# all bits of tag flipped
370aad =
371ct = eb156d081ed6b6b55f4612f021d87b39
372iv = 505152535455565758595a5b
373key = 000102030405060708090a0b0c0d0e0f
374msg = 202122232425262728292a2b2c2d2e2f
375result = invalid
376tag = 277b8243cd95f9167738852c79c19f7c
377
378# tcId = 39
379# Tag changed to all zero
380aad =
381ct = eb156d081ed6b6b55f4612f021d87b39
382iv = 505152535455565758595a5b
383key = 000102030405060708090a0b0c0d0e0f
384msg = 202122232425262728292a2b2c2d2e2f
385result = invalid
386tag = 00000000000000000000000000000000
387
388# tcId = 40
389# tag changed to all 1
390aad =
391ct = eb156d081ed6b6b55f4612f021d87b39
392iv = 505152535455565758595a5b
393key = 000102030405060708090a0b0c0d0e0f
394msg = 202122232425262728292a2b2c2d2e2f
395result = invalid
396tag = ffffffffffffffffffffffffffffffff
397
398# tcId = 41
399# msbs changed in tag
400aad =
401ct = eb156d081ed6b6b55f4612f021d87b39
402iv = 505152535455565758595a5b
403key = 000102030405060708090a0b0c0d0e0f
404msg = 202122232425262728292a2b2c2d2e2f
405result = invalid
406tag = 5804fd3cb2ea86690847fa5306bee003
407
408# tcId = 42
409# lsbs changed in tag
410aad =
411ct = eb156d081ed6b6b55f4612f021d87b39
412iv = 505152535455565758595a5b
413key = 000102030405060708090a0b0c0d0e0f
414msg = 202122232425262728292a2b2c2d2e2f
415result = invalid
416tag = d9857cbd336b07e889c67bd2873f6182
417
418[ivSize = 64]
419[keySize = 128]
420[tagSize = 128]
421
422# tcId = 43
423aad = aac39231129872a2
424ct = 64c36bb3b732034e3a7d04efc5197785
425iv = 0432bc49ac344120
426key = aa023d0478dcb2b2312498293d9a9129
427msg = 2035af313d1346ab00154fea78322105
428result = valid
429tag = b7d0dd70b00d65b97cfd080ff4b819d1
430
431# tcId = 44
432# unusual IV size
433aad =
434ct = 9a078a04d14938918e004358
435iv = 68cbeafe8f9e8a66
436key = 25dd4d6cad5a4604957847c8c6d3fc4e
437msg = 5c347835b3fa61c2ce253e5a
438result = valid
439tag = 5452843e32c13c3e35ed8230fe3446c0
440
441[ivSize = 128]
442[keySize = 128]
443[tagSize = 128]
444
445# tcId = 45
446aad = 1a0293d8f90219058902139013908190bc490890d3ff12a3
447ct = 64069c2d58690561f27ee199e6b479b6369eec688672bde9
448iv = 3254202d854734812398127a3d134421
449key = 2034a82547276c83dd3212a813572bce
450msg = 02efd2e5782312827ed5d230189a2a342b277ce048462193
451result = valid
452tag = 9b7abadd6e69c1d9ec925786534f5075
453
454# tcId = 46
455aad =
456ct = fd
457iv = 9477849d6ccdfca112d92e53fae4a7ca
458key = 209e6dbf2ad26a105445fc0207cd9e9a
459msg = 01
460result = valid
461tag = 032df7bba5d8ea1a14f16f70bd0e14ec
462
463# tcId = 47
464aad =
465ct = 2f333087bdca58219f9bfc273e45cc
466iv = 5171524568e81d97e8c4de4ba56c10a0
467key = a549442e35154032d07c8666006aa6a2
468msg = 1182e93596cac5608946400bc73f3a
469result = valid
470tag = e06d1ef473132957ad37eaef29733ca0
471
472# tcId = 48
473aad =
474ct = a780bd01c80885156c88a973264c8ee5
475iv = 1275115499ae722268515bf0c164b49c
476key = cfb4c26f126f6a0acb8e4e220f6c56cd
477msg = 09dfd7f080275257cf97e76f966b1ad9
478result = valid
479tag = 2adeffa682c8d8a81fada7d9fcdd2ee2
480
481# tcId = 49
482aad =
483ct = 7e47e10fe3c6fbfa381770eaf5d48d1482e71e0c44dff1e30ca6f95d92052084
484iv = 95c1dd8c0f1705ece68937901f7add7b
485key = 0b11ef3a08c02970f74281c860691c75
486msg = f693d4edd825dbb0618d91113128880dbebb23e25d00ed1f077d870be9cc7536
487result = valid
488tag = d01444fa5d9c499629d174ff3927a1ac
489
490# tcId = 50
491# J0:000102030405060708090a0b0c0d0e0f
492aad =
493ct = 00078d109d92143fcd5df56721b884fac64ac7762cc09eea2a3c68e92a17bdb575f87bda18be564e
494iv = f95fde4a751913202aeeee32a0b55753
495key = 00112233445566778899aabbccddeeff
496msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
497result = valid
498tag = 152a65045fe674f97627427af5be22da
499# The counter for AES-GCM is reduced modulo 2**32. This test vector was
500# constructed to test for correct wrapping of the counter.
501
502# tcId = 51
503# J0:00000000000000000000000000000000
504aad =
505ct = 84d4c9c08b4f482861e3a9c6c35bc4d91df927374513bfd49f436bd73f325285daef4ff7e13d46a6
506iv = 7b95b8c356810a84711d68150a1b7750
507key = 00112233445566778899aabbccddeeff
508msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
509result = valid
510tag = 213a3cb93855d18e69337eee66aeec07
511# The counter for AES-GCM is reduced modulo 2**32. This test vector was
512# constructed to test for correct wrapping of the counter.
513
514# tcId = 52
515# J0:ffffffffffffffffffffffffffffffff
516aad =
517ct = 948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc3c60ad5a949886de968cf53ea6462aed
518iv = 1a552e67cdc4dc1a33b824874ebf0bed
519key = 00112233445566778899aabbccddeeff
520msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
521result = valid
522tag = 99b381bfa2af9751c39d1b6e86d1be6a
523# The counter for AES-GCM is reduced modulo 2**32. This test vector was
524# constructed to test for correct wrapping of the counter.
525
526# tcId = 53
527# J0:fffffffffffffffffffffffffffffffe
528aad =
529ct = 64b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e88aeffb1c598f3607007702417ea0e0bc
530iv = dd9d0b4a0c3d681524bffca31d907661
531key = 00112233445566778899aabbccddeeff
532msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
533result = valid
534tag = 5281efc7f13ac8e14ccf5dca7bfbfdd1
535# The counter for AES-GCM is reduced modulo 2**32. This test vector was
536# constructed to test for correct wrapping of the counter.
537
538# tcId = 54
539# J0:fffffffffffffffffffffffffffffffd
540aad =
541ct = 2bb69c3e5d1f91815c6b87a0d5bbea7164b19314c31af45accdf7e3c4db79f0d948ca37a8e6649e8
542iv = 57c5643c4e37b4041db794cfe8e1f0f4
543key = 00112233445566778899aabbccddeeff
544msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
545result = valid
546tag = a3ea2c09ee4f8c8a12f45cddf9aeff81
547# The counter for AES-GCM is reduced modulo 2**32. This test vector was
548# constructed to test for correct wrapping of the counter.
549
550# tcId = 55
551# J0:000102030405060708090a0bffffffff
552aad =
553ct = 127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4af37d0fe9af033052bd537c4ae978f60
554iv = 99821c2dd5daecded07300f577f7aff1
555key = 00112233445566778899aabbccddeeff
556msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
557result = valid
558tag = 07eb2fe4a958f8434d40684899507c7c
559# The counter for AES-GCM is reduced modulo 2**32. This test vector was
560# constructed to test for correct wrapping of the counter.
561
562# tcId = 56
563# J0:000102030405060708090a0bfffffffe
564aad =
565ct = 0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57bb11a2847c7c2d3d8f938f40f877e0c4
566iv = 5e4a3900142358d1c774d8d124d8d27d
567key = 00112233445566778899aabbccddeeff
568msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
569result = valid
570tag = f145c2dcaf339eede427be934357eac0
571# The counter for AES-GCM is reduced modulo 2**32. This test vector was
572# constructed to test for correct wrapping of the counter.
573
574# tcId = 57
575# J0:000102030405060708090a0bfffffffd
576aad =
577ct = f0c6ffc18bd46df5569185a9afd169eb0cf6ae47156b14dce03c8a07a2e172b1127af9b39ecdfc57
578iv = d4125676562984c0fe7cb0bdd1a954e8
579key = 00112233445566778899aabbccddeeff
580msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
581result = valid
582tag = facd0bfe8701b7b4a2ba96d98af52bd9
583# The counter for AES-GCM is reduced modulo 2**32. This test vector was
584# constructed to test for correct wrapping of the counter.
585
586# tcId = 58
587# J0:000102030405060708090a0b7fffffff
588aad =
589ct = d6928e094c06e0a7c4db42184cf7529e95de88b767edebe9b343000be3dab47ea08b744293eed698
590iv = b97ec62a5e5900ccf9e4be332e336091
591key = 00112233445566778899aabbccddeeff
592msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
593result = valid
594tag = a03e729dcfd7a03155655fece8affd7e
595# The counter for AES-GCM is reduced modulo 2**32. This test vector was
596# constructed to test for correct wrapping of the counter.
597
598# tcId = 59
599# J0:000102030405060708090a0b7ffffffe
600aad =
601ct = d82ce58771bf6487116bf8e96421877ed6928e094c06e0a7c4db42184cf7529e95de88b767edebe9
602iv = 7eb6e3079fa0b4c3eee366177d1c1d1d
603key = 00112233445566778899aabbccddeeff
604msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
605result = valid
606tag = 1e43926828bc9a1614c7b1639096c195
607# The counter for AES-GCM is reduced modulo 2**32. This test vector was
608# constructed to test for correct wrapping of the counter.
609
610# tcId = 60
611# J0:000102030405060708090a0bffff7fff
612aad =
613ct = a197a37a5d79697078536bc27fe46cd8d475526d9044aa94f088a054f8e380c64f79414795c61480
614iv = 0314fcd10fdd675d3c612962c931f635
615key = 00112233445566778899aabbccddeeff
616msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
617result = valid
618tag = f08baddf0b5285c91fc06a67fe4708ca
619# The counter for AES-GCM is reduced modulo 2**32. This test vector was
620# constructed to test for correct wrapping of the counter.
621
622# tcId = 61
623# J0:000102030405060708090a0bffff7ffe
624aad =
625ct = 149fde9abbd3a43c2548575e0db9fb84a197a37a5d79697078536bc27fe46cd8d475526d9044aa94
626iv = c4dcd9fcce24d3522b66f1469a1e8bb9
627key = 00112233445566778899aabbccddeeff
628msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
629result = valid
630tag = 62a4b6875c288345d6a454399eac1afa
631# The counter for AES-GCM is reduced modulo 2**32. This test vector was
632# constructed to test for correct wrapping of the counter.
633
634# tcId = 62
635# special case
636aad =
637ct = 45a3f89d02918bfd0c8161658ccc9795
638iv = 00000000000000000000000000000000
639key = 00112233445566778899aabbccddeeff
640msg = bec6fa05c1718b9b84c47345bbed7dcb
641result = valid
642tag = 00000000000000000000000000000000
643
644# tcId = 63
645# special case
646aad =
647ct = 1cd5a06214235ceb044d4bad7b047312
648iv = ffffffffffffffffffffffffffffffff
649key = 00112233445566778899aabbccddeeff
650msg = 4d82639c39d3f3490ee903dd0be7afcf
651result = valid
652tag = ffffffffffffffffffffffffffffffff
653
654[ivSize = 96]
655[keySize = 256]
656[tagSize = 128]
657
658# tcId = 64
659aad = 00000000ffffffff
660ct = e27abdd2d2a53d2f136b
661iv = 00112233445566778899aabb
662key = 92ace3e348cd821092cd921aa3546374299ab46209691bc28b8752d17f123c20
663msg = 00010203040506070809
664result = valid
665tag = 9a4a2579529301bcfb71c78d4060f52c
666
667# tcId = 65
668aad = aabbccddeeff
669ct =
670iv = 00112233445566778899aabb
671key = 29d3a44f8723dc640239100c365423a312934ac80239212ac3df3421a2098123
672msg =
673result = valid
674tag = 2a7d77fa526b8250cb296078926b5020
675
676# tcId = 66
677aad =
678ct = 06
679iv = 99e23ec48985bccdeeab60f1
680key = cc56b680552eb75008f5484b4cb803fa5063ebd6eab91f6ab6aef4916a766273
681msg = 2a
682result = valid
683tag = 633c1e9703ef744ffffb40edf9d14355
684
685# tcId = 67
686aad =
687ct = cf332a12fdee800b
688iv = 4f07afedfdc3b6c2361823d3
689key = 51e4bf2bad92b7aff1a4bc05550ba81df4b96fabf41c12c7b00e60e48db7e152
690msg = be3308f72a2c6aed
691result = valid
692tag = 602e8d7c4799d62c140c9bb834876b09
693
694# tcId = 68
695aad =
696ct = 43fc101bff4b32bfadd3daf57a590e
697iv = 68ab7fdbf61901dad461d23c
698key = 67119627bd988eda906219e08c0d0d779a07d208ce8a4fe0709af755eeec6dcb
699msg = 51f8c1f731ea14acdb210a6d973e07
700result = valid
701tag = ec04aacb7148a8b8be44cb7eaf4efa69
702
703# tcId = 69
704aad =
705ct = f58c16690122d75356907fd96b570fca
706iv = 2fcb1b38a99e71b84740ad9b
707key = 59d4eafb4de0cfc7d3db99a8f54b15d7b39f0acc8da69763b019c1699f87674a
708msg = 549b365af913f3b081131ccb6b825588
709result = valid
710tag = 28752c20153092818faba2a334640d6e
711
712# tcId = 70
713aad =
714ct = 73a6b6f45f6ccc5131e07f2caa1f2e2f56
715iv = 45aaa3e5d16d2d42dc03445d
716key = 3b2458d8176e1621c0cc24c0c0e24c1e80d72f7ee9149a4b166176629616d011
717msg = 3ff1514b1c503915918f0c0c31094a6e1f
718result = valid
719tag = 2d7379ec1db5952d4e95d30c340b1b1d
720
721# tcId = 71
722aad =
723ct = 0843fff52d934fc7a071ea62c0bd351ce85678cde3ea2c9e
724iv = e6b1adf2fd58a8762c65f31b
725key = 0212a8de5007ed87b33f1a7090b6114f9e08cefd9607f2c276bdcfdbc5ce9cd7
726msg = 10f1ecf9c60584665d9ae5efe279e7f7377eea6916d2b111
727result = valid
728tag = 7355fde599006715053813ce696237a8
729
730# tcId = 72
731aad = c0
732ct = eb5500e3825952866d911253f8de860c00831c81
733iv = 98bc2c7438d5cd7665d76f6e
734key = b279f57e19c8f53f2f963f5f2519fdb7c1779be2ca2b3ae8e1128b7d6c627fc4
735msg = fcc515b294408c8645c9183e3f4ecee5127846d1
736result = valid
737tag = ecb660e1fb0541ec41e8d68a64141b3a
738
739# tcId = 73
740aad = 956846a209e087ed
741ct = feca44952447015b5df1f456df8ca4bb4eee2ce2
742iv = 376187894605a8d45e30de51
743key = cdccfe3f46d782ef47df4e72f0c02d9c7f774def970d23486f11a57f54247f17
744msg = e28e0e9f9d22463ac0e42639b530f42102fded75
745result = valid
746tag = 082e91924deeb77880e1b1c84f9b8d30
747
748# tcId = 74
749aad = ab2ac7c44c60bdf8228c7884adb20184
750ct = 43dda832e942e286da314daa99bef5071d9d2c78
751iv = 5a86a50a0e8a179c734b996d
752key = f32364b1d339d82e4f132d8f4a0ec1ff7e746517fa07ef1a7f422f4e25a48194
753msg = 43891bccb522b1e72a6b53cf31c074e9d6c2df8e
754result = valid
755tag = c3922583476ced575404ddb85dd8cd44
756
757# tcId = 75
758aad = 972ab4e06390caae8f99dd6e2187be6c7ff2c08a24be16ef
759ct = a929ee7e67c7a2f91bbcec6389a3caf43ab49305
760iv = bc2a7757d0ce2d8b1f14ccd9
761key = ff0089ee870a4a39f645b0a5da774f7a5911e9696fc9cad646452c2aa8595a12
762msg = 748b28031621d95ee61812b4b4f47d04c6fc2ff3
763result = valid
764tag = ebec6774b955e789591c822dab739e12
765
766# tcId = 76
767# special case
768aad =
769ct = 23293e9b07ca7d1b0cae7cc489a973b3
770iv = 000000000000000000000000
771key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
772msg = 561008fa07a68f5c61285cd013464eaf
773result = valid
774tag = ffffffffffffffffffffffffffffffff
775
776# tcId = 77
777# special case
778aad =
779ct = 7cb6fc7c6abc009efe9551a99f36a421
780iv = ffffffffffffffffffffffff
781key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
782msg = c6152244cea1978d3e0bc274cf8c0b3b
783result = valid
784tag = 00000000000000000000000000000000
785
786# tcId = 78
787# Flipped bit 0 in tag
788aad =
789ct = b2061457c0759fc1749f174ee1ccadfa
790iv = 505152535455565758595a5b
791key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
792msg = 202122232425262728292a2b2c2d2e2f
793result = invalid
794tag = 9de8fef6d8ab1bf1bf887232eab590dd
795
796# tcId = 79
797# Flipped bit 1 in tag
798aad =
799ct = b2061457c0759fc1749f174ee1ccadfa
800iv = 505152535455565758595a5b
801key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
802msg = 202122232425262728292a2b2c2d2e2f
803result = invalid
804tag = 9ee8fef6d8ab1bf1bf887232eab590dd
805
806# tcId = 80
807# Flipped bit 7 in tag
808aad =
809ct = b2061457c0759fc1749f174ee1ccadfa
810iv = 505152535455565758595a5b
811key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
812msg = 202122232425262728292a2b2c2d2e2f
813result = invalid
814tag = 1ce8fef6d8ab1bf1bf887232eab590dd
815
816# tcId = 81
817# Flipped bit 8 in tag
818aad =
819ct = b2061457c0759fc1749f174ee1ccadfa
820iv = 505152535455565758595a5b
821key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
822msg = 202122232425262728292a2b2c2d2e2f
823result = invalid
824tag = 9ce9fef6d8ab1bf1bf887232eab590dd
825
826# tcId = 82
827# Flipped bit 31 in tag
828aad =
829ct = b2061457c0759fc1749f174ee1ccadfa
830iv = 505152535455565758595a5b
831key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
832msg = 202122232425262728292a2b2c2d2e2f
833result = invalid
834tag = 9ce8fe76d8ab1bf1bf887232eab590dd
835
836# tcId = 83
837# Flipped bit 32 in tag
838aad =
839ct = b2061457c0759fc1749f174ee1ccadfa
840iv = 505152535455565758595a5b
841key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
842msg = 202122232425262728292a2b2c2d2e2f
843result = invalid
844tag = 9ce8fef6d9ab1bf1bf887232eab590dd
845
846# tcId = 84
847# Flipped bit 33 in tag
848aad =
849ct = b2061457c0759fc1749f174ee1ccadfa
850iv = 505152535455565758595a5b
851key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
852msg = 202122232425262728292a2b2c2d2e2f
853result = invalid
854tag = 9ce8fef6daab1bf1bf887232eab590dd
855
856# tcId = 85
857# Flipped bit 63 in tag
858aad =
859ct = b2061457c0759fc1749f174ee1ccadfa
860iv = 505152535455565758595a5b
861key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
862msg = 202122232425262728292a2b2c2d2e2f
863result = invalid
864tag = 9ce8fef6d8ab1b71bf887232eab590dd
865
866# tcId = 86
867# Flipped bit 64 in tag
868aad =
869ct = b2061457c0759fc1749f174ee1ccadfa
870iv = 505152535455565758595a5b
871key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
872msg = 202122232425262728292a2b2c2d2e2f
873result = invalid
874tag = 9ce8fef6d8ab1bf1be887232eab590dd
875
876# tcId = 87
877# Flipped bit 71 in tag
878aad =
879ct = b2061457c0759fc1749f174ee1ccadfa
880iv = 505152535455565758595a5b
881key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
882msg = 202122232425262728292a2b2c2d2e2f
883result = invalid
884tag = 9ce8fef6d8ab1bf13f887232eab590dd
885
886# tcId = 88
887# Flipped bit 77 in tag
888aad =
889ct = b2061457c0759fc1749f174ee1ccadfa
890iv = 505152535455565758595a5b
891key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
892msg = 202122232425262728292a2b2c2d2e2f
893result = invalid
894tag = 9ce8fef6d8ab1bf1bfa87232eab590dd
895
896# tcId = 89
897# Flipped bit 80 in tag
898aad =
899ct = b2061457c0759fc1749f174ee1ccadfa
900iv = 505152535455565758595a5b
901key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
902msg = 202122232425262728292a2b2c2d2e2f
903result = invalid
904tag = 9ce8fef6d8ab1bf1bf887332eab590dd
905
906# tcId = 90
907# Flipped bit 96 in tag
908aad =
909ct = b2061457c0759fc1749f174ee1ccadfa
910iv = 505152535455565758595a5b
911key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
912msg = 202122232425262728292a2b2c2d2e2f
913result = invalid
914tag = 9ce8fef6d8ab1bf1bf887232ebb590dd
915
916# tcId = 91
917# Flipped bit 97 in tag
918aad =
919ct = b2061457c0759fc1749f174ee1ccadfa
920iv = 505152535455565758595a5b
921key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
922msg = 202122232425262728292a2b2c2d2e2f
923result = invalid
924tag = 9ce8fef6d8ab1bf1bf887232e8b590dd
925
926# tcId = 92
927# Flipped bit 103 in tag
928aad =
929ct = b2061457c0759fc1749f174ee1ccadfa
930iv = 505152535455565758595a5b
931key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
932msg = 202122232425262728292a2b2c2d2e2f
933result = invalid
934tag = 9ce8fef6d8ab1bf1bf8872326ab590dd
935
936# tcId = 93
937# Flipped bit 120 in tag
938aad =
939ct = b2061457c0759fc1749f174ee1ccadfa
940iv = 505152535455565758595a5b
941key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
942msg = 202122232425262728292a2b2c2d2e2f
943result = invalid
944tag = 9ce8fef6d8ab1bf1bf887232eab590dc
945
946# tcId = 94
947# Flipped bit 121 in tag
948aad =
949ct = b2061457c0759fc1749f174ee1ccadfa
950iv = 505152535455565758595a5b
951key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
952msg = 202122232425262728292a2b2c2d2e2f
953result = invalid
954tag = 9ce8fef6d8ab1bf1bf887232eab590df
955
956# tcId = 95
957# Flipped bit 126 in tag
958aad =
959ct = b2061457c0759fc1749f174ee1ccadfa
960iv = 505152535455565758595a5b
961key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
962msg = 202122232425262728292a2b2c2d2e2f
963result = invalid
964tag = 9ce8fef6d8ab1bf1bf887232eab5909d
965
966# tcId = 96
967# Flipped bit 127 in tag
968aad =
969ct = b2061457c0759fc1749f174ee1ccadfa
970iv = 505152535455565758595a5b
971key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
972msg = 202122232425262728292a2b2c2d2e2f
973result = invalid
974tag = 9ce8fef6d8ab1bf1bf887232eab5905d
975
976# tcId = 97
977# Flipped bits 0 and 64 in tag
978aad =
979ct = b2061457c0759fc1749f174ee1ccadfa
980iv = 505152535455565758595a5b
981key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
982msg = 202122232425262728292a2b2c2d2e2f
983result = invalid
984tag = 9de8fef6d8ab1bf1be887232eab590dd
985
986# tcId = 98
987# Flipped bits 31 and 63 in tag
988aad =
989ct = b2061457c0759fc1749f174ee1ccadfa
990iv = 505152535455565758595a5b
991key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
992msg = 202122232425262728292a2b2c2d2e2f
993result = invalid
994tag = 9ce8fe76d8ab1b71bf887232eab590dd
995
996# tcId = 99
997# Flipped bits 63 and 127 in tag
998aad =
999ct = b2061457c0759fc1749f174ee1ccadfa
1000iv = 505152535455565758595a5b
1001key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1002msg = 202122232425262728292a2b2c2d2e2f
1003result = invalid
1004tag = 9ce8fef6d8ab1b71bf887232eab5905d
1005
1006# tcId = 100
1007# all bits of tag flipped
1008aad =
1009ct = b2061457c0759fc1749f174ee1ccadfa
1010iv = 505152535455565758595a5b
1011key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1012msg = 202122232425262728292a2b2c2d2e2f
1013result = invalid
1014tag = 631701092754e40e40778dcd154a6f22
1015
1016# tcId = 101
1017# Tag changed to all zero
1018aad =
1019ct = b2061457c0759fc1749f174ee1ccadfa
1020iv = 505152535455565758595a5b
1021key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1022msg = 202122232425262728292a2b2c2d2e2f
1023result = invalid
1024tag = 00000000000000000000000000000000
1025
1026# tcId = 102
1027# tag changed to all 1
1028aad =
1029ct = b2061457c0759fc1749f174ee1ccadfa
1030iv = 505152535455565758595a5b
1031key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1032msg = 202122232425262728292a2b2c2d2e2f
1033result = invalid
1034tag = ffffffffffffffffffffffffffffffff
1035
1036# tcId = 103
1037# msbs changed in tag
1038aad =
1039ct = b2061457c0759fc1749f174ee1ccadfa
1040iv = 505152535455565758595a5b
1041key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1042msg = 202122232425262728292a2b2c2d2e2f
1043result = invalid
1044tag = 1c687e76582b9b713f08f2b26a35105d
1045
1046# tcId = 104
1047# lsbs changed in tag
1048aad =
1049ct = b2061457c0759fc1749f174ee1ccadfa
1050iv = 505152535455565758595a5b
1051key = 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
1052msg = 202122232425262728292a2b2c2d2e2f
1053result = invalid
1054tag = 9de9fff7d9aa1af0be897333ebb491dc
1055
1056[ivSize = 128]
1057[keySize = 192]
1058[tagSize = 128]
1059
1060# tcId = 105
1061# J0:000102030405060708090a0b0c0d0e0f
1062aad =
1063ct = f83cee467336e1a09b75f24e9b4385c99c13e6af722256a66129ece961fe803b167bad206f5017fb
1064iv = 029e0e777db092b12535d043012f09ba
1065key = 00112233445566778899aabbccddeeff1021324354657687
1066msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1067result = valid
1068tag = 09338a42f0acc14f97c064f52f5f1688
1069# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1070# constructed to test for correct wrapping of the counter.
1071
1072# tcId = 106
1073# J0:00000000000000000000000000000000
1074aad =
1075ct = 0b32b648a2c28e9edd7cee08eeeb900034cae7215e5ab1e201bd2eed1032c5a97866ba582a3458a4
1076iv = f1be3b06b7feac07e7eab629f556047b
1077key = 00112233445566778899aabbccddeeff1021324354657687
1078msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1079result = valid
1080tag = 90be3606de58bd778fa5beff4a4102bd
1081# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1082# constructed to test for correct wrapping of the counter.
1083
1084# tcId = 107
1085# J0:ffffffffffffffffffffffffffffffff
1086aad =
1087ct = 575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d8d23434de2cd07733be49d62ac1ae085
1088iv = de9eb63b1daed321a11b7547cc9e223c
1089key = 00112233445566778899aabbccddeeff1021324354657687
1090msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1091result = valid
1092tag = 6e4d6396125a10df5443bd0cbc8566d1
1093# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1094# constructed to test for correct wrapping of the counter.
1095
1096# tcId = 108
1097# J0:fffffffffffffffffffffffffffffffe
1098aad =
1099ct = 2a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d4e80830d0d859ad9e42c29c4a68d8d9d
1100iv = 40bb0abebc483ff6d5671241ff5d66c6
1101key = 00112233445566778899aabbccddeeff1021324354657687
1102msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1103result = valid
1104tag = dc481f172545268eff63ab0490403dc3
1105# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1106# constructed to test for correct wrapping of the counter.
1107
1108# tcId = 109
1109# J0:fffffffffffffffffffffffffffffffd
1110aad =
1111ct = 96d36b795f8e7edf6a8e0dbcd20d6c072a818888d1f09f32aa7beedd2869b446575e2ecec2b3c72d
1112iv = 20d5cf305e630a8f49e3bb4bab18abc9
1113key = 00112233445566778899aabbccddeeff1021324354657687
1114msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1115result = valid
1116tag = 8a3a22bf2592958b930292aa47f590e8
1117# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1118# constructed to test for correct wrapping of the counter.
1119
1120# tcId = 110
1121# J0:000102030405060708090a0bffffffff
1122aad =
1123ct = cfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f41303c46d5c7bf9ca4c2c45a8f1e6656
1124iv = 255358a71a0e5731f6dd6ce28e158ae6
1125key = 00112233445566778899aabbccddeeff1021324354657687
1126msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1127result = valid
1128tag = 2db9dc1b7fd315df1c95432432fcf474
1129# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1130# constructed to test for correct wrapping of the counter.
1131
1132# tcId = 111
1133# J0:000102030405060708090a0bfffffffe
1134aad =
1135ct = 69a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0bb49a751955b236d1b887baefd25c47f
1136iv = bb76e422bbe8bbe682a10be4bdd6ce1c
1137key = 00112233445566778899aabbccddeeff1021324354657687
1138msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1139result = valid
1140tag = 82ad967f7ac19084354f69a751443fb2
1141# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1142# constructed to test for correct wrapping of the counter.
1143
1144# tcId = 112
1145# J0:000102030405060708090a0bfffffffd
1146aad =
1147ct = 4e4417a83beac1eb7e24456a05f6ba5569a24169792e9a07f6e6f4736fa972dccfce3d920f0e01f0
1148iv = db1821ac59c38e9f1e25a2eee9930313
1149key = 00112233445566778899aabbccddeeff1021324354657687
1150msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1151result = valid
1152tag = 472d5dd582dc05ef5fc496b612023cb2
1153# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1154# constructed to test for correct wrapping of the counter.
1155
1156# tcId = 113
1157# J0:000102030405060708090a0b7fffffff
1158aad =
1159ct = 6f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3d20062009848044eef8f31f7d2fead05
1160iv = f7a02ecca03064b2ef3cce9feab79f07
1161key = 00112233445566778899aabbccddeeff1021324354657687
1162msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1163result = valid
1164tag = caff723826df150934aee3201ba175e7
1165# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1166# constructed to test for correct wrapping of the counter.
1167
1168# tcId = 114
1169# J0:000102030405060708090a0b7ffffffe
1170aad =
1171ct = af193090ce3d43a388a1d294a09616906f8e174efca3097299f784efd4caff0bf168c3e5165b9ad3
1172iv = 6985924901d688659b40a999d974dbfd
1173key = 00112233445566778899aabbccddeeff1021324354657687
1174msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1175result = valid
1176tag = 3b08958be1286c2b4acba02b3674adb2
1177# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1178# constructed to test for correct wrapping of the counter.
1179
1180# tcId = 115
1181# J0:000102030405060708090a0bffff7fff
1182aad =
1183ct = 5deccf838b2cf5f869c90d2a611160b1e578ab8121b93735cba4a1930647b8c4c84bf776333ee45a
1184iv = 3f1188546c65ed0fc55e75032c68ee44
1185key = 00112233445566778899aabbccddeeff1021324354657687
1186msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1187result = valid
1188tag = c14d52208f0f51b816a48971eaf8ff7e
1189# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1190# constructed to test for correct wrapping of the counter.
1191
1192# tcId = 116
1193# J0:000102030405060708090a0bffff7ffe
1194aad =
1195ct = d2cae1684aa407a13a2e2da5357e29f55deccf838b2cf5f869c90d2a611160b1e578ab8121b93735
1196iv = a13434d1cd8301d8b12212051fabaabe
1197key = 00112233445566778899aabbccddeeff1021324354657687
1198msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1199result = valid
1200tag = ea2d018099cd7925c507cef0ceddb0ae
1201# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1202# constructed to test for correct wrapping of the counter.
1203
1204# tcId = 117
1205# special case
1206aad =
1207ct = 541b835dc828d541073f7d7d7504ebf5
1208iv = 00000000000000000000000000000000
1209key = 00112233445566778899aabbccddeeff1021324354657687
1210msg = 5c7d3f81d4b5055ed6f8db53614587a4
1211result = valid
1212tag = 00000000000000000000000000000000
1213
1214# tcId = 118
1215# special case
1216aad =
1217ct = a3f36154331c196624564bc395e49c3b
1218iv = ffffffffffffffffffffffffffffffff
1219key = 00112233445566778899aabbccddeeff1021324354657687
1220msg = 6a347ad1190e72ede611044e7475f0eb
1221result = valid
1222tag = ffffffffffffffffffffffffffffffff
1223
1224# tcId = 119
1225aad =
1226ct = dc
1227iv = 1e8259e0a43e571068f701cd2064fc0c
1228key = cee9abbc26b63e169f0ced621fe21d95904e75b881d93e6b
1229msg = 46
1230result = valid
1231tag = af1f5535b125b34fc466902ea40cb3a2
1232
1233# tcId = 120
1234aad =
1235ct = 2aab5c87dcb4a4dae4e975ddb65aab
1236iv = c84442d6975f0359737de0fa828f958e
1237key = 189f0bd390ba40632586a45c39735c2b87113329c800f394
1238msg = b4bcd7b8eeca3050dd17682c6a914e
1239result = valid
1240tag = 6b03b7557c7131e2352e495d54e61aef
1241
1242# tcId = 121
1243aad =
1244ct = d127fd2e67c0887d90eb92b91f357d97
1245iv = 13cd526ec77b58f62d48d03f8b88f2b8
1246key = b0724f15df5b792c2f49bc51df0ac5aad69be0030981613c
1247msg = 8da3ab9c3d195b04df452ad23953da4d
1248result = valid
1249tag = eb05bda937faeed27f8833295d4ba559
1250
1251# tcId = 122
1252aad =
1253ct = 344c2cea17b06cb3da272e22a22a3a71ee0eaa1959a7facfff464660ddccedd1
1254iv = 1d3d62eccd8ac5e896f2654a7f606fc9
1255key = 998750ba784841e40a7c5b03985732b6397e5459a3843954
1256msg = 2f60ca3494a958dc3e6ebeb5d0b4e6dda0d0c4331ab9c957f6422a5100878ebf
1257result = valid
1258tag = bab7fbf499ff06aad5f757b1c1a4fcc0
1259
1260[ivSize = 96]
1261[keySize = 192]
1262[tagSize = 128]
1263
1264# tcId = 123
1265# special case
1266aad =
1267ct = 3f875c9bd7d8511448459468e398c3b2
1268iv = 000000000000000000000000
1269key = 00112233445566778899aabbccddeeff1021324354657687
1270msg = 0b4dbbba8982e0f649f8ba85f3aa061b
1271result = valid
1272tag = ffffffffffffffffffffffffffffffff
1273
1274# tcId = 124
1275# special case
1276aad =
1277ct = 210dabea4364c6d5b3429e7743322936
1278iv = ffffffffffffffffffffffff
1279key = 00112233445566778899aabbccddeeff1021324354657687
1280msg = 1ae93688ef7e2650a9342ad4718b2780
1281result = valid
1282tag = 00000000000000000000000000000000
1283
1284# tcId = 125
1285aad =
1286ct = fe
1287iv = 34047bc39b9c608384dff5b8
1288key = 21218af790428f8024d3e7e1428c9fcf578c216636d60e73
1289msg = e3
1290result = valid
1291tag = 2e982e24b81cd120d35a70fe6935e665
1292
1293# tcId = 126
1294aad =
1295ct = 99f2ff1c8a44e5f2
1296iv = 4ebc13cf4636cc7c45e560a7
1297key = 3a8bf543c480925632118245bcbf5d01522b987a31a33da3
1298msg = 53fc72e71b59eeb3
1299result = valid
1300tag = 6870f104ddc514477b400336fb01860e
1301
1302# tcId = 127
1303aad =
1304ct = afe8ef41591bfcc00db3c880ceb186
1305iv = 6e7ff7f0797685cfc44b05ff
1306key = 92f4d2672fceec43963ccffb17e6ea7578b11418b06a3b82
1307msg = c3ec16adb184affa8ae9738bffb916
1308result = valid
1309tag = 29fff7f285768645c9c8bf7a471c9393
1310
1311# tcId = 128
1312aad =
1313ct = 90339dca02ef717f1603994aee6cf6d2
1314iv = be0326d23bdc2c64648d13f4
1315key = bcb6bc5ee6743df1396a34639327b25809ec9c81dd6a0c0e
1316msg = 80474a3a3b809560eee2ce7a7a33ea07
1317result = valid
1318tag = e3d33e01ce64f271783147de226228bc
1319
1320# tcId = 129
1321aad =
1322ct = b98ed6321679941a3e521834296686ad98
1323iv = b6be6cd0681235d826aa28ea
1324key = 5e1d28213e092536525bbae09e214af4c891e202b2b4fa4f
1325msg = 53d59433a7db7f41b31ccb6d4a2d789965
1326result = valid
1327tag = 9f50c03e055e519712c582ec9db3235b
1328
1329# tcId = 130
1330aad =
1331ct = addd303651119e52f6170dfc7a915064253d57532987b9ab
1332iv = b022067048505b20946216ef
1333key = 7f672d85e151aa490bc0eec8f66b5e5bee74af11642be3ff
1334msg = ef6412c72b03c643fa02565a0ae2378a9311c11a84065f80
1335result = valid
1336tag = fa0484f8baa95f5b7a31c56d1b34c58b
1337
1338# tcId = 131
1339aad = cb
1340ct = 0d2c3a3c0cc4b40e70ed45e188e356a0e1533b31
1341iv = 817fe51c31f2879141a34335
1342key = 969fed5068541d65418c2c1de8fe1f845e036030496e1272
1343msg = 3d8233191a2823bf767e99167b1d4af4f4848458
1344result = valid
1345tag = 92909a80e90540e1878ab59ef300072b
1346
1347# tcId = 132
1348aad = 2ed8487153e21b12
1349ct = c7c1cbb85ce2a0a3f32cb9ef01ad45ec1118b66d
1350iv = 62b9cf1e923bc1138d05d205
1351key = fa5b9b41f93f8b682c04ba816c3fecc24eec095b04dd7497
1352msg = 18159841813a69fc0f8f4229e1678da7c9016711
1353result = valid
1354tag = 253317f98bdab87531ece20475cd9ebb
1355
1356# tcId = 133
1357aad = 74318d8876528243f1944b73eb77e96e
1358ct = ecf5e403f19c007c8da7a456caf0a6d75762829b
1359iv = 3f1a1e02e90a4ba7a1db9df2
1360key = fbfb395662787e2d25a2e7510f818e825936a35114e237c9
1361msg = 2952a3d64107d5cbb9602239d05a5c5c222cf72b
1362result = valid
1363tag = e0877a100f9dd9d6795f0e74c56a9fab
1364
1365# tcId = 134
1366aad = 5ca354a4cb8e4fc9798aa209ad4f739dc7c232fdd1f22584
1367ct = 94d844d98b9467daa7e8dde7f4290037354d7fb2
1368iv = 0802ae86c75a73bf79561521
1369key = 5d8e9c2222316c9ed5ff94513cc957436ae447a6e1a73a29
1370msg = 42b4439e1d2116f834b91c516a26299df279956b
1371result = valid
1372tag = 62196638590cef429d6b1d1a59839c02
1373
1374# tcId = 135
1375# Flipped bit 0 in tag
1376aad =
1377ct = 458256842dfd297f30bd2f8f15c92db0
1378iv = 505152535455565758595a5b
1379key = 000102030405060708090a0b0c0d0e0f1011121314151617
1380msg = 202122232425262728292a2b2c2d2e2f
1381result = invalid
1382tag = b5e44c5b2fe90e4c78f358da0d99cb64
1383
1384# tcId = 136
1385# Flipped bit 1 in tag
1386aad =
1387ct = 458256842dfd297f30bd2f8f15c92db0
1388iv = 505152535455565758595a5b
1389key = 000102030405060708090a0b0c0d0e0f1011121314151617
1390msg = 202122232425262728292a2b2c2d2e2f
1391result = invalid
1392tag = b6e44c5b2fe90e4c78f358da0d99cb64
1393
1394# tcId = 137
1395# Flipped bit 7 in tag
1396aad =
1397ct = 458256842dfd297f30bd2f8f15c92db0
1398iv = 505152535455565758595a5b
1399key = 000102030405060708090a0b0c0d0e0f1011121314151617
1400msg = 202122232425262728292a2b2c2d2e2f
1401result = invalid
1402tag = 34e44c5b2fe90e4c78f358da0d99cb64
1403
1404# tcId = 138
1405# Flipped bit 8 in tag
1406aad =
1407ct = 458256842dfd297f30bd2f8f15c92db0
1408iv = 505152535455565758595a5b
1409key = 000102030405060708090a0b0c0d0e0f1011121314151617
1410msg = 202122232425262728292a2b2c2d2e2f
1411result = invalid
1412tag = b4e54c5b2fe90e4c78f358da0d99cb64
1413
1414# tcId = 139
1415# Flipped bit 31 in tag
1416aad =
1417ct = 458256842dfd297f30bd2f8f15c92db0
1418iv = 505152535455565758595a5b
1419key = 000102030405060708090a0b0c0d0e0f1011121314151617
1420msg = 202122232425262728292a2b2c2d2e2f
1421result = invalid
1422tag = b4e44cdb2fe90e4c78f358da0d99cb64
1423
1424# tcId = 140
1425# Flipped bit 32 in tag
1426aad =
1427ct = 458256842dfd297f30bd2f8f15c92db0
1428iv = 505152535455565758595a5b
1429key = 000102030405060708090a0b0c0d0e0f1011121314151617
1430msg = 202122232425262728292a2b2c2d2e2f
1431result = invalid
1432tag = b4e44c5b2ee90e4c78f358da0d99cb64
1433
1434# tcId = 141
1435# Flipped bit 33 in tag
1436aad =
1437ct = 458256842dfd297f30bd2f8f15c92db0
1438iv = 505152535455565758595a5b
1439key = 000102030405060708090a0b0c0d0e0f1011121314151617
1440msg = 202122232425262728292a2b2c2d2e2f
1441result = invalid
1442tag = b4e44c5b2de90e4c78f358da0d99cb64
1443
1444# tcId = 142
1445# Flipped bit 63 in tag
1446aad =
1447ct = 458256842dfd297f30bd2f8f15c92db0
1448iv = 505152535455565758595a5b
1449key = 000102030405060708090a0b0c0d0e0f1011121314151617
1450msg = 202122232425262728292a2b2c2d2e2f
1451result = invalid
1452tag = b4e44c5b2fe90ecc78f358da0d99cb64
1453
1454# tcId = 143
1455# Flipped bit 64 in tag
1456aad =
1457ct = 458256842dfd297f30bd2f8f15c92db0
1458iv = 505152535455565758595a5b
1459key = 000102030405060708090a0b0c0d0e0f1011121314151617
1460msg = 202122232425262728292a2b2c2d2e2f
1461result = invalid
1462tag = b4e44c5b2fe90e4c79f358da0d99cb64
1463
1464# tcId = 144
1465# Flipped bit 71 in tag
1466aad =
1467ct = 458256842dfd297f30bd2f8f15c92db0
1468iv = 505152535455565758595a5b
1469key = 000102030405060708090a0b0c0d0e0f1011121314151617
1470msg = 202122232425262728292a2b2c2d2e2f
1471result = invalid
1472tag = b4e44c5b2fe90e4cf8f358da0d99cb64
1473
1474# tcId = 145
1475# Flipped bit 77 in tag
1476aad =
1477ct = 458256842dfd297f30bd2f8f15c92db0
1478iv = 505152535455565758595a5b
1479key = 000102030405060708090a0b0c0d0e0f1011121314151617
1480msg = 202122232425262728292a2b2c2d2e2f
1481result = invalid
1482tag = b4e44c5b2fe90e4c78d358da0d99cb64
1483
1484# tcId = 146
1485# Flipped bit 80 in tag
1486aad =
1487ct = 458256842dfd297f30bd2f8f15c92db0
1488iv = 505152535455565758595a5b
1489key = 000102030405060708090a0b0c0d0e0f1011121314151617
1490msg = 202122232425262728292a2b2c2d2e2f
1491result = invalid
1492tag = b4e44c5b2fe90e4c78f359da0d99cb64
1493
1494# tcId = 147
1495# Flipped bit 96 in tag
1496aad =
1497ct = 458256842dfd297f30bd2f8f15c92db0
1498iv = 505152535455565758595a5b
1499key = 000102030405060708090a0b0c0d0e0f1011121314151617
1500msg = 202122232425262728292a2b2c2d2e2f
1501result = invalid
1502tag = b4e44c5b2fe90e4c78f358da0c99cb64
1503
1504# tcId = 148
1505# Flipped bit 97 in tag
1506aad =
1507ct = 458256842dfd297f30bd2f8f15c92db0
1508iv = 505152535455565758595a5b
1509key = 000102030405060708090a0b0c0d0e0f1011121314151617
1510msg = 202122232425262728292a2b2c2d2e2f
1511result = invalid
1512tag = b4e44c5b2fe90e4c78f358da0f99cb64
1513
1514# tcId = 149
1515# Flipped bit 103 in tag
1516aad =
1517ct = 458256842dfd297f30bd2f8f15c92db0
1518iv = 505152535455565758595a5b
1519key = 000102030405060708090a0b0c0d0e0f1011121314151617
1520msg = 202122232425262728292a2b2c2d2e2f
1521result = invalid
1522tag = b4e44c5b2fe90e4c78f358da8d99cb64
1523
1524# tcId = 150
1525# Flipped bit 120 in tag
1526aad =
1527ct = 458256842dfd297f30bd2f8f15c92db0
1528iv = 505152535455565758595a5b
1529key = 000102030405060708090a0b0c0d0e0f1011121314151617
1530msg = 202122232425262728292a2b2c2d2e2f
1531result = invalid
1532tag = b4e44c5b2fe90e4c78f358da0d99cb65
1533
1534# tcId = 151
1535# Flipped bit 121 in tag
1536aad =
1537ct = 458256842dfd297f30bd2f8f15c92db0
1538iv = 505152535455565758595a5b
1539key = 000102030405060708090a0b0c0d0e0f1011121314151617
1540msg = 202122232425262728292a2b2c2d2e2f
1541result = invalid
1542tag = b4e44c5b2fe90e4c78f358da0d99cb66
1543
1544# tcId = 152
1545# Flipped bit 126 in tag
1546aad =
1547ct = 458256842dfd297f30bd2f8f15c92db0
1548iv = 505152535455565758595a5b
1549key = 000102030405060708090a0b0c0d0e0f1011121314151617
1550msg = 202122232425262728292a2b2c2d2e2f
1551result = invalid
1552tag = b4e44c5b2fe90e4c78f358da0d99cb24
1553
1554# tcId = 153
1555# Flipped bit 127 in tag
1556aad =
1557ct = 458256842dfd297f30bd2f8f15c92db0
1558iv = 505152535455565758595a5b
1559key = 000102030405060708090a0b0c0d0e0f1011121314151617
1560msg = 202122232425262728292a2b2c2d2e2f
1561result = invalid
1562tag = b4e44c5b2fe90e4c78f358da0d99cbe4
1563
1564# tcId = 154
1565# Flipped bits 0 and 64 in tag
1566aad =
1567ct = 458256842dfd297f30bd2f8f15c92db0
1568iv = 505152535455565758595a5b
1569key = 000102030405060708090a0b0c0d0e0f1011121314151617
1570msg = 202122232425262728292a2b2c2d2e2f
1571result = invalid
1572tag = b5e44c5b2fe90e4c79f358da0d99cb64
1573
1574# tcId = 155
1575# Flipped bits 31 and 63 in tag
1576aad =
1577ct = 458256842dfd297f30bd2f8f15c92db0
1578iv = 505152535455565758595a5b
1579key = 000102030405060708090a0b0c0d0e0f1011121314151617
1580msg = 202122232425262728292a2b2c2d2e2f
1581result = invalid
1582tag = b4e44cdb2fe90ecc78f358da0d99cb64
1583
1584# tcId = 156
1585# Flipped bits 63 and 127 in tag
1586aad =
1587ct = 458256842dfd297f30bd2f8f15c92db0
1588iv = 505152535455565758595a5b
1589key = 000102030405060708090a0b0c0d0e0f1011121314151617
1590msg = 202122232425262728292a2b2c2d2e2f
1591result = invalid
1592tag = b4e44c5b2fe90ecc78f358da0d99cbe4
1593
1594# tcId = 157
1595# all bits of tag flipped
1596aad =
1597ct = 458256842dfd297f30bd2f8f15c92db0
1598iv = 505152535455565758595a5b
1599key = 000102030405060708090a0b0c0d0e0f1011121314151617
1600msg = 202122232425262728292a2b2c2d2e2f
1601result = invalid
1602tag = 4b1bb3a4d016f1b3870ca725f266349b
1603
1604# tcId = 158
1605# Tag changed to all zero
1606aad =
1607ct = 458256842dfd297f30bd2f8f15c92db0
1608iv = 505152535455565758595a5b
1609key = 000102030405060708090a0b0c0d0e0f1011121314151617
1610msg = 202122232425262728292a2b2c2d2e2f
1611result = invalid
1612tag = 00000000000000000000000000000000
1613
1614# tcId = 159
1615# tag changed to all 1
1616aad =
1617ct = 458256842dfd297f30bd2f8f15c92db0
1618iv = 505152535455565758595a5b
1619key = 000102030405060708090a0b0c0d0e0f1011121314151617
1620msg = 202122232425262728292a2b2c2d2e2f
1621result = invalid
1622tag = ffffffffffffffffffffffffffffffff
1623
1624# tcId = 160
1625# msbs changed in tag
1626aad =
1627ct = 458256842dfd297f30bd2f8f15c92db0
1628iv = 505152535455565758595a5b
1629key = 000102030405060708090a0b0c0d0e0f1011121314151617
1630msg = 202122232425262728292a2b2c2d2e2f
1631result = invalid
1632tag = 3464ccdbaf698eccf873d85a8d194be4
1633
1634# tcId = 161
1635# lsbs changed in tag
1636aad =
1637ct = 458256842dfd297f30bd2f8f15c92db0
1638iv = 505152535455565758595a5b
1639key = 000102030405060708090a0b0c0d0e0f1011121314151617
1640msg = 202122232425262728292a2b2c2d2e2f
1641result = invalid
1642tag = b5e54d5a2ee80f4d79f259db0c98ca65
1643
1644[ivSize = 128]
1645[keySize = 256]
1646[tagSize = 128]
1647
1648# tcId = 162
1649# J0:000102030405060708090a0b0c0d0e0f
1650aad =
1651ct = 28e1c5232f4ee8161dbe4c036309e0b3254e9212bef0a93431ce5e5604c8f6a73c18a3183018b770
1652iv = 5c2ea9b695fcf6e264b96074d6bfa572
1653key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1654msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1655result = valid
1656tag = d5808a1bd11a01129bf3c6919aff2339
1657# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1658# constructed to test for correct wrapping of the counter.
1659
1660# tcId = 163
1661# J0:00000000000000000000000000000000
1662aad =
1663ct = cceebeb4fe4cd90c514e52d2327a2ecd75393661006cf2476d8620149aef3d1cdce491fff3e7a7a3
1664iv = 57b3a81f2c36b6b06577ca0fbab8fa8e
1665key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1666msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1667result = valid
1668tag = 8132e865b69d64ef37db261f80cbbe24
1669# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1670# constructed to test for correct wrapping of the counter.
1671
1672# tcId = 164
1673# J0:ffffffffffffffffffffffffffffffff
1674aad =
1675ct = 4f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e2af7bfe1a8aadaa0baa3de38a41d9713
1676iv = ce20a7e870696a5e68533c465bad2ba1
1677key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1678msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1679result = valid
1680tag = 155da6441ec071ef2d8e6cffbacc1c7c
1681# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1682# constructed to test for correct wrapping of the counter.
1683
1684# tcId = 165
1685# J0:fffffffffffffffffffffffffffffffe
1686aad =
1687ct = 8316a53167b6de1a7575700693ffef274f4350565d91d9aa8c5f4048550492ad6d6fdabf66da5d1e
1688iv = 918e3c19dbdfee2db18156c5b93f3d75
1689key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1690msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1691result = valid
1692tag = 6c574aa6a2490cc3b2f2f8f0ffbc56c4
1693# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1694# constructed to test for correct wrapping of the counter.
1695
1696# tcId = 166
1697# J0:fffffffffffffffffffffffffffffffd
1698aad =
1699ct = 5175927513e751eb309f45bc2ef225f28316a53167b6de1a7575700693ffef274f4350565d91d9aa
1700iv = 717d900b270462b9dbf7e9419e890609
1701key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1702msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1703result = valid
1704tag = 8082a761e1d755344bf29622144e7d39
1705# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1706# constructed to test for correct wrapping of the counter.
1707
1708# tcId = 167
1709# J0:000102030405060708090a0bffffffff
1710aad =
1711ct = 36b3fbecd09178d04527fb37544f5579d20d60a41266f685c48098e1a52804ca387d90709d3268dd
1712iv = ecd52120af240e9b4bf3b9d1eeb49434
1713key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1714msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1715result = valid
1716tag = 033e0ef2953ebfd8425737c7d393f89a
1717# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1718# constructed to test for correct wrapping of the counter.
1719
1720# tcId = 168
1721# J0:000102030405060708090a0bfffffffe
1722aad =
1723ct = 16929b773051f12b0adac95f65e21a7f36b3fbecd09178d04527fb37544f5579d20d60a41266f685
1724iv = b37bbad104928ae89221d3520c2682e0
1725key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1726msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1727result = valid
1728tag = ca448bb7e52e897eca234ef343d057d0
1729# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1730# constructed to test for correct wrapping of the counter.
1731
1732# tcId = 169
1733# J0:000102030405060708090a0bfffffffd
1734aad =
1735ct = 6d3faefaf691d58163846f8d4b9ffd5916929b773051f12b0adac95f65e21a7f36b3fbecd09178d0
1736iv = 538816c3f849067cf8576cd62b90b99c
1737key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1738msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1739result = valid
1740tag = 84f49740e6757f63dd0df7cb7656d0ef
1741# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1742# constructed to test for correct wrapping of the counter.
1743
1744# tcId = 170
1745# J0:000102030405060708090a0b7fffffff
1746aad =
1747ct = d60196c2d14fcf30c0991d2721ddc52d385f407a16691dade82c9023c855fd8e2e8fbb562102f018
1748iv = d10e631943cd3bdababab2bbd13951c0
1749key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1750msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1751result = valid
1752tag = 877e15d9889e69a99fcc6d727465c391
1753# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1754# constructed to test for correct wrapping of the counter.
1755
1756# tcId = 171
1757# J0:000102030405060708090a0b7ffffffe
1758aad =
1759ct = 948fbceca12a6e4fabb79b6d965e336fd60196c2d14fcf30c0991d2721ddc52d385f407a16691dad
1760iv = 8ea0f8e8e87bbfa96368d83833ab4714
1761key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1762msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1763result = valid
1764tag = cd5757626945976ba9f0264bd6bee894
1765# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1766# constructed to test for correct wrapping of the counter.
1767
1768# tcId = 172
1769# J0:000102030405060708090a0bffff7fff
1770aad =
1771ct = a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d8857d84e6e183a1dea6ee85a7da84fbc35d
1772iv = 7b2df4fbed1de2727eb24898e5deabb9
1773key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1774msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1775result = valid
1776tag = b015d72da62c81cb4d267253b20db9e5
1777# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1778# constructed to test for correct wrapping of the counter.
1779
1780# tcId = 173
1781# J0:000102030405060708090a0bffff7ffe
1782aad =
1783ct = 5e3434b45edbf0d1f6e02d1144dbf867a1a0120660ff52e6b1700b12c54d2d33b94b00cd7882d885
1784iv = 24836f0a46ab6601a760221b074cbd6d
1785key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1786msg = 00000000000000000000000000000000000000000000000000000000000000000000000000000000
1787result = valid
1788tag = ee74ccb30d649ebf6916d05a7dbe5696
1789# The counter for AES-GCM is reduced modulo 2**32. This test vector was
1790# constructed to test for correct wrapping of the counter.
1791
1792# tcId = 174
1793# special case
1794aad =
1795ct = 265c42e2b96ea1de9c24f7182e337390
1796iv = 00000000000000000000000000000000
1797key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1798msg = 8d74f1c97243d362577ff376c393d2dc
1799result = valid
1800tag = 00000000000000000000000000000000
1801
1802# tcId = 175
1803# special case
1804aad =
1805ct = 988f47668ea650cbaa6714711abe268d
1806iv = ffffffffffffffffffffffffffffffff
1807key = 00112233445566778899aabbccddeeff102132435465768798a9bacbdcedfe0f
1808msg = 884df0e76f3ce227bf9595d103825a46
1809result = valid
1810tag = ffffffffffffffffffffffffffffffff
1811
1812# tcId = 176
1813aad =
1814ct = 3f
1815iv = 0ad570d8863918fe89124e09d125a271
1816key = b7797eb0c1a6089ad5452d81fdb14828c040ddc4589c32b565aad8cb4de3e4a0
1817msg = ed
1818result = valid
1819tag = fd8f593b83314e33c5a72efbeb7095e8
1820
1821# tcId = 177
1822aad =
1823ct = 041341078f0439e50b43c991635117
1824iv = 2a55caa137c5b0b66cf3809eb8f730c4
1825key = 4c010d9561c7234c308c01cea3040c925a9f324dc958ff904ae39b37e60e1e03
1826msg = 2a093c9ed72b8ff4994201e9f9e010
1827result = valid
1828tag = 5b8a2f2da20ef657c903da88ef5f57bb
1829
1830# tcId = 178
1831aad =
1832ct = 469478d448f7e97d755541aa09ad95b0
1833iv = 7ee376910f08f497aa6c3aa7113697fd
1834key = e7f7a48df99edd92b81f508618aa96526b279debd9ddb292d385ddbae80b2259
1835msg = 5e51dbbb861b5ec60751c0996e00527f
1836result = valid
1837tag = 254ada5cf662d90c5e11b2bd9c4db4c4
1838
1839# tcId = 179
1840aad =
1841ct = cb960201fa5ad41d41d1c2c8037c71d52b72e76b16b589d71b976627c9734c9d
1842iv = 5d1bde6fa0994b33efd8f23f531248a7
1843key = 4f84782bfbb64a973c3de3dcfa3430367fd68bc0b4c3b31e5d7c8141ba3e6a67
1844msg = 78cb6650a1908a842101ea85804fed00cc56fbdafafba0ef4d1ca607dcae57b6
1845result = valid
1846tag = 8dfce16467c3a6ebb3e7242c9a551962
1847
1848[ivSize = 120]
1849[keySize = 128]
1850[tagSize = 128]
1851
1852# tcId = 180
1853# unusual IV size
1854aad =
1855ct = 2bc3ef8e7402b4631f48e9be
1856iv = b0a73119a97d623806b49d45ddf4c7
1857key = 34c74e28182948e03af02a01f46eb4f7
1858msg = fe82ba66cf2e265741f2c86c
1859result = valid
1860tag = 4b6f6f5be291a90b9e93a8a82ddbc8d8
1861
1862[ivSize = 160]
1863[keySize = 128]
1864[tagSize = 128]
1865
1866# tcId = 181
1867# unusual IV size
1868aad =
1869ct = 4fe13ef29f118f85a63188f8
1870iv = e22b6b144ab26b5781316e7a42a76202ac4b2278
1871key = 55cb7cac77efe18a1ea3b30c65f3f346
1872msg = 2f3d11ea32bf5bc72cbe2b8d
1873result = valid
1874tag = 05975b175316df8045889f43e0c857e0
1875
1876[ivSize = 64]
1877[keySize = 192]
1878[tagSize = 128]
1879
1880# tcId = 182
1881# unusual IV size
1882aad =
1883ct = a2966fb189f8d9d391503857
1884iv = 60d6bfca67f5d810
1885key = f6a4bf8c4e15034699ce5801cbbac7509cd3f94cf28d8307
1886msg = de8eaa41e5e6a590c3cfbf61
1887result = valid
1888tag = e370e7dd328655929bd4691f396a1033
1889
1890[ivSize = 120]
1891[keySize = 192]
1892[tagSize = 128]
1893
1894# tcId = 183
1895# unusual IV size
1896aad =
1897ct = 9af1a022c61c4315aa0e923e
1898iv = edf93e16294f15eded83808f09320e
1899key = 66f75acbd8d3acf7af47d13e8384c2809d6b91503a7f294b
1900msg = a900c86b6b7e0e5563f8f826
1901result = valid
1902tag = 20529bff3c59222ec33353af337b1d40
1903
1904[ivSize = 160]
1905[keySize = 192]
1906[tagSize = 128]
1907
1908# tcId = 184
1909# unusual IV size
1910aad =
1911ct = 073a5291b11df379f31b4f16
1912iv = 130c14c839e35b7d56b3350b194b0da342e6b65d
1913key = ef2e299dd4ecd7e3b9cc62780922cc2c89f78840564d1276
1914msg = 03f59579b14437199583270e
1915result = valid
1916tag = 17205999491bd4c1d6c7ec3e56779c32
1917
1918[ivSize = 64]
1919[keySize = 256]
1920[tagSize = 128]
1921
1922# tcId = 185
1923# unusual IV size
1924aad =
1925ct = 99313a220d1fcb6658876283
1926iv = c0c568a400b7194f
1927key = df64c84ae52d9ca820a47421bed6e96f7165369fc4c1b65f8f6307b17ce1006c
1928msg = f5fafdded54a86a4edab44bd
1929result = valid
1930tag = 00955d7d27f66868cfec734bf59c5e6d
1931
1932[ivSize = 120]
1933[keySize = 256]
1934[tagSize = 128]
1935
1936# tcId = 186
1937# unusual IV size
1938aad =
1939ct = fc213602aa423b87d7c2a874
1940iv = 17ca250fb733877556263223eadde1
1941key = e98b0669a645eb14cd06df6968fc5f10edc9f54feed264e3d410cdc61b72ef51
1942msg = f384b3ed7b274641f5db60cf
1943result = valid
1944tag = 36b15bab6923b17218fe1c24048e2391
1945
1946[ivSize = 160]
1947[keySize = 256]
1948[tagSize = 128]
1949
1950# tcId = 187
1951# unusual IV size
1952aad =
1953ct = c1d76233e8c5042e92bf8d32
1954iv = 0f9d6ed7eef362dfa4a7dfa5c0f74c5b27bd4ebf
1955key = 849b3e6b8cdd85bdcfb8eb701aa5522ae2340fbe5214e389622cef76979225c4
1956msg = 8c5564e53051c0de273199b4
1957result = valid
1958tag = 7cf036d235d3b2dd349a8c804b65144a
1959
1960[ivSize = 0]
1961[keySize = 128]
1962[tagSize = 128]
1963
1964# tcId = 188
1965# 0 size IV is not valid
1966aad =
1967ct =
1968iv =
1969key = 8f3f52e3c75c58f5cb261f518f4ad30a
1970msg =
1971result = invalid
1972tag = cf71978ffcc778f3c85ac9c31b6fe191
1973# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
1974# authentication key. Hence using an IV of length 0 is insecure even if the key
1975# itself is only used for a single encryption.
1976
1977# tcId = 189
1978# 0 size IV is not valid
1979aad =
1980ct = 00a29f0a5e2e7490279d1faf8b881c7b
1981iv =
1982key = 2a4bf90e56b70fdd8649d775c089de3b
1983msg = 324ced6cd15ecc5b3741541e22c18ad9
1984result = invalid
1985tag = a2c7e8d7a19b884f742dfec3e76c75ee
1986# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
1987# authentication key. Hence using an IV of length 0 is insecure even if the key
1988# itself is only used for a single encryption.
1989
1990[ivSize = 0]
1991[keySize = 192]
1992[tagSize = 128]
1993
1994# tcId = 190
1995# 0 size IV is not valid
1996aad =
1997ct =
1998iv =
1999key = 0b18d21337035c7baa08211b702fa780ac7c09be8f9ed11f
2000msg =
2001result = invalid
2002tag = ca69a2eb3a096ea36b1015d5dffff532
2003# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
2004# authentication key. Hence using an IV of length 0 is insecure even if the key
2005# itself is only used for a single encryption.
2006
2007# tcId = 191
2008# 0 size IV is not valid
2009aad =
2010ct = 509b0658d09f7a5bb9db43b70c8387f7
2011iv =
2012key = ba76d594a6df915bb7ab7e6d1a8d024b2796336c1b8328a9
2013msg = d62f302742d61d823ea991b93430d589
2014result = invalid
2015tag = 2c9488d53a0b2b5308c2757dfac7219f
2016# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
2017# authentication key. Hence using an IV of length 0 is insecure even if the key
2018# itself is only used for a single encryption.
2019
2020[ivSize = 0]
2021[keySize = 256]
2022[tagSize = 128]
2023
2024# tcId = 192
2025# 0 size IV is not valid
2026aad =
2027ct =
2028iv =
2029key = 3f8ca47b9a940582644e8ecf9c2d44e8138377a8379c5c11aafe7fec19856cf1
2030msg =
2031result = invalid
2032tag = 1726aa695fbaa21a1db88455c670a4b0
2033# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
2034# authentication key. Hence using an IV of length 0 is insecure even if the key
2035# itself is only used for a single encryption.
2036
2037# tcId = 193
2038# 0 size IV is not valid
2039aad =
2040ct = 7772ea358901f571d3d35c19497639d9
2041iv =
2042key = 7660d10966c6503903a552dde2a809ede9da490e5e5cc3e349da999671809883
2043msg = c314235341debfafa1526bb61044a7f1
2044result = invalid
2045tag = 8fe0520ad744a11f0ccfd228454363fa
2046# AES-GCM does not allow an IV of length 0. Encrypting with such an IV leaks the
2047# authentication key. Hence using an IV of length 0 is insecure even if the key
2048# itself is only used for a single encryption.
2049
2050[ivSize = 8]
2051[keySize = 128]
2052[tagSize = 128]
2053
2054# tcId = 194
2055# small IV sizes
2056aad =
2057ct =
2058iv = 80
2059key = 59a284f50aedd8d3e2a91637d3815579
2060msg =
2061result = acceptable
2062tag = af498f701d2470695f6e7c8327a2398b
2063
2064# tcId = 195
2065# small IV sizes
2066aad =
2067ct = 0a24612a9d1cbe967dbfe804bf8440e5
2068iv = 9d
2069key = fec58aa8cf06bfe05de829f27ec77693
2070msg = f2d99a9f893378e0757d27c2e3a3101b
2071result = acceptable
2072tag = 96e6fd2cdc707e3ee0a1c90d34c9c36c
2073
2074[ivSize = 16]
2075[keySize = 128]
2076[tagSize = 128]
2077
2078# tcId = 196
2079# small IV sizes
2080aad =
2081ct =
2082iv = 0f2f
2083key = 88a972cce9eaf5a7813ce8149d0c1d0e
2084msg =
2085result = acceptable
2086tag = 4ccf1efb4da05b4ae4452aea42f5424b
2087
2088# tcId = 197
2089# small IV sizes
2090aad =
2091ct = ba3e7f8b2999995c7fc4006ca4f475ff
2092iv = 8760
2093key = b43967ee933e4632bd6562ba1201bf83
2094msg = 5a6ad6db70591d1e520b0122f05021a0
2095result = acceptable
2096tag = 98f47a5279cebbcac214515710f6cd8a
2097
2098[ivSize = 32]
2099[keySize = 128]
2100[tagSize = 128]
2101
2102# tcId = 198
2103# small IV sizes
2104aad =
2105ct =
2106iv = cc851957
2107key = 4e9a97d3ed54c7b54610793ab05052e1
2108msg =
2109result = acceptable
2110tag = e574b355bda2980e047e584feb1676ca
2111
2112# tcId = 199
2113# small IV sizes
2114aad =
2115ct = 1b84baea9df1e65bee7b49e4a8cda1ec
2116iv = 7b5faeb2
2117key = d83c1d7a97c43f182409a4aa5609c1b1
2118msg = c8f07ba1d65554a9bd40390c30c5529c
2119result = acceptable
2120tag = 5c0bb79d8240041edce0f94bd4bb384f
2121
2122[ivSize = 48]
2123[keySize = 128]
2124[tagSize = 128]
2125
2126# tcId = 200
2127# small IV sizes
2128aad =
2129ct =
2130iv = 4ad80c2854fb
2131key = c6a705677affb49e276d9511caa46145
2132msg =
2133result = acceptable
2134tag = 1e2ed72af590cafb8647d185865f5463
2135
2136# tcId = 201
2137# small IV sizes
2138aad =
2139ct = 18291aa8dc7b07448aa8f71bb8e380bf
2140iv = d1dafc8de3e3
2141key = eba7699b56cc0aa2f66a2a5be9944413
2142msg = d021e53d9098a2df3d6b903cdad0cd9c
2143result = acceptable
2144tag = 9c0e22e5c41b1039ff5661ffaefa8e0f
2145
2146[ivSize = 8]
2147[keySize = 192]
2148[tagSize = 128]
2149
2150# tcId = 202
2151# small IV sizes
2152aad =
2153ct =
2154iv = cb
2155key = c70ce38e84e5f53ed41c3f0d2ca493412ad32cb04c6e2efa
2156msg =
2157result = acceptable
2158tag = 08d96edb5e22874cd10cb2256ca04bc6
2159
2160# tcId = 203
2161# small IV sizes
2162aad =
2163ct = 6c5e796ba9a3ddc64f401e68d135101d
2164iv = 0f
2165key = 74c816b83dfd287210a3e2c6da8d3053bbfbd9b156d3fdd8
2166msg = f2b7b2c9b312cf2af78f003df15c8e19
2167result = acceptable
2168tag = 96a132ed43924e98feb888ff682bdaef
2169
2170[ivSize = 16]
2171[keySize = 192]
2172[tagSize = 128]
2173
2174# tcId = 204
2175# small IV sizes
2176aad =
2177ct =
2178iv = 75e5
2179key = cbf45ba488932aea1a10e5862f92e4a7e277bda9f34af6d0
2180msg =
2181result = acceptable
2182tag = 1f0d23070fcd748e25bf6454f5c9136e
2183
2184# tcId = 205
2185# small IV sizes
2186aad =
2187ct = 550b48a43e821fd76f49f0f1a897aead
2188iv = 8989
2189key = e1c0446f11ae6aa4fa254f9a846fc6e13e45e537e47f2042
2190msg = 3a2f5ad0eb216e546e0bcaa377b6cbc7
2191result = acceptable
2192tag = f6e0a979481f9957ddad0f21a777a73a
2193
2194[ivSize = 32]
2195[keySize = 192]
2196[tagSize = 128]
2197
2198# tcId = 206
2199# small IV sizes
2200aad =
2201ct =
2202iv = 68d7fc38
2203key = 567563bf4cf154902275a53bc57cd6dd7b370d27011bdac8
2204msg =
2205result = acceptable
2206tag = 1475563e3212f3b5e40062569afd71e3
2207
2208# tcId = 207
2209# small IV sizes
2210aad =
2211ct = 309133e76159fe8a41b20843486511ab
2212iv = bb9d2aa3
2213key = 834d0bb601170865a78139428a1503695a6a291ebd747cd1
2214msg = 6f79e18b4acd5a03d3a5f7e1a8d0f183
2215result = acceptable
2216tag = 03ab26993b701910a2e8ecccd2ba9e52
2217
2218[ivSize = 48]
2219[keySize = 192]
2220[tagSize = 128]
2221
2222# tcId = 208
2223# small IV sizes
2224aad =
2225ct =
2226iv = a984bdcdcae2
2227key = 99fb18f5ba430bb9ea942968ecb799b43406e1af4b6425a1
2228msg =
2229result = acceptable
2230tag = d7b9a6b58a97982916e83219fbf71b1e
2231
2232# tcId = 209
2233# small IV sizes
2234aad =
2235ct = e08261e46eaf90d978ea8f7889bccd4f
2236iv = 52aa01e0d0d6
2237key = b77b242aa0d51c92fda013e0cb0ef2437399ace5d3f507e4
2238msg = 4ba541a9914729216153801340ab1779
2239result = acceptable
2240tag = c052a55df3926a50990a532efe3d80ec
2241
2242[ivSize = 8]
2243[keySize = 256]
2244[tagSize = 128]
2245
2246# tcId = 210
2247# small IV sizes
2248aad =
2249ct =
2250iv = a9
2251key = 8f9a38c1014966e4d9ae736139c5e79b99345874f42d4c7d2c81aa6797c417c0
2252msg =
2253result = acceptable
2254tag = 2a268bf3a75fd7b00ba230b904bbb014
2255
2256# tcId = 211
2257# small IV sizes
2258aad =
2259ct = 7bea30ecc2f73f8e121263b37966954c
2260iv = b3
2261key = 144cd8279229e8bb2de99d24e615306663913fe9177fcd270fafec493d43bca1
2262msg = 976229f5538f9636476d69f0c328e29d
2263result = acceptable
2264tag = 8bbad4adc54b37a2b2f0f6e8617548c9
2265
2266[ivSize = 16]
2267[keySize = 256]
2268[tagSize = 128]
2269
2270# tcId = 212
2271# small IV sizes
2272aad =
2273ct =
2274iv = c332
2275key = 7d31861f9d3536e14016a3216b1042e0d2f7d4614314268b6f834ec7f38bbb65
2276msg =
2277result = acceptable
2278tag = 1d978a693120c11f6d51a3ed88cd4ace
2279
2280# tcId = 213
2281# small IV sizes
2282aad =
2283ct = 9c39f5b110361e9a770cc5e8b0f444bb
2284iv = da6c
2285key = 22b35fe9623ee11f8b60b6d22db3765b666ed972fa7ccd92b45f22deee02cab1
2286msg = 5341c78e4ce5bf8fbc3e077d1990dd5d
2287result = acceptable
2288tag = b63ff43c12073ec5572b1be70f17e231
2289
2290[ivSize = 32]
2291[keySize = 256]
2292[tagSize = 128]
2293
2294# tcId = 214
2295# small IV sizes
2296aad =
2297ct =
2298iv = 6b30145e
2299key = c224e0bba3d7a99165f7996b67a0fce3e12f2c01179b197b69b7e628bca92096
2300msg =
2301result = acceptable
2302tag = ae6f7c9a29f0d8204ca50b14a1e0dcf2
2303
2304# tcId = 215
2305# small IV sizes
2306aad =
2307ct = f73f72f976a296ba3ca94bc6eb08cd46
2308iv = 5110604c
2309key = 093eb12343537ee8e91c1f715b862603f8daf9d4e1d7d67212a9d68e5aac9358
2310msg = 33efb58c91e8c70271870ec00fe2e202
2311result = acceptable
2312tag = b824c33c13f289429659aa017c632f71
2313
2314[ivSize = 48]
2315[keySize = 256]
2316[tagSize = 128]
2317
2318# tcId = 216
2319# small IV sizes
2320aad =
2321ct =
2322iv = d4d857510888
2323key = 98e6f8ab673e804e865e32403a6551bf807a959343c60d34559360bc295ecb5b
2324msg =
2325result = acceptable
2326tag = 3db16725fafc828d414ab61c16a6c38f
2327
2328# tcId = 217
2329# small IV sizes
2330aad =
2331ct = ed463f4f43336af3f4d7e08770201145
2332iv = 1bdcd44b663e
2333key = 0bd0e8e7781166e1d876dec8fad34ba95b032a27cac0551595116091005947b7
2334msg = 91222263b12cf5616a049cbe29ab9b5b
2335result = acceptable
2336tag = c8fc39906aca0c64e14a43ff750abd8a
2337
2338