• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OMAC Tests.  In these tests messages of N bytes long (00,01,02,...,NN-1) are OMAC'ed.  The initial key is
2of the same format (length specified per cipher).  The OMAC key in step N+1 is the OMAC output of
3step N (repeated as required to fill the array).
4
5OMAC-aes (16 byte key)
6  0: 97DD6E5A882CBD564C39AE7D1C5A31AA
7  1: F69346EEB9A76553172FC20E9DB18C63
8  2: 996B17202E2EDEBD63F414DD5E84F3AF
9  3: D00D7DA967A2873589A7496503B3DBAB
10  4: B43C24C0A82DAA12D328395C2ABD7CAE
11  5: 9B902B6663B5FEDC6F9DCE74B35B91F2
12  6: 06A9678C65D7CE225E082ECA31788335
13  7: 7D67866CDB313DF65DED113DB02D6362
14  8: 259E28CF3E578AC47A21A77BA9EA8261
15  9: 32F23C8F93EA301C6D3FE0840CA8DB4B
16 10: C2B06388AD6F8C43D19FE4F6A8ED21AE
17 11: FA8622485DB2F62F84FF46E532A1A141
18 12: F312D9B2E6272578F406B66C79F30A0E
19 13: 7A5DE06B2BFB75ADA665E96F680AC098
20 14: C3B00380F0BD8E2F5C9DD9945E0F36EE
21 15: DDD87974A5FB2E7A4514241E94526B5B
22 16: AD24FC47A0FEA84C54696DE997A94F4B
23 17: 7538713D8AA2AE3726307EFF087BBF5E
24 18: 7619A52B4C34A98440812F5F28F8DC4F
25 19: 7E797B8846554888622CC5E400B2FA44
26 20: 61E8DD3E09145F5657DB4B8F7BD2D7D8
27 21: FDAE2A3FE60DDF1871C2613A293AB6F1
28 22: A186D6EFD10DFFD2C088480B0A784185
29 23: 3119D337865618CDA55C06FB992427CF
30 24: 413E3EAD7E3F169A37C49F9CA92E235E
31 25: 37A55AF22373B9A1E2F8368B2FB992CA
32 26: 4941F604C40EEEE1A16CFE073C12D1FE
33 27: 3E8F4A0876BF12A2DCA87157F15DC884
34 28: 5DFAE292D8EEB13D8FE5725E5D169742
35 29: 59160455E0C0B35D950BA67C77F9FB05
36 30: 5AC0D736A06A7DD146B137ADEE78EE06
37 31: 0CA1178F28B953045EE76E2E760036CA
38 32: 025616215F870D1EF838AD1D2AE0C649
39
40OMAC-blowfish (8 byte key)
41  0: 2CFB5DE451FFE8CC
42  1: A5AC339DB44D020C
43  2: A3CE0CF62249444D
44  3: 3076B7129CE3F6A1
45  4: 9E091A637DDF70E3
46  5: 275199AB20A5F09C
47  6: CDEDA8D16A401E62
48  7: FC980516CF5C9E30
49  8: 659D0B31D21B622B
50  9: 8306847B5E72E018
51 10: 7AD029BBF1D2919F
52 11: 133181425C6808C9
53 12: FC5AC60E367F413A
54 13: E0DF8BCCF0AD01D9
55 14: AC5015398FA64A85
56 15: 1F068F22AFFECEE1
57 16: 8E6831D5370678EF
58
59OMAC-xtea (16 byte key)
60  0: 4A0B6160602E6C69
61  1: 1B797D5E14237F21
62  2: 938300C83B99D0AC
63  3: F989B99B3DE563C6
64  4: F65DEA2A6AD45D1E
65  5: 1DB329F0239E162E
66  6: C0C148C4EE8B4E1F
67  7: D82B387D5DFFE1FB
68  8: 1D027A4493898DF2
69  9: 196369F6B0AF971A
70 10: 2A37A2655191D10A
71 11: BD514BE32718EB4A
72 12: B4DBC978F8EE74ED
73 13: 8ACCAD35C3D436AE
74 14: 73ABDC1956630C9B
75 15: 73410D3D169373CE
76 16: 23D797B3C7919374
77
78OMAC-rc5 (8 byte key)
79  0: E374E40562C3CB23
80  1: B46D83F69233E236
81  2: 7CB72B1D335F04B0
82  3: 94457CBC97B31328
83  4: 543D0EDFCDCD7C76
84  5: 5164EFA8412EAA5D
85  6: 13CA0717EF95F9A7
86  7: 2AA49A7AA7719700
87  8: C9E7C56125C3D90F
88  9: 2BE3E15FE58648AA
89 10: 77D0B90372D6D0FD
90 11: 17408F62ECD62F57
91 12: 7864EFFA59DC059B
92 13: 3212E76E25E5DEA8
93 14: E2424C083CDE5A6A
94 15: DE86FFDBDA65D138
95 16: 85482C24D61B8950
96
97OMAC-rc6 (16 byte key)
98  0: E103BD8BA47B7C1C010E1561712E6722
99  1: E51AEECFED3AF40443B3A1C011407736
100  2: FA6506C5ABE03381B045D28D1D828966
101  3: FAC4237FFE7772E2299D3D983BB130DD
102  4: 3A7E24D41121A5D4F96FCECF0C2A4A10
103  5: AA44291E5500C1C8E1A14CB56E4F979A
104  6: 4B8FDA6DA6B3266E39111F403C31754E
105  7: 4DF5F1A1C8EBC7F56D0D12EEB63FF585
106  8: 46A6DDE419355EDE14D31045FCA1BA35
107  9: 71756D4D3DF59578B7F93FD4B5C08187
108 10: ADA292A19F8636A03A8BC58C26D65B0D
109 11: 703190DAF17F8D08A67A11FDF0C2A622
110 12: D2B94CAD1AFC5CD012575964D1425BE6
111 13: 45FD0069FCA6F72E23E4DB41AA543091
112 14: 36F652600F5C9F226721400A7199E2BA
113 15: E8CC6389ECF8EF1DBB90A0FD051B7570
114 16: 8125446B975DBDA742A903340D6B96C7
115 17: 00B55E4399EB930E592F507F896BF3DC
116 18: 33E58F42A47C9543A851D6CA9324FEE0
117 19: 9F28FDEA3EC7F515128F5D0C0EB684C5
118 20: AC1DAF6C01AA28BCC0A819189FA949D7
119 21: D0532B5F54A179444D052A4D2AD6E4F9
120 22: 58B80A66549404C7B9F64D5AE3F798AB
121 23: D0D6D586477F92311DDF667E0749D338
122 24: 0DFC0FAA67FF114398CE94D0688AE146
123 25: E163B8C00CF5CC9FA23ACACD62B53D64
124 26: ACE9270456AF9BD388BA72E98825CFE8
125 27: 4302EED9BAA19C7A296585E23A066A44
126 28: B3EEABEFAB25C7478419265564715387
127 29: 9F0630ADE9C74AB2981D63F3B69E85BF
128 30: 1215A9446A275CCE2714F94F3C213BB7
129 31: AF43D7F748DE0E3458DB970BAC37E98D
130 32: BF871AC9E892CE0DCD7C8C7ADDD854C6
131
132OMAC-safer+ (16 byte key)
133  0: A2C8C7FEA5529D01C3FF4E9359EF74F4
134  1: EAB87021118FF24FE79B69ABCCB14A8F
135  2: 789566F467BAA68F4CC3C4B61901D6D4
136  3: 369F41EEAF7D628F9E0D77BE43BFC1D2
137  4: DC46A20E1F36F45006ED5B43BEC20DA6
138  5: 8F150CE34F57BBA2E6CE3431B78E4ACD
139  6: 61CD154478BE20F33B26CD8FC58091A5
140  7: 4E6DAA575CF28F1F48B256262B7D558C
141  8: D21FA4F1859571DB91E92767C5487AA2
142  9: E3D009DC7E71FBBB030B8FF0B544A2C9
143 10: 094C236EA48ABF7DBAE5A88AA3DE07D7
144 11: 00C401996F8224359566660AC1CEDAA1
145 12: D580EC60F712558D875F01643D96653F
146 13: 8482298027C7B4D5969787A1DB1B1F2F
147 14: AB726AE3DA95CB242E63EF876A4BC446
148 15: D668ED4919003F5E45590663FAED41DA
149 16: E4CFFD7E0E7B176867C386001849FD6F
150 17: 37B3C6DEFC5573879006D15F982A397C
151 18: 0AB8847EE6A41A0E960080EF0D1BF1C5
152 19: 2C94FCA2A685F276A65ED286AE12FD9F
153 20: 23383032032D7B5165A31ECA156DBD23
154 21: E1EECFB3D671DF694FFB05AE4305AD4C
155 22: A0F6CA99B96CD1EDD04C52828C8A4D74
156 23: 12D6B7053417AF3E407EFD6EE1CC38FE
157 24: A566D1C39AE7A1A0A77D5A1F56C5FAAB
158 25: 81C9FAECEAEA326140AFCD569668F669
159 26: 6A00BF1D0DC893868378E4347CB4A1B9
160 27: 98842956DBE7AFB1BF49C46497BD54C7
161 28: 88EFCD5A1644B75BB0B3F5DD338849CE
162 29: 77EC62C278C61163B1BEC595A11F047A
163 30: 147424E817DC69413CC657E0CB292F7F
164 31: A2946CBB910743EF62D8A3C7391B9B9B
165 32: 00EEDA55520B8A5B88B76487E80EB6E1
166
167OMAC-twofish (16 byte key)
168  0: 0158EB365FCCFDD94EBA6BE42B6659C4
169  1: 17DA580917D147D10CB73DB6800B0E59
170  2: 3F185CC15EF3328D3E075665308C07C8
171  3: 5712A97ACC9D08FE9D2087D0CA16B0AD
172  4: 90425A8CC1C026DDD896FC2131AF654B
173  5: 30A43D4FEAE71F5396308C16DA081B4A
174  6: 6839FEF605704D49F1A379A9E9595E6F
175  7: 56A8F06DFEE543971B351B07430E2026
176  8: 36DD0E4B55C5314F9F2753D7EB6F0849
177  9: 8E319249A3CD456460F410F518F8CEDB
178 10: 463978BE2A063C22E71DC71520723517
179 11: 1B735E45FD3DF636E0A6104D4A2E9CB8
180 12: 628A82213148AD9791153D5AAFBDDFDC
181 13: 21AFDF08A36ADB6659B656C8EA0800E5
182 14: E5C3E58803DDBE174E0D4C2B8171AEF0
183 15: FC6981F2B4359BA05988D61822C0FA88
184 16: 7B03498FAFB04A6542248852225F9DAE
185 17: 9B173E91E59A940186E57BB867B8307B
186 18: 470BF2EE614C8423AA3FDF323F1C103E
187 19: 6E664AFDFD8306547BBEDA036D267B79
188 20: F61AEC1144C3DD646169E16073700AC6
189 21: AE503B139707AFA494F7F2DE933EE81A
190 22: A0A8BDD4ED0DCAE4A8E1DCEE56368FF0
191 23: 460B8207930DA434AE6AFECC305D9A26
192 24: 7F03F8C7BA5365CC65F7864A42693BC8
193 25: 31448849D6190484192F29A221700011
194 26: BDA941019C75551D858F70FB1362EB23
195 27: 2880CB3E62447AE8EACA76C17971BB18
196 28: FC8D710FA3990B56357E61C2A302EB84
197 29: 793CD15348D7DFF301C47BC6E6235E22
198 30: 6FB0CE69A15A3B6A933324A480077D35
199 31: C24FCA5DD4AE0DF2BFF17364D17D6743
200 32: DC6738080478AF9AF7CA833295031E06
201
202OMAC-safer-k64 (8 byte key)
203  0: 726FE2DD40A43924
204  1: 2A138B65EB352621
205  2: 9588A1B53E29616C
206  3: C025DEFDE1A59850
207  4: 73D062F1B6D8E003
208  5: 944598A2FC8A2D76
209  6: B176C25D8CAFFC98
210  7: 14F05014DE6A090A
211  8: A7B9847B2CE22D0F
212  9: FCD71310CBAA3A62
213 10: BFF00CE5D4A20331
214 11: BEE12A2171333ED5
215 12: 333FD849BEB4A64A
216 13: D048EC7E93B90435
217 14: F04960356689CFEF
218 15: 9E63D9744BF1B61A
219 16: 7C744982F32F8889
220
221OMAC-safer-sk64 (8 byte key)
222  0: E96711BA37D53743
223  1: 7DCFF26A03509FE1
224  2: 0A20EF19C8EE9BF2
225  3: FE2883748A6963CF
226  4: 557060195B820A18
227  5: 771A7931FBBE5C0F
228  6: 6BDBCE5F96CF91D8
229  7: F3B924CCE8724595
230  8: EC7191286D83C2C3
231  9: 94F55B19BB7A8AC1
232 10: 2189F4F2B06A8CA4
233 11: 99853DAEBCA33A46
234 12: 66EAC37A033802D7
235 13: 845D7AA866F8A8AD
236 14: 33A874DFECAC22AC
237 15: 63DD9F7A7F3683DF
238 16: EAC277D951676C44
239
240OMAC-safer-k128 (16 byte key)
241  0: 8037B89AF193F129
242  1: FF2314E87BA6AFE1
243  2: C3243DF896B61D85
244  3: 0F61C715CE821AB8
245  4: EBFDC6A9CFD2F5A4
246  5: AB6497D7AF2C7FFF
247  6: C920CEEB7C1819C2
248  7: 3E186951B545A7E5
249  8: 5EA36A93C94AF4AC
250  9: 6A2C59FAE33709BE
251 10: BF1BAFAF9FC39C19
252 11: 69EB6EF046677B7C
253 12: CDDCEE6B20453094
254 13: A3833BD3FED6895C
255 14: B6C05E51F01E049B
256 15: 90A2D0EAB739D39B
257 16: 07BF607A161D0A66
258
259OMAC-safer-sk128 (16 byte key)
260  0: 5E8B137A3946A557
261  1: 0228FA66B13F3C7E
262  2: A6F9BBAFF050DCDD
263  3: F75880F684A796CE
264  4: E0AEFB8E32040EBD
265  5: 9F65D658B86D310F
266  6: 3FA52804FB46CCAA
267  7: 2F6D12D199FCD2FB
268  8: CB56AF60AFB4D2BB
269  9: 8E6F0FF6FDD262FD
270 10: 490245BE3CCCEDE2
271 11: EFD319AE46C73005
272 12: 43E00E545C848995
273 13: 10444B41ECA15EBE
274 14: 521775C389D5BE71
275 15: 9B683EF8B097FEBA
276 16: 3C5D746EED09530A
277
278OMAC-rc2 (8 byte key)
279  0: F001FE9BBC3A97B0
280  1: 8F8DC9C952897FBD
281  2: EC82EAD195AAC38C
282  3: 53DD52269B19E9A4
283  4: 9B86F64BF72A0647
284  5: 664A88A29F2898C6
285  6: AFEC3F71C1415666
286  7: 9BA1F2C1A2E765F9
287  8: 402A12120908B436
288  9: 03ECCD4C6AF44144
289 10: E8CA3529B5D9D6FC
290 11: 951EE10779CC585D
291 12: B9083CA88E7E819B
292 13: AFFB9E884DACC5B7
293 14: E942E8BC241343D6
294 15: 9B190489091344FB
295 16: 9330A9E05554A15A
296
297OMAC-des (8 byte key)
298  0: C9085E99D74DF01D
299  1: FAC84F0EFBEF8630
300  2: C37C5FECE671CF16
301  3: 45B2CBEE8701A5B1
302  4: 53665E1F024EB001
303  5: 357123CEDFC9FF61
304  6: BD2CFD33FB1F832B
305  7: 1AAA9D8C9120BDBF
306  8: EB9F589AE9D4E78F
307  9: C8F9D2ACE691922D
308 10: 81ED6F3611DDC0FD
309 11: 2965ABEAC46839EE
310 12: 2208B1E095F7AE2E
311 13: C0414FE41800113E
312 14: 653A24119CF43D97
313 15: 7FB7CE0862958B37
314 16: 55097816B10C549B
315
316OMAC-3des (24 byte key)
317  0: 7F07A9EA8ECEDF9E
318  1: 4E2A652EB5FBF5F8
319  2: 4F84E3779ACCB9F5
320  3: 7134AB3463115DC6
321  4: 82327BE8EA2D7E0B
322  5: 24950B9C14D87CD9
323  6: B25A097BB7E0E18A
324  7: ED51BAE55ED925E7
325  8: 56B79E7644556975
326  9: A65BD98E4D4E31E2
327 10: 11145BB51514482D
328 11: 397486787E676BA6
329 12: BD1F6DEBAF6D9AEF
330 13: 5CC3921F7DB815CF
331 14: B0C0E60DA5F727F3
332 15: F8637AEEFF10F470
333 16: 0EA19531D42706EA
334
335OMAC-cast5 (8 byte key)
336  0: 7413DCDB9F0C3100
337  1: 423799EDF1472B79
338  2: 03856F0CB4F11606
339  3: F152AE6360813DE0
340  4: 853998BD980AD146
341  5: AE6C3D667DB8B414
342  6: B5A4986A34BDE20F
343  7: E5ABE5B979798942
344  8: BEE8DFED4555F405
345  9: 6B5339E952AF61BE
346 10: 5E867CF34D9C1149
347 11: F9C55CB3BC655E08
348 12: EA09A2929AC7D915
349 13: CE8EB0E4370E1933
350 14: 749A424B2AA91B98
351 15: 8DDA93C2B814D5D1
352 16: E8B0B219D4CB699B
353
354OMAC-noekeon (16 byte key)
355  0: EC61647B281C47C1B43F9815064BF953
356  1: B100B1B6CD96DCED8F47A77E70670A92
357  2: A96CDE3C48831A6B0A5ADFECA6399BDB
358  3: 14E75E7CAD840208834918B29A5D4430
359  4: 9577083713AE6E44EEC987C77C93C072
360  5: 2A738C02841E461238C02F5CFC8E66A6
361  6: A901327E451BE0D2D9DEC83DEEA9A022
362  7: 5ED7EE1BE04A64A689D15F6970A821A6
363  8: BA053E24FCFD02C731A8CFCA19EE66A0
364  9: 57139CA8C91072555B29F85A19E2C84D
365 10: 4585EAC7EFB84869FD96EE7A5FDD350B
366 11: 62AF6C415CA73E54E82EA306254C1BDE
367 12: 75304F9724BD364F84371EE154F5210E
368 13: 7FE5DBCEE826760434745D417453182B
369 14: EC98DA2A580E9131218D1CDE835423D4
370 15: 631BD9EAFD1AE445F2C1C35E2B4416ED
371 16: CA2D902A1D83388FE35BAB7C29F359BA
372 17: 0DBF0AF7FCBEEE21FB6159C0A2FFCD4C
373 18: BD7CD2C49241032DA33B1975EE2EE982
374 19: B30B090EE8626D77D310EDB957552D46
375 20: 64F608AC5707C381AC6878AA38345144
376 21: 28513CA7795B23A02B37DC3732413D23
377 22: 9F440700094517847E9E013C8915C433
378 23: 8CA483F313D20BFE7E0C089DAA4145BD
379 24: FA44872743E20E5E0A069B3C4578DB50
380 25: F6DE8FFBECD52CC1F213CD9E406DF3BC
381 26: B9702B7E846735A3DCC0724255F88FEC
382 27: A1DDAFED2B1732C7BA89C2F194AF039E
383 28: 2549C5F0E30F8F4002431D2C098805B8
384 29: 52E3836181BF5C9B09A507D5330CD14F
385 30: 01C55DCBCCFD9D7A4D27BDE2A89AA8EF
386 31: 3CF721A0CF006702CDA91F2FF3E4D5E3
387 32: 6D264B9065BE98C170E68E9D2A4DE86E
388
389OMAC-skipjack (10 byte key)
390  0: 84EDFA769040603C
391  1: 7DA58A4CBD642627
392  2: 118F60115CFC8229
393  3: A7F7346D34DB2F0E
394  4: 35615CCD526CD57F
395  5: DE471601A3660844
396  6: 15FCCE6D6D883D1F
397  7: C6F694861233151B
398  8: 3B762B397F16E807
399  9: 976C6AB59FB3AB12
400 10: 6810791F2C595961
401 11: 7FA3478286917F17
402 12: 73DEE44A51C6B610
403 13: 89EE8B253B1ACE81
404 14: CDF2586A56C8A0B5
405 15: ED91F98DA98F42C4
406 16: D8D0FA5CE96B08BF
407
408OMAC-anubis (16 byte key)
409  0: E672617CAA1E641C0E7B4B4CC4787455
410  1: C0C16E8FD63907C08A8ABBB7B73376D3
411  2: 23F97CED54939361830396224A7BDD91
412  3: 7FD87DEA9F05E07212DDF61292D9E13D
413  4: 929A11A4D0991A6446B1051926A6048D
414  5: 4EB74F1CC0150D86126BC6FE1FC8253D
415  6: 33C2C3C072D05BB6D54F87579C23B116
416  7: DE350181C9E90A79879813A609BE77E2
417  8: DB519EB9EF0E154D9D248734FD3D3724
418  9: 4F7F2E6D3FC72BA94FE24EC0ABBF4E66
419 10: D646389DBCEEDD59EBB6E8F09C422930
420 11: 8547658AE1CE6A8B8D010A1E1FEA7AF4
421 12: C9BE2B7F3630EFDFBD3AEA6A108C86EA
422 13: 290417C57096B8B9A1BA3C20FD91285B
423 14: 9AF60E99692C5F911CBF969A6E11DC14
424 15: CDA433BE58C98E49EBA8A7108E50DE2B
425 16: 7430D0EE631A4659351B8A4489A78D46
426 17: DCC74C0FD0415768FE00225CA14B7DC2
427 18: 0CF2432B1B465F2A8C5FACAAF2FEF619
428 19: DA020680C64E93AE5FCA3D71466D01C1
429 20: B9C33A86E6ED9FCCDCD973382DD1B6A3
430 21: 6631236B9F2F810DD4D97E6046F41AF2
431 22: 0312C322F4D634CF4FBC0C2624E3E9F2
432 23: 111E3E9F8FBDC1E4364622723F1CB524
433 24: 6D2608D7AAF243D5219E14513895BFF6
434 25: 683BD01B43CBC0430A007ACBAB357DC9
435 26: 01B8FC65C56B0F1A5BFEBEDCCF6748D9
436 27: 4D6298D63A80D55491697A6DD8E3694C
437 28: 6F0205E4E083CAB00747D723300510DF
438 29: 5183BAEEF05E9402A935EB9AFF0AA2A9
439 30: 1E673BFAD4944643A740C59D96A5925C
440 31: 940FB4000E34EEE78E8DB402E4A76502
441 32: 87B0C48F3D155AD85D0502D94A4572DE
442
443OMAC-khazad (16 byte key)
444  0: 4EBEFA460499424F
445  1: 97AEEAD51E541D16
446  2: 29A35212910C9595
447  3: ABD1577D622074EA
448  4: 70A537DE14DD765C
449  5: 240A19016DE99C51
450  6: 4D42C10A9F803177
451  7: F464BC3E0DB5A909
452  8: 1C65A01A7C08DAC7
453  9: E49A1428C230C209
454 10: 16DD0FEB7A6505B8
455 11: 2DDDB3E35A05C220
456 12: EC88910C799AC6CC
457 13: B2A65C9EF39BEC8A
458 14: F0D2366BA91DFFD5
459 15: BCAB623CAB7AAA23
460 16: 9BCEAB857596E478
461
462