Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 996bc6e

Browse filesBrowse files
mscdextargos
authored andcommitted
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>
1 parent 04c2cbe commit 996bc6e
Copy full SHA for 996bc6e

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎benchmark/crypto/keygen.js‎

Copy file name to clipboardExpand all lines: benchmark/crypto/keygen.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const methods = {
4343
bench.start();
4444
for (let i = 0; i < n; ++i) {
4545
generateKeyPairSync('dsa', {
46-
modulusLength: 512,
47-
divisorLength: 256,
46+
modulusLength: 1024,
47+
divisorLength: 160,
4848
});
4949
}
5050
bench.end(n);
@@ -60,8 +60,8 @@ const methods = {
6060
bench.start();
6161
for (let i = 0; i < n; ++i)
6262
generateKeyPair('dsa', {
63-
modulusLength: 512,
64-
divisorLength: 256,
63+
modulusLength: 1024,
64+
divisorLength: 160,
6565
}, done);
6666
},
6767
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.