var assert = require('assert'); var hash = require('../'); var utils = hash.utils; describe('Hmac', function() { describe('mixed test vector', function() { test({ name: 'nist 1', key: '00010203 04050607 08090A0B 0C0D0E0F' + '10111213 14151617 18191A1B 1C1D1E1F 20212223 24252627' + '28292A2B 2C2D2E2F 30313233 34353637 38393A3B 3C3D3E3F', msg: 'Sample message for keylen=blocklen', res: '8bb9a1db9806f20df7f77b82138c7914d174d59e13dc4d0169c9057b133e1d62' }); test({ name: 'nist 2', key: '00010203 04050607' + '08090A0B 0C0D0E0F 10111213 14151617 18191A1B 1C1D1E1F', msg: 'Sample message for keylen