comparison libtomcrypt/notes/pmac_tv.txt @ 297:79bf1023cf11 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 0501e6f661b5415eb76f3b312d183c3adfbfb712) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 01038174ec27245b51bd43a66c01ad930880f67b)
author Matt Johnston <matt@ucc.asn.au>
date Tue, 21 Mar 2006 16:20:59 +0000
parents 1b9e69c058d2
children 6dba84798cd5
comparison
equal deleted inserted replaced
225:ca7e76d981d9 297:79bf1023cf11
1 PMAC Tests. In these tests messages of N bytes long (00,01,02,...,NN-1) are OMAC'ed. The initial key is
2 of the same format (length specified per cipher). The OMAC key in step N+1 is the OMAC output of
3 step N (repeated as required to fill the array).
4
5 PMAC-aes (16 byte key)
6 0: 4399572CD6EA5341B8D35876A7098AF7
7 1: 580F7AA4AA45857C79BA2FB892228893
8 2: 24D2D1DBABDB25F9F2D391BB61F4204A
9 3: 083BF95E310B42A89751BC8E65ABA8B5
10 4: 69BEB9268CD7FD3D7AB820BD7E226955
11 5: FD71B0E647ADB4BB3F587E82B8B3401A
12 6: 07EA46271081840737CEB1AC9E5E22E3
13 7: FFA12AD9A9FDB5EE126084F82B381B10
14 8: 8A11AF301AAFEAC8A75984ED16BB3292
15 9: 368BDC3F4220E89B54C5F9D09FFB8F34
16 10: 8B6DBFF776FD526147D1C4655626374F
17 11: C538C09FC10DF38217CD8E799D8D1DC9
18 12: FC1264A2051DEF73339432EA39443CFD
19 13: 8AF37ED2FB2E8E30E9C4B75C1F1363E1
20 14: 4295541FC62F6774068B8194CC9D9A46
21 15: CFAF4D8EA09BB342F07131344DB0AA52
22 16: B6CBD6E95959B2A8E22DE07E38B64D8D
23 17: 3124E42DE3273B0F4806FB72A50F3E54
24 18: 252D49403509B618AB3A6A1D99F9E9FA
25 19: 9CDA75594CB696EB19C022DDA7324C10
26 20: 33BB8AE43B7BC179E85F157FA19607D0
27 21: 12FE91BCF2F2875379DC671C6F1B403E
28 22: 416A3E519D1E406C92F8BB0DDBBBB6BF
29 23: 6F98DCCD5A8D60DEAF612ACCEDD7E465
30 24: FFCE7604609B2C3C050921854C638B7E
31 25: DD2BB10AA07A5EC8D326BB7BF8D407F4
32 26: 468BFE669FCDF354E4F9768FE1EAF8F6
33 27: 01724D2F2C61EB4F380852218212E892
34 28: 2D90EC658F57138505598C659C539A3E
35 29: 6301EAA0E1500FFEB86752744EFFF23D
36 30: 3CCB177486377616056D835F6F857F7C
37 31: BFB3C7755C1F4543B516EB8610CB219F
38 32: D5C505847D7CFFD8CED848F6CB613105
39
40 PMAC-blowfish (8 byte key)
41 0: 3B7E4EFE92FA46AF
42 1: 746840017C38C892
43 2: 3B6A92C731465B64
44 3: D89D3B05143B6704
45 4: 43F70D54B808B7CE
46 5: 84E4063AB32F046C
47 6: A7E78CD5CCD23805
48 7: A78FB083475FEF10
49 8: D4F6C26B5386BA25
50 9: 184768A079853C90
51 10: 0702E6C8140C5D3B
52 11: 786D94565AA0DF4B
53 12: F6D36D3A2F4FB2C1
54 13: 7BB3A0592E02B391
55 14: 5B575C77A470946B
56 15: 686DAD633B5A8CC3
57 16: BDFE0C7F0254BAD5
58
59 PMAC-xtea (16 byte key)
60 0: A7EF6BB667216DDA
61 1: B039E53812C4ABDC
62 2: 87D2F8EA5FB6864D
63 3: F85E3F4C1D9F5EFC
64 4: 4EB749D982FB5FE2
65 5: 0BFA0F172027441A
66 6: FF82D01F36A6EC91
67 7: 3BC2AA2028EBBD7A
68 8: 15AA03A97A971E2A
69 9: C974691F5D66B835
70 10: 4FC7AA8F399A79ED
71 11: 2633DA9E94673BAE
72 12: 82A9FD48C5B60902
73 13: 31BF6DA9EE0CE7E4
74 14: 26B2538601B7620E
75 15: D103F3C0B4579BE5
76 16: 031346BA20CD87BC
77
78 PMAC-rc5 (8 byte key)
79 0: C6B48F8DEC631F7C
80 1: F7AA62C39972C358
81 2: 0E26EC105D99F417
82 3: 7D3C942798F20B8C
83 4: 415CDA53E1DE3888
84 5: A314BA5BCA9A67AC
85 6: 02A5D00A3E371326
86 7: E210F0A597A639E5
87 8: D4A15EED872B78A2
88 9: AC5F99886123F7DC
89 10: 69AEB2478B58FFDF
90 11: 8AB167DFC9EF7854
91 12: 945786A136B98E07
92 13: F3822AB46627CAB5
93 14: 23833793C3A83DA9
94 15: 70E6AB9E6734E5A6
95 16: 0705C312A4BB6EDE
96
97 PMAC-rc6 (16 byte key)
98 0: C7715A17012401DE248DC944DEEBD551
99 1: 5B804C6CCDF97BB28811C9ED24FE6157
100 2: 7528378C052F4346253CB0DFA3D251C7
101 3: 6DA86EE0B28606861B1A954D7429A93C
102 4: B4DFF84C25937FB50EE79D4037323160
103 5: A60FD9BE5E1FF67EC9734776C8781096
104 6: 81D3F8EDC0A197DD3739EAE648F38580
105 7: 8BAF47F02120E898916D678DBD0C1641
106 8: 7A9EEC96F10B7CF557B61EF35BB55B08
107 9: B88C11221014F8AE048E56C427DF4A46
108 10: 4BBA8EED89F357861A265006816D9B04
109 11: 8497C1D55010A65ED8C3688B75A7CABF
110 12: 95E1720C06A373CAD1A22F432F26BCCA
111 13: A175FB732692831E96AFB587BC49E18C
112 14: 54EBC04FCFD90302907BF77C4D8AC77C
113 15: EA9F13EE5548CDF771C354527CDDA09B
114 16: 4EDBCFD0E2E6B321530EB31B3E8C2FE4
115 17: F412304C1A5B9005CC3B7900A597DFB5
116 18: 3B9247C12BB25DF048BF5541E91E1A78
117 19: 39626488635D0A6224CD23C13B25AE8E
118 20: 40305F5C2FCEF34E764E33EF635A3DC5
119 21: F84499804086033E85633A1EF9908617
120 22: C4D263CDC7E0969B8AC6FA9AD9D65CB8
121 23: 6137DC840E61EA6A288D017EFB9646FC
122 24: 8619960428EB29B1D5390F40173C152F
123 25: F0464509D0FBDBECEC9DFC57A820016D
124 26: 630EED23E87059051E564194831BAEF6
125 27: 4B792B412458DC9411F281D5DD3A8DF6
126 28: F2349FA4418BC89853706B35A9F887BA
127 29: FEAC41D48AEAB0955745DC2BE1E024D5
128 30: A67A135B4E6043CB7C9CAFBFA25D1828
129 31: EC12C9574BDE5B0001EE3895B53716E2
130 32: 44903C5737EE6B08FD7D7A3937CC840D
131
132 PMAC-safer+ (16 byte key)
133 0: E8603C78F9324E9D294DA13C1C6E6E9B
134 1: 3F1178DFC2A10567D4BCC817D35D1E16
135 2: 27FE01F90E09237B4B888746199908EE
136 3: 4F5172E3D8A58CD775CD480D85E70835
137 4: 74BED75EFAAB3E8AA0027D6730318521
138 5: 54B003AB0BE29B7C69F7C7494E4E9623
139 6: 8A2DAD967747AEA24670141B52494E2F
140 7: 69EB054A24EE814E1FB7E78395339781
141 8: E59C2D16B76B700DC62093F0A7F716CC
142 9: AB227D6303007FD2001D0B6A9E2BFEB7
143 10: AE107117D9457A1166C6DFD27A819B44
144 11: F84DE551B480CED350458851BAE20541
145 12: B0EB5103E7559B967D06A081665421E0
146 13: CDB14F3AD1170CE8C6091947BE89DE7B
147 14: 24FA2F476407094152D528FCF124E438
148 15: 440144B31EC09BD8791BFE02E24EA170
149 16: 697D268A46E8B33CEC0BAB8CAF43F52D
150 17: 587CBDE7608449BD162184020FBFCC8D
151 18: 3EA999C2169CC65735737F50FCD7956B
152 19: C6D692698CD8BEEBF2387C6A35A261B0
153 20: 46DAB3AD3C4E2EF712FAC38F846C63E1
154 21: 7261E68B530D10DDC9AD4C9AB5D95693
155 22: 4D0BA5773E988C2B7B2302BBA0A9D368
156 23: 8617154626362736698613151D1FD03A
157 24: 23CF25F68B281E21777DC409FE3B774A
158 25: CA626956C97DC4207D968A8CC85940B8
159 26: 24C39BE160BDBB753513F949C238014E
160 27: 83CD65C010FB69A77EEDEA022A650530
161 28: 1A72DC8438B927464125C0DFEACDE75D
162 29: 546054936A2CB5BFBB5E25FFD07C9B51
163 30: 0EB81A268F1BB91997CB9809D7F9F2AD
164 31: 7D08B4DE960CADC483D55745BB4B2C17
165 32: FD45061D378A31D0186598B088F6261B
166
167 PMAC-twofish (16 byte key)
168 0: D2D40F078CEDC1A330279CB71B0FF12B
169 1: D1C1E80FD5F38212C3527DA3797DA71D
170 2: 071118A5A87F637D627E27CB581AD58C
171 3: C8CFA166A9B300F720590382CE503B94
172 4: 3965342C5A6AC5F7B0A40DC3B89ED4EB
173 5: 6830AB8969796682C3705E368B2BDF74
174 6: FF4DCC4D16B71AFEEA405D0097AD6B89
175 7: ADB77760B079C010889F79AA02190D70
176 8: 5F2FCD6AA2A22CEECAA4671EE0403B88
177 9: 70DD6D396330904A0A03E19046F4C0BF
178 10: 8A2C9D88FA0303123275C704445A7F47
179 11: BA0B2F6D029DCD72566821AB884A8427
180 12: C8DF45FF13D7A2E4CFE1546279172300
181 13: 512659AD40DC2B9D31D299A1B00B3DAD
182 14: A8A0E99D2E231180949FC4DFB4B79ED4
183 15: CA161AFB2BC7D891AAE268D167897EF2
184 16: D6C19BBDFFC5822663B604B1F836D8BD
185 17: 4BF115F409A41A26E89C8D758BBF5F68
186 18: 02E3196D888D5A8DE818DBCBAD6E6DC7
187 19: 995C9DD698EC711A73BD41CAAE8EB633
188 20: A031857FADC8C8AFEABF14EF663A712D
189 21: 124695C9A8132618B10E9800A4EFACC5
190 22: 997E5E41798648B8CE0C398EF9135A2C
191 23: 42C92154B71FB4E133F8F5B2A2007AB2
192 24: 945DC568188D036AC91051A11AC92BBF
193 25: D5A860CC4C3087E9F4988B25D1F7FAAE
194 26: 6CD6ABF8EDF3102659AFFBE476E2CBE8
195 27: 45ECD0C37091414E28153AA5AFA3E0B2
196 28: CBA6FE296DDE36FE689C65667F67A038
197 29: C4022281633F2FC438625540B2EE4EB8
198 30: 864E27045F9CC79B5377FDF80A6199CF
199 31: 0D06F2FAEC5AA404A4087AAEBC4DBB36
200 32: 0F396FE9E3D9D74D17EB7A0BF603AB51
201
202 PMAC-safer-k64 (8 byte key)
203 0: 2E49792C78C1DA52
204 1: 7A5136F4FE617C57
205 2: 6FC8575F6F3D78EC
206 3: 7C0373CAEAAA640B
207 4: 9D469E7FF6C35D31
208 5: 7755D62DD7D88112
209 6: ADD9E7855A958C9F
210 7: 752D29BA8150F18E
211 8: 0954649A99596104
212 9: 05D4D75A9FAE233D
213 10: 1AADAFD7B4B250DA
214 11: E7A8F31ED74DA32B
215 12: 1A74DF61BDB9DF94
216 13: C38A67B1955C4E0D
217 14: EBADAA44746ADF16
218 15: C0BFBB092CE81D8E
219 16: 984975657F3FF2B0
220
221 PMAC-safer-sk64 (8 byte key)
222 0: E8917E1629E7403E
223 1: AE8061A5E412A647
224 2: C969771CE5A9B0C6
225 3: 78159C01D0A3A5CB
226 4: 1DD4382A8FC81921
227 5: 4086880FD863C048
228 6: A520B45600A3FA1D
229 7: 0F0AB5118D7506C4
230 8: 22E315F2DD03BCC6
231 9: 5ECB5561EE372016
232 10: 446A9B2BCB367AD6
233 11: B2107FE2EB411AE9
234 12: 5A539B62FB5893DF
235 13: F44EE1EB3278C2BA
236 14: 293FEA56D1F6EA81
237 15: F38F614D2B5F81C4
238 16: AB23F7F8F4C12A7E
239
240 PMAC-safer-k128 (16 byte key)
241 0: 7E0BDE11EC82FDE6
242 1: 8942FB017A135520
243 2: 0B073E6D0F037A02
244 3: DBF88439D671ED4F
245 4: B89427ED1121069A
246 5: AA8573DAC66D2315
247 6: 12DA3144BEF13FF2
248 7: EF80413CBA281B3A
249 8: DFA7114D8505EEBD
250 9: AE53607F3E6F4A54
251 10: 3F2C9395CFB9F78F
252 11: 67EB7C5F02760AED
253 12: 3EF4CBB4AB5B8D1F
254 13: 83B63AFA78795A92
255 14: 5DE400951766992A
256 15: AA8791A45237CF83
257 16: 7743B18704B037CF
258
259 PMAC-safer-sk128 (16 byte key)
260 0: 8F1597FFCF6FB7C1
261 1: AFF8BD8FF9F3888A
262 2: 65F89D82869D8B42
263 3: CBE1F06476B2D5BD
264 4: 4878D47FDFECE23E
265 5: 4751A9E6D61AB2A2
266 6: 003AC162AED4DED8
267 7: 1F617A5555092C22
268 8: 088EE0C35B607153
269 9: F840B485086F9908
270 10: BA99E0FB5D7D0976
271 11: F04AF6DC4BAF6887
272 12: 5DBBE40AF2F67E4E
273 13: 7F52A93E87E29C9D
274 14: 7B26A14A4BD5B709
275 15: C34F26E08C64F26B
276 16: 291A41D479EC1D2A
277
278 PMAC-rc2 (8 byte key)
279 0: E5AF80FAC4580444
280 1: 6A15D6211EB4FF99
281 2: DDB95E9486C4B034
282 3: 9764761DC2AAD5C0
283 4: 1B1CD2E799D44B4F
284 5: 4F80FE32256CF2EC
285 6: 7B70CF31C81CD384
286 7: 9BC10DD9332CF3BB
287 8: 628189801879FDD8
288 9: 5FC17C555E2AE28B
289 10: E20E68327ABEAC32
290 11: 5D375CA59E7E2A7C
291 12: A9F4CFC684113161
292 13: 3A0E069940DDD13C
293 14: EAC25B6351941674
294 15: CB8B5CF885D838CF
295 16: DCBCDDFC06D3DB9A
296
297 PMAC-des (8 byte key)
298 0: 086A2A7CFC08E28E
299 1: F66A1FB75AF18EC9
300 2: B58561DE2BEB96DF
301 3: 9C50856F571B3167
302 4: 6CC645BF3FB00754
303 5: 0E4BEE62B2972C5A
304 6: D2215E451649F11F
305 7: E83DDC61D12F3995
306 8: 155B20BDA899D2CF
307 9: 2567071973052B1D
308 10: DB9C20237A2D8575
309 11: DAF4041E5674A48C
310 12: 552DB7A627E8ECC4
311 13: 1E8B7F823488DEC0
312 14: 84AA15713793B25D
313 15: FCE22E6CAD528B49
314 16: 993884FB9B3FB620
315
316 PMAC-3des (24 byte key)
317 0: E42CCBC9C9457DF6
318 1: FE766F7930557708
319 2: B9011E8AF7CD1E16
320 3: 5AE38B037BEA850B
321 4: A6B2C586E1875116
322 5: BF8BA4F1D53A4473
323 6: 3EB4A079E4E39AD5
324 7: 80293018AC36EDBF
325 8: CC3F5F62C2CEE93C
326 9: EE6AA24CE39BE821
327 10: 487A6EAF915966EA
328 11: D94AD6393DF44F00
329 12: F4BFCCC818B4E20D
330 13: 2BE9BC57412591AA
331 14: 7F7CC8D87F2CDAB7
332 15: B13BFD07E7A202CB
333 16: 58A6931335B4B2C2
334
335 PMAC-cast5 (8 byte key)
336 0: 0654F2F4BC1F7470
337 1: 3F725B162A1C8E6B
338 2: BCFBDC680A20F379
339 3: 027922705BCACDEE
340 4: 44E2F4BE59774BA4
341 5: 3ABD1AFC8EE291F7
342 6: D96347E717921E96
343 7: 96257299FCE55BC6
344 8: C2C1DA176EE98170
345 9: FD415C122E604589
346 10: DCBCA228D45AEDA4
347 11: 7801FBCFAAB9DF75
348 12: D38CB38574474B7F
349 13: F5C5A23FF3E80F37
350 14: 83FA4DAD55D092F5
351 15: BDC0A27EE0CB1657
352 16: 87D907CACA80A138
353
354 PMAC-noekeon (16 byte key)
355 0: A1E4C84B5958726557DF0855B37AA551
356 1: 5DE20299CA919D3365B493D3D4895F92
357 2: AF7E70C336571A857F62A18649EDB197
358 3: C5F55CFE1AA119C352B64252AD246CBD
359 4: FEF68A0CE08E8BA315B73B62F861824F
360 5: 8321C2958DE4903DC12C42A8845ECC20
361 6: 370466D1324AECF1F5B42E0E01381613
362 7: 5CB900190F5CACBACFE5EAB0CC289D87
363 8: A13C043E6CAAA1E34601A93C497446A4
364 9: 865E11622A4CC8A9E1408E00F56C4543
365 10: 9DC42C26868374649BD17D69D025CA1B
366 11: 37D33C11B433C91DA09925CA9E86757A
367 12: 1373D769C270E7137C953AC0F8F37941
368 13: 7E81DEC583348B1E2F6267ECF82CB994
369 14: 505B6329338556518FF364CAA730F5E8
370 15: 0C085AEEB315968B0BDE904E8BBC6FD0
371 16: 5FED63259364BE7E5133FF0507DD2D4C
372 17: F7EE5C80A99AAEADB49E7CC69BFFF679
373 18: 4388FA5E763A641130940EB705BEFD08
374 19: 1BC31CA79EBE1674CEBE01BC9988267B
375 20: BE88961637EFFE2D6905D104FEDD51A4
376 21: 9C341004FB22AFCC496094E3207CA761
377 22: B9DAA3620E38FFC7C5D5E7D2D8FE3DE4
378 23: A38D2E571F037061B4400F1131FDBDEA
379 24: 61DB71AE77A6EB47F2E9E14E8CBF2F4B
380 25: 9903A072274CC048EF2C51493266D9ED
381 26: 1EBEA421DD08859C17DDF39B20A82102
382 27: F425858618E1A86F4912E4714EFB9E75
383 28: 3B3D4EA07F7FE6DDFDD02D624ACDFC9F
384 29: CEEE256591D701514EB17DF73B08A970
385 30: 5CC56D5D46120C530A23B6C511C685FC
386 31: 68E484CE18BE28EADD0BBF23291B8237
387 32: ABD58A9CDF8AA68168A1A402074CF520
388
389 PMAC-skipjack (10 byte key)
390 0: 9CD94B75BC43B647
391 1: B069ACB82B12BC7B
392 2: 6DD40E71EB03E311
393 3: 74CBED61D77DBA7D
394 4: DD1B7E0D181537FE
395 5: ACB5B96FA0AD1786
396 6: B34E01EB2567D381
397 7: 9623DAADE57B9549
398 8: 8BA384BABB798344
399 9: B147AA9D5C5C67CF
400 10: 0033C520F4C67523
401 11: 42DAC184BEABC3E5
402 12: 428029311004AEBB
403 13: AC2BB1C0F0ED649B
404 14: F7CAA9A3BF749C1A
405 15: 2C5BD475AAC44C77
406 16: FEB892DA66D31A84
407
408 PMAC-anubis (16 byte key)
409 0: DF33EE541FFEE6A97FE3A1F72F7A38FC
410 1: 0AB28675AC3923C6DD9F5A8E1E2928D0
411 2: 2DABF75D6403E1E1CFAB3E6869FB1088
412 3: 95835D49E09740180B79E394FC2AA744
413 4: F364D6DC2C2078A519E5BAEFE858AFCA
414 5: DA4C66A4805FC91FABAECC0D3AEAD850
415 6: 487660FADCAC7B326C492AA051A1DF49
416 7: BF07835AA1A548FA7312509AF35CE3F3
417 8: 3CE8A8B1F324A700923AC0B830D53D99
418 9: 3C54D99AACFAB26E34FC1B0B6BB9EB22
419 10: 0A559F9D107ED76FD19227FDD0752B8A
420 11: BFD9E74ADC40B9C7446FDD09558FA584
421 12: F1130F663BC0FA3B1066129E0D1910E9
422 13: 535EAD786F0D211DE7AA78F3CB480803
423 14: CDF5855F00A4C310D95B26751B01A28B
424 15: EF6686E999D5A9C35A96D25BB9DBBF57
425 16: E795733AA0AAF16D8F7AB1A8E9C55E54
426 17: E03CA85727D5CF06F56BB6465BB3E5C5
427 18: 6EDDDB6D2292EFF584E382E1BACD1A49
428 19: 7B7FE0D8821836C1AA95578071FF2FD2
429 20: 5F8CC568338400746B61A9286B7CF262
430 21: 32DEE5A11E9EDB04BDF911837CE0FA4D
431 22: F1A99914F13B17ABF383F36157FEB170
432 23: 99F541647F382390043CAE5332E3114D
433 24: 34C5EBB85693A1979F8CFDF8B431A5BB
434 25: 1BA7266568F1E7B4A77A869D3021AC0F
435 26: 0FC675C99C24E859F8CE714E86BF5289
436 27: CBFAB21F5ABC47356A43BED806D873C0
437 28: 9659AB1A4D334B622629721F98EECE3A
438 29: 644C8BEE41F03BDE7652B03CAEA31E37
439 30: 5B3447AFAD934B4D1E4910A8DFD588E7
440 31: BFF403342E8D50D0447627AEA2F56B23
441 32: 19F468F0FB05184D00FABD40A18DB7B2
442
443 PMAC-khazad (16 byte key)
444 0: F40CEF2E392BEAEB
445 1: C6E086BD1CFA0992
446 2: 513F2851583AD69A
447 3: 07279D57695D78FF
448 4: 051E94FE4CC847B6
449 5: 5E9AAA5989D5C951
450 6: 310D5D740143369A
451 7: 9BB1EA8ECD4AF34B
452 8: CF886800AF0526C8
453 9: 0B03E2C94729E643
454 10: 42815B308A900EC7
455 11: 9A38A58C438D26DD
456 12: 044BFF68FD2BFF76
457 13: 7F5ABBDC29852729
458 14: F81A7D6F7B788A5D
459 15: 93098DA8A180AA35
460 16: BACE2F4DA8A89E32
461