Skip to content

Commit fd63c27

Browse 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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines 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)