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 fd63c27

Browse filesBrowse files
codebytereaduh95
authored andcommitted
test,crypto: update x448 and ed448 expectation when on boringssl
PR-URL: #60387 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent 7015f30 commit fd63c27
Copy full SHA for fd63c27

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎test/fixtures/webcrypto/supports-modern-algorithms.mjs‎

Copy file name to clipboardExpand all lines: test/fixtures/webcrypto/supports-modern-algorithms.mjs
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const shake256 = crypto.getHashes().includes('shake256');
99
const chacha = crypto.getCiphers().includes('chacha20-poly1305');
1010
const ocb = hasOpenSSL(3);
1111
const kmac = hasOpenSSL(3);
12+
const boringSSL = process.features.openssl_is_boringssl;
1213

1314
const { subtle } = globalThis.crypto;
1415
const X25519 = await subtle.generateKey('X25519', false, ['deriveBits', 'deriveKey']);
@@ -108,9 +109,9 @@ export const vectors = {
108109
[true, 'RSA-PSS'],
109110
[true, 'RSASSA-PKCS1-v1_5'],
110111
[true, 'X25519'],
111-
[true, 'X448'],
112+
[!boringSSL, 'X448'],
112113
[true, 'Ed25519'],
113-
[true, 'Ed448'],
114+
[!boringSSL, 'Ed448'],
114115
[true, 'ECDH'],
115116
[true, 'ECDSA'],
116117
[pqc, 'ML-DSA-44'],

0 commit comments

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