408 lines
11 KiB
Plaintext
408 lines
11 KiB
Plaintext
OMAC Tests. In these tests messages of N bytes long (00,01,02,...,NN-1) are OMAC'ed. The initial key is
|
|
of the same format (length specified per cipher). The OMAC key in step N+1 is the OMAC output of
|
|
step N (repeated as required to fill the array).
|
|
|
|
OMAC-aes (16 byte key)
|
|
0: 97DD6E5A882CBD564C39AE7D1C5A31AA
|
|
1: F69346EEB9A76553172FC20E9DB18C63
|
|
2: 996B17202E2EDEBD63F414DD5E84F3AF
|
|
3: D00D7DA967A2873589A7496503B3DBAB
|
|
4: B43C24C0A82DAA12D328395C2ABD7CAE
|
|
5: 9B902B6663B5FEDC6F9DCE74B35B91F2
|
|
6: 06A9678C65D7CE225E082ECA31788335
|
|
7: 7D67866CDB313DF65DED113DB02D6362
|
|
8: 259E28CF3E578AC47A21A77BA9EA8261
|
|
9: 32F23C8F93EA301C6D3FE0840CA8DB4B
|
|
10: C2B06388AD6F8C43D19FE4F6A8ED21AE
|
|
11: FA8622485DB2F62F84FF46E532A1A141
|
|
12: F312D9B2E6272578F406B66C79F30A0E
|
|
13: 7A5DE06B2BFB75ADA665E96F680AC098
|
|
14: C3B00380F0BD8E2F5C9DD9945E0F36EE
|
|
15: DDD87974A5FB2E7A4514241E94526B5B
|
|
16: AD24FC47A0FEA84C54696DE997A94F4B
|
|
17: 7538713D8AA2AE3726307EFF087BBF5E
|
|
18: 7619A52B4C34A98440812F5F28F8DC4F
|
|
19: 7E797B8846554888622CC5E400B2FA44
|
|
20: 61E8DD3E09145F5657DB4B8F7BD2D7D8
|
|
21: FDAE2A3FE60DDF1871C2613A293AB6F1
|
|
22: A186D6EFD10DFFD2C088480B0A784185
|
|
23: 3119D337865618CDA55C06FB992427CF
|
|
24: 413E3EAD7E3F169A37C49F9CA92E235E
|
|
25: 37A55AF22373B9A1E2F8368B2FB992CA
|
|
26: 4941F604C40EEEE1A16CFE073C12D1FE
|
|
27: 3E8F4A0876BF12A2DCA87157F15DC884
|
|
28: 5DFAE292D8EEB13D8FE5725E5D169742
|
|
29: 59160455E0C0B35D950BA67C77F9FB05
|
|
30: 5AC0D736A06A7DD146B137ADEE78EE06
|
|
31: 0CA1178F28B953045EE76E2E760036CA
|
|
32: 025616215F870D1EF838AD1D2AE0C649
|
|
|
|
OMAC-blowfish (8 byte key)
|
|
0: 2CFB5DE451FFE8CC
|
|
1: A5AC339DB44D020C
|
|
2: A3CE0CF62249444D
|
|
3: 3076B7129CE3F6A1
|
|
4: 9E091A637DDF70E3
|
|
5: 275199AB20A5F09C
|
|
6: CDEDA8D16A401E62
|
|
7: FC980516CF5C9E30
|
|
8: 659D0B31D21B622B
|
|
9: 8306847B5E72E018
|
|
10: 7AD029BBF1D2919F
|
|
11: 133181425C6808C9
|
|
12: FC5AC60E367F413A
|
|
13: E0DF8BCCF0AD01D9
|
|
14: AC5015398FA64A85
|
|
15: 1F068F22AFFECEE1
|
|
16: 8E6831D5370678EF
|
|
|
|
OMAC-xtea (16 byte key)
|
|
0: 4A0B6160602E6C69
|
|
1: 1B797D5E14237F21
|
|
2: 938300C83B99D0AC
|
|
3: F989B99B3DE563C6
|
|
4: F65DEA2A6AD45D1E
|
|
5: 1DB329F0239E162E
|
|
6: C0C148C4EE8B4E1F
|
|
7: D82B387D5DFFE1FB
|
|
8: 1D027A4493898DF2
|
|
9: 196369F6B0AF971A
|
|
10: 2A37A2655191D10A
|
|
11: BD514BE32718EB4A
|
|
12: B4DBC978F8EE74ED
|
|
13: 8ACCAD35C3D436AE
|
|
14: 73ABDC1956630C9B
|
|
15: 73410D3D169373CE
|
|
16: 23D797B3C7919374
|
|
|
|
OMAC-rc5 (8 byte key)
|
|
0: E374E40562C3CB23
|
|
1: B46D83F69233E236
|
|
2: 7CB72B1D335F04B0
|
|
3: 94457CBC97B31328
|
|
4: 543D0EDFCDCD7C76
|
|
5: 5164EFA8412EAA5D
|
|
6: 13CA0717EF95F9A7
|
|
7: 2AA49A7AA7719700
|
|
8: C9E7C56125C3D90F
|
|
9: 2BE3E15FE58648AA
|
|
10: 77D0B90372D6D0FD
|
|
11: 17408F62ECD62F57
|
|
12: 7864EFFA59DC059B
|
|
13: 3212E76E25E5DEA8
|
|
14: E2424C083CDE5A6A
|
|
15: DE86FFDBDA65D138
|
|
16: 85482C24D61B8950
|
|
|
|
OMAC-rc6 (16 byte key)
|
|
0: E103BD8BA47B7C1C010E1561712E6722
|
|
1: E51AEECFED3AF40443B3A1C011407736
|
|
2: FA6506C5ABE03381B045D28D1D828966
|
|
3: FAC4237FFE7772E2299D3D983BB130DD
|
|
4: 3A7E24D41121A5D4F96FCECF0C2A4A10
|
|
5: AA44291E5500C1C8E1A14CB56E4F979A
|
|
6: 4B8FDA6DA6B3266E39111F403C31754E
|
|
7: 4DF5F1A1C8EBC7F56D0D12EEB63FF585
|
|
8: 46A6DDE419355EDE14D31045FCA1BA35
|
|
9: 71756D4D3DF59578B7F93FD4B5C08187
|
|
10: ADA292A19F8636A03A8BC58C26D65B0D
|
|
11: 703190DAF17F8D08A67A11FDF0C2A622
|
|
12: D2B94CAD1AFC5CD012575964D1425BE6
|
|
13: 45FD0069FCA6F72E23E4DB41AA543091
|
|
14: 36F652600F5C9F226721400A7199E2BA
|
|
15: E8CC6389ECF8EF1DBB90A0FD051B7570
|
|
16: 8125446B975DBDA742A903340D6B96C7
|
|
17: 00B55E4399EB930E592F507F896BF3DC
|
|
18: 33E58F42A47C9543A851D6CA9324FEE0
|
|
19: 9F28FDEA3EC7F515128F5D0C0EB684C5
|
|
20: AC1DAF6C01AA28BCC0A819189FA949D7
|
|
21: D0532B5F54A179444D052A4D2AD6E4F9
|
|
22: 58B80A66549404C7B9F64D5AE3F798AB
|
|
23: D0D6D586477F92311DDF667E0749D338
|
|
24: 0DFC0FAA67FF114398CE94D0688AE146
|
|
25: E163B8C00CF5CC9FA23ACACD62B53D64
|
|
26: ACE9270456AF9BD388BA72E98825CFE8
|
|
27: 4302EED9BAA19C7A296585E23A066A44
|
|
28: B3EEABEFAB25C7478419265564715387
|
|
29: 9F0630ADE9C74AB2981D63F3B69E85BF
|
|
30: 1215A9446A275CCE2714F94F3C213BB7
|
|
31: AF43D7F748DE0E3458DB970BAC37E98D
|
|
32: BF871AC9E892CE0DCD7C8C7ADDD854C6
|
|
|
|
OMAC-safer+ (16 byte key)
|
|
0: A2C8C7FEA5529D01C3FF4E9359EF74F4
|
|
1: EAB87021118FF24FE79B69ABCCB14A8F
|
|
2: 789566F467BAA68F4CC3C4B61901D6D4
|
|
3: 369F41EEAF7D628F9E0D77BE43BFC1D2
|
|
4: DC46A20E1F36F45006ED5B43BEC20DA6
|
|
5: 8F150CE34F57BBA2E6CE3431B78E4ACD
|
|
6: 61CD154478BE20F33B26CD8FC58091A5
|
|
7: 4E6DAA575CF28F1F48B256262B7D558C
|
|
8: D21FA4F1859571DB91E92767C5487AA2
|
|
9: E3D009DC7E71FBBB030B8FF0B544A2C9
|
|
10: 094C236EA48ABF7DBAE5A88AA3DE07D7
|
|
11: 00C401996F8224359566660AC1CEDAA1
|
|
12: D580EC60F712558D875F01643D96653F
|
|
13: 8482298027C7B4D5969787A1DB1B1F2F
|
|
14: AB726AE3DA95CB242E63EF876A4BC446
|
|
15: D668ED4919003F5E45590663FAED41DA
|
|
16: E4CFFD7E0E7B176867C386001849FD6F
|
|
17: 37B3C6DEFC5573879006D15F982A397C
|
|
18: 0AB8847EE6A41A0E960080EF0D1BF1C5
|
|
19: 2C94FCA2A685F276A65ED286AE12FD9F
|
|
20: 23383032032D7B5165A31ECA156DBD23
|
|
21: E1EECFB3D671DF694FFB05AE4305AD4C
|
|
22: A0F6CA99B96CD1EDD04C52828C8A4D74
|
|
23: 12D6B7053417AF3E407EFD6EE1CC38FE
|
|
24: A566D1C39AE7A1A0A77D5A1F56C5FAAB
|
|
25: 81C9FAECEAEA326140AFCD569668F669
|
|
26: 6A00BF1D0DC893868378E4347CB4A1B9
|
|
27: 98842956DBE7AFB1BF49C46497BD54C7
|
|
28: 88EFCD5A1644B75BB0B3F5DD338849CE
|
|
29: 77EC62C278C61163B1BEC595A11F047A
|
|
30: 147424E817DC69413CC657E0CB292F7F
|
|
31: A2946CBB910743EF62D8A3C7391B9B9B
|
|
32: 00EEDA55520B8A5B88B76487E80EB6E1
|
|
|
|
OMAC-twofish (16 byte key)
|
|
0: 0158EB365FCCFDD94EBA6BE42B6659C4
|
|
1: 17DA580917D147D10CB73DB6800B0E59
|
|
2: 3F185CC15EF3328D3E075665308C07C8
|
|
3: 5712A97ACC9D08FE9D2087D0CA16B0AD
|
|
4: 90425A8CC1C026DDD896FC2131AF654B
|
|
5: 30A43D4FEAE71F5396308C16DA081B4A
|
|
6: 6839FEF605704D49F1A379A9E9595E6F
|
|
7: 56A8F06DFEE543971B351B07430E2026
|
|
8: 36DD0E4B55C5314F9F2753D7EB6F0849
|
|
9: 8E319249A3CD456460F410F518F8CEDB
|
|
10: 463978BE2A063C22E71DC71520723517
|
|
11: 1B735E45FD3DF636E0A6104D4A2E9CB8
|
|
12: 628A82213148AD9791153D5AAFBDDFDC
|
|
13: 21AFDF08A36ADB6659B656C8EA0800E5
|
|
14: E5C3E58803DDBE174E0D4C2B8171AEF0
|
|
15: FC6981F2B4359BA05988D61822C0FA88
|
|
16: 7B03498FAFB04A6542248852225F9DAE
|
|
17: 9B173E91E59A940186E57BB867B8307B
|
|
18: 470BF2EE614C8423AA3FDF323F1C103E
|
|
19: 6E664AFDFD8306547BBEDA036D267B79
|
|
20: F61AEC1144C3DD646169E16073700AC6
|
|
21: AE503B139707AFA494F7F2DE933EE81A
|
|
22: A0A8BDD4ED0DCAE4A8E1DCEE56368FF0
|
|
23: 460B8207930DA434AE6AFECC305D9A26
|
|
24: 7F03F8C7BA5365CC65F7864A42693BC8
|
|
25: 31448849D6190484192F29A221700011
|
|
26: BDA941019C75551D858F70FB1362EB23
|
|
27: 2880CB3E62447AE8EACA76C17971BB18
|
|
28: FC8D710FA3990B56357E61C2A302EB84
|
|
29: 793CD15348D7DFF301C47BC6E6235E22
|
|
30: 6FB0CE69A15A3B6A933324A480077D35
|
|
31: C24FCA5DD4AE0DF2BFF17364D17D6743
|
|
32: DC6738080478AF9AF7CA833295031E06
|
|
|
|
OMAC-safer-k64 (8 byte key)
|
|
0: 726FE2DD40A43924
|
|
1: 2A138B65EB352621
|
|
2: 9588A1B53E29616C
|
|
3: C025DEFDE1A59850
|
|
4: 73D062F1B6D8E003
|
|
5: 944598A2FC8A2D76
|
|
6: B176C25D8CAFFC98
|
|
7: 14F05014DE6A090A
|
|
8: A7B9847B2CE22D0F
|
|
9: FCD71310CBAA3A62
|
|
10: BFF00CE5D4A20331
|
|
11: BEE12A2171333ED5
|
|
12: 333FD849BEB4A64A
|
|
13: D048EC7E93B90435
|
|
14: F04960356689CFEF
|
|
15: 9E63D9744BF1B61A
|
|
16: 7C744982F32F8889
|
|
|
|
OMAC-safer-sk64 (8 byte key)
|
|
0: E96711BA37D53743
|
|
1: 7DCFF26A03509FE1
|
|
2: 0A20EF19C8EE9BF2
|
|
3: FE2883748A6963CF
|
|
4: 557060195B820A18
|
|
5: 771A7931FBBE5C0F
|
|
6: 6BDBCE5F96CF91D8
|
|
7: F3B924CCE8724595
|
|
8: EC7191286D83C2C3
|
|
9: 94F55B19BB7A8AC1
|
|
10: 2189F4F2B06A8CA4
|
|
11: 99853DAEBCA33A46
|
|
12: 66EAC37A033802D7
|
|
13: 845D7AA866F8A8AD
|
|
14: 33A874DFECAC22AC
|
|
15: 63DD9F7A7F3683DF
|
|
16: EAC277D951676C44
|
|
|
|
OMAC-safer-k128 (16 byte key)
|
|
0: 8037B89AF193F129
|
|
1: FF2314E87BA6AFE1
|
|
2: C3243DF896B61D85
|
|
3: 0F61C715CE821AB8
|
|
4: EBFDC6A9CFD2F5A4
|
|
5: AB6497D7AF2C7FFF
|
|
6: C920CEEB7C1819C2
|
|
7: 3E186951B545A7E5
|
|
8: 5EA36A93C94AF4AC
|
|
9: 6A2C59FAE33709BE
|
|
10: BF1BAFAF9FC39C19
|
|
11: 69EB6EF046677B7C
|
|
12: CDDCEE6B20453094
|
|
13: A3833BD3FED6895C
|
|
14: B6C05E51F01E049B
|
|
15: 90A2D0EAB739D39B
|
|
16: 07BF607A161D0A66
|
|
|
|
OMAC-safer-sk128 (16 byte key)
|
|
0: 5E8B137A3946A557
|
|
1: 0228FA66B13F3C7E
|
|
2: A6F9BBAFF050DCDD
|
|
3: F75880F684A796CE
|
|
4: E0AEFB8E32040EBD
|
|
5: 9F65D658B86D310F
|
|
6: 3FA52804FB46CCAA
|
|
7: 2F6D12D199FCD2FB
|
|
8: CB56AF60AFB4D2BB
|
|
9: 8E6F0FF6FDD262FD
|
|
10: 490245BE3CCCEDE2
|
|
11: EFD319AE46C73005
|
|
12: 43E00E545C848995
|
|
13: 10444B41ECA15EBE
|
|
14: 521775C389D5BE71
|
|
15: 9B683EF8B097FEBA
|
|
16: 3C5D746EED09530A
|
|
|
|
OMAC-rc2 (8 byte key)
|
|
0: F001FE9BBC3A97B0
|
|
1: 8F8DC9C952897FBD
|
|
2: EC82EAD195AAC38C
|
|
3: 53DD52269B19E9A4
|
|
4: 9B86F64BF72A0647
|
|
5: 664A88A29F2898C6
|
|
6: AFEC3F71C1415666
|
|
7: 9BA1F2C1A2E765F9
|
|
8: 402A12120908B436
|
|
9: 03ECCD4C6AF44144
|
|
10: E8CA3529B5D9D6FC
|
|
11: 951EE10779CC585D
|
|
12: B9083CA88E7E819B
|
|
13: AFFB9E884DACC5B7
|
|
14: E942E8BC241343D6
|
|
15: 9B190489091344FB
|
|
16: 9330A9E05554A15A
|
|
|
|
OMAC-des (8 byte key)
|
|
0: C9085E99D74DF01D
|
|
1: FAC84F0EFBEF8630
|
|
2: C37C5FECE671CF16
|
|
3: 45B2CBEE8701A5B1
|
|
4: 53665E1F024EB001
|
|
5: 357123CEDFC9FF61
|
|
6: BD2CFD33FB1F832B
|
|
7: 1AAA9D8C9120BDBF
|
|
8: EB9F589AE9D4E78F
|
|
9: C8F9D2ACE691922D
|
|
10: 81ED6F3611DDC0FD
|
|
11: 2965ABEAC46839EE
|
|
12: 2208B1E095F7AE2E
|
|
13: C0414FE41800113E
|
|
14: 653A24119CF43D97
|
|
15: 7FB7CE0862958B37
|
|
16: 55097816B10C549B
|
|
|
|
OMAC-3des (24 byte key)
|
|
0: 7F07A9EA8ECEDF9E
|
|
1: 4E2A652EB5FBF5F8
|
|
2: 4F84E3779ACCB9F5
|
|
3: 7134AB3463115DC6
|
|
4: 82327BE8EA2D7E0B
|
|
5: 24950B9C14D87CD9
|
|
6: B25A097BB7E0E18A
|
|
7: ED51BAE55ED925E7
|
|
8: 56B79E7644556975
|
|
9: A65BD98E4D4E31E2
|
|
10: 11145BB51514482D
|
|
11: 397486787E676BA6
|
|
12: BD1F6DEBAF6D9AEF
|
|
13: 5CC3921F7DB815CF
|
|
14: B0C0E60DA5F727F3
|
|
15: F8637AEEFF10F470
|
|
16: 0EA19531D42706EA
|
|
|
|
OMAC-cast5 (8 byte key)
|
|
0: 7413DCDB9F0C3100
|
|
1: 423799EDF1472B79
|
|
2: 03856F0CB4F11606
|
|
3: F152AE6360813DE0
|
|
4: 853998BD980AD146
|
|
5: AE6C3D667DB8B414
|
|
6: B5A4986A34BDE20F
|
|
7: E5ABE5B979798942
|
|
8: BEE8DFED4555F405
|
|
9: 6B5339E952AF61BE
|
|
10: 5E867CF34D9C1149
|
|
11: F9C55CB3BC655E08
|
|
12: EA09A2929AC7D915
|
|
13: CE8EB0E4370E1933
|
|
14: 749A424B2AA91B98
|
|
15: 8DDA93C2B814D5D1
|
|
16: E8B0B219D4CB699B
|
|
|
|
OMAC-noekeon (16 byte key)
|
|
0: 897F93D42DF43E4FDACB0E19A27D0CF5
|
|
1: 3FAB4FD1A374C36E80D0535ADA81583A
|
|
2: 209F1B04BD823B068BC19CEF40B875DB
|
|
3: E8FC96A2D8EB9BDA9E8A4EA8F6FE611A
|
|
4: 35DE59C345C4AF97924187A6EA73F556
|
|
5: 59793AB3D84D614D8AEE6E233B3DE755
|
|
6: 64DCB7E74485DF98F4DC70B14DD26107
|
|
7: 42E87ABB43E4504DB362B59A9BBC28DC
|
|
8: 98EC0C30C1AFBF4BC9A2DF421AC446E4
|
|
9: 8B3B59B481B7AFDB6BC593E2BB2A80B2
|
|
10: 0F60392A9518682015F43B8109E3A773
|
|
11: A99BEC6BB467B5949EC4819B8FB47874
|
|
12: 8E15ED270998CD1D7226B2BB9B5A8BC8
|
|
13: B4D637277DE68E507DD95E6EC495B364
|
|
14: DCCF001FA3A9AB5C58213CEB90B341E7
|
|
15: 508C01FDA50B06DDC1AF9CD78F0FD2C7
|
|
16: 3DB78001DE8115BE9E0B884AE4243926
|
|
17: 165951DF3F7D28AD6A2FE56DC32A0F60
|
|
18: 155944AEA14A6E08283421E8F19FE6F3
|
|
19: 151BEE5BC94004DFD407A0EFE51F8D9A
|
|
20: 081C3192C00D7BACB147FDDA5C460A4A
|
|
21: BEEB181DB90F5B3B1DD5BCFFC87C66DE
|
|
22: D83B9F8AFD912D8424C85AB0FBDD4751
|
|
23: A3BAF0E00DEBFB9C3A7B65A5AFCEE670
|
|
24: D03695C35C7D36C05FD26ADBF070E559
|
|
25: 5BFAA49199ABCE1CFBA626D30FA6AB0F
|
|
26: 9C3601196AD328AADBE62C730ECCC888
|
|
27: 75D79E48C5797963EBAF466BC0E1639E
|
|
28: 968DF7D963E6D023EC8421C7B2787E7B
|
|
29: 5E315EB6B6E583E7D8CF78A3A81D28C9
|
|
30: 322E00FC522FA7B41A6564E37F3D9DDC
|
|
31: AAB04CB0B25A7A7951C75592BA7CB360
|
|
32: CD5B1ED284EDCD493EFE133ECEA0F822
|
|
|
|
OMAC-skipjack (10 byte key)
|
|
0: 84EDFA769040603C
|
|
1: 7DA58A4CBD642627
|
|
2: 118F60115CFC8229
|
|
3: A7F7346D34DB2F0E
|
|
4: 35615CCD526CD57F
|
|
5: DE471601A3660844
|
|
6: 15FCCE6D6D883D1F
|
|
7: C6F694861233151B
|
|
8: 3B762B397F16E807
|
|
9: 976C6AB59FB3AB12
|
|
10: 6810791F2C595961
|
|
11: 7FA3478286917F17
|
|
12: 73DEE44A51C6B610
|
|
13: 89EE8B253B1ACE81
|
|
14: CDF2586A56C8A0B5
|
|
15: ED91F98DA98F42C4
|
|
16: D8D0FA5CE96B08BF
|
|
|