Lines Matching refs:crypto
4 common.skip('missing crypto');
7 const crypto = require('crypto');
12 assert.throws(() => crypto.createDiffieHellman(13.37), {
19 assert.throws(() => crypto.createDiffieHellman('abcdef', 13.37), {
28 assert.throws(() => crypto.createDiffieHellman(bits), {
34 assert.throws(() => crypto.createDiffieHellman(bits), {
48 assert.throws(() => crypto.createDiffieHellman('abcdef', g), ex);
49 assert.throws(() => crypto.createDiffieHellman('abcdef', 'hex', g), ex);
60 assert.throws(() => crypto.createDiffieHellman('abcdef', g), ex);
61 assert.throws(() => crypto.createDiffieHellman('abcdef', 'hex', g), ex);
71 () => crypto.createDiffieHellman(input),
81 () => crypto.createECDH(),
91 crypto.getDiffieHellman('unknown-group');
98 'crypto.getDiffieHellman(\'unknown-group\') ' +
103 () => crypto.createDiffieHellman('', true),
109 () => crypto.createDiffieHellman('', 'base64', generator),