Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
  • Loading branch information
mscdex authored and targos committed Nov 4, 2021
1 parent 04c2cbe commit 996bc6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark/crypto/keygen.js
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

0 comments on commit 996bc6e

Please sign in to comment.