Lines Matching defs:data
41 function testHmac(algo, key, data, expected) { argument
73 key: 'key', data: 'The quick brown fox jumps over the lazy dog', property
83 key: 'key', data: '', property
93 key: '', data: 'The quick brown fox jumps over the lazy dog', property
103 key: '', data: '', property
114 for (const { key, data, hmac } of wikipedia) { property
123 data: Buffer.from('4869205468657265', 'hex'), // 'Hi There' property
140 data: Buffer.from('7768617420646f2079612077616e7420666f72206e6f74686' + property
158 data: Buffer.from('ddddddddddddddddddddddddddddddddddddddddddddddddd' + property
178 data: Buffer.from('cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc' + property
199 data: Buffer.from('546573742057697468205472756e636174696f6e', 'hex'), property
216 data: Buffer.from('54657374205573696e67204c6172676572205468616e20426' + property
243 data: Buffer.from('5468697320697320612074657374207573696e672061206c6' + property
297 data: 'Hi There', property
302 data: 'what do ya want for nothing?', property
307 data: Buffer.from('ddddddddddddddddddddddddddddddddddddddddddddddddd' + property
315 data: Buffer.from('cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc' + property
323 data: 'Test With Truncation', property
332 data: 'Test Using Larger Than Block-Size Key - Hash Key First', property
341 data: property
348 for (const { key, data, hmac } of rfc2202_md5) property
354 data: 'Hi There', property
359 data: 'what do ya want for nothing?', property
364 data: Buffer.from('ddddddddddddddddddddddddddddddddddddddddddddd' + property
373 data: Buffer.from('cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdc' + property
381 data: 'Test With Truncation', property
390 data: 'Test Using Larger Than Block-Size Key - Hash Key First', property
399 data: property
406 for (const { key, data, hmac } of rfc2202_sha1) property