Lines Matching refs:hmac
58 const hmac = crypto.createHmac(algo, keyWrapper(key));
60 hmac.update(chunk);
61 const actual = hmac.digest('hex');
76 hmac: { // HMACs lifted from Wikipedia. property
86 hmac: { // Intermediate test to help debugging. property
96 hmac: { // Intermediate test to help debugging. property
106 hmac: { // HMACs lifted from Wikipedia. property
116 for (const { key, data, hmac } of wikipedia) { field
117 for (const hash in hmac)
118 testHmac(hash, key, data, hmac[hash]);
126 hmac: { property
144 hmac: { property
163 hmac: { property
183 hmac: { property
202 hmac: { property
221 hmac: { property
252 hmac: { property
269 for (const hash in rfc4231[i].hmac) {
280 const expected = rfc4231[i].hmac[hash];
300 hmac: '9294727a3638bb1c13f48ef8158bfc9d' property
305 hmac: '750c783e6ab0b503eaa86e310a5db738' property
312 hmac: '56be34521d144c88dbb8c733f0e8b3f6' property
321 hmac: '697eaf0aca3a3aea3a75164746ffaa79' property
326 hmac: '56461ef2342edc00f9bab995690efd4c' property
335 hmac: '6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd' property
346 hmac: '6f630fad67cda0ee1fb1f562db3aa53e' property
350 for (const { key, data, hmac } of rfc2202_md5) field
351 testHmac('md5', key, data, hmac);
357 hmac: 'b617318655057264e28bc0b6fb378c8ef146be00' property
362 hmac: 'effcdf6ae5eb2fa2d27416d5f184df9c259a7c79' property
370 hmac: '125d7342b9ac11cd91a39af48aa17b4f63f175d3' property
379 hmac: '4c9007f4026250c6bc8414f9bf50c86c2d7235da' property
384 hmac: '4c1a03424b55e07fe7f27be1d58bb9324a9a5a04' property
393 hmac: 'aa4ae5e15272d00e95705637ce8a3b55ed402112' property
404 hmac: 'e8e99d0f45237d786d6bbaa7965c7808bbff1a91' property
408 for (const { key, data, hmac } of rfc2202_sha1) field
409 testHmac('sha1', key, data, hmac);