diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-05-18 11:05:20 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-06-13 15:58:56 +0200 |
commit | c188cc5338cf56d6d30590800bf1db6362a9abc6 (patch) | |
tree | abf90028489ec128bb4b7d89746265a41e9e3c5e /test | |
parent | 371103dae8b97264471e17de1989199ffcd2718e (diff) | |
download | android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.tar.gz android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.tar.bz2 android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.zip |
crypto: refactor pbkdf2() and pbkdf2Sync() methods
Use the scrypt() infrastructure to reimplement pbkdf2() in a simpler
manner.
PR-URL: https://github.com/nodejs/node/pull/20816
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/sequential/test-async-wrap-getasyncid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-async-wrap-getasyncid.js b/test/sequential/test-async-wrap-getasyncid.js index a17f509294..fb887ed5ac 100644 --- a/test/sequential/test-async-wrap-getasyncid.js +++ b/test/sequential/test-async-wrap-getasyncid.js @@ -115,7 +115,7 @@ if (common.hasCrypto) { // eslint-disable-line node-core/crypto-check // so need to check it from the callback. const mc = common.mustCall(function pb() { - testInitialized(this, 'PBKDF2'); + testInitialized(this, 'AsyncWrap'); }); crypto.pbkdf2('password', 'salt', 1, 20, 'sha256', mc); |