Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
benchmark: increase crypto DSA keygen params
OpenSSL 3.0 increased the minimum values for these parameters.

PR-URL: #40416
Fixes: #40410
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
  • Loading branch information
mscdex committed Oct 16, 2021
commit ed01811e71fc955729448d4d22ec6720fe3f8633
8 changes: 4 additions & 4 deletions benchmark/crypto/keygen.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const methods = {
bench.start();
for (let i = 0; i < n; ++i) {
generateKeyPairSync('dsa', {
modulusLength: 512,
divisorLength: 256,
modulusLength: 1024,
divisorLength: 160,
});
}
bench.end(n);
Expand All @@ -60,8 +60,8 @@ const methods = {
bench.start();
for (let i = 0; i < n; ++i)
generateKeyPair('dsa', {
modulusLength: 512,
divisorLength: 256,
modulusLength: 1024,
divisorLength: 160,
}, done);
},
};
Expand Down