Lines Matching refs:hkdfSync
13 hkdfSync,
28 assert.throws(() => hkdfSync(i, 'a'), {
39 assert.throws(() => hkdfSync('sha256', i), {
50 assert.throws(() => hkdfSync('sha256', 'secret', i), {
61 assert.throws(() => hkdfSync('sha256', 'secret', 'salt', i), {
72 assert.throws(() => hkdfSync('sha256', 'secret', 'salt', 'info', i), {
81 assert.throws(() => hkdfSync('sha256', 'secret', 'salt', 'info', -1), {
88 assert.throws(() => hkdfSync('sha256', 'secret', 'salt', 'info',
93 assert.throws(() => hkdfSync('unknown', 'a', '', '', 10), {
106 assert.throws(() => hkdfSync('unknown', 'a', '', Buffer.alloc(1025), 10), {
116 () => hkdfSync('sha512', 'a', '', '', 64 * 255 + 1), {
132 const syncResult = hkdfSync(hash, secret, salt, info, length);
151 const syncResult = hkdfSync(hash, buf_secret, buf_salt, buf_info, length);
163 const syncResult = hkdfSync(hash, key_secret, buf_salt, buf_info, length);
175 const syncResult = hkdfSync(hash, ta_secret, ta_salt, ta_info, length);
187 const syncResult = hkdfSync(
204 const syncResult = hkdfSync(
223 assert(hkdfSync(hash, 'key', 'salt', 'info', 5));