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

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎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
constchacha=crypto.getCiphers().includes('chacha20-poly1305');
1010
constocb=hasOpenSSL(3);
1111
constkmac=hasOpenSSL(3);
12+
constboringSSL=process.features.openssl_is_boringssl;
1213

1314
const{ subtle }=globalThis.crypto;
1415
constX25519=awaitsubtle.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)