@@ -9,6 +9,7 @@ const shake256 = crypto.getHashes().includes('shake256');
|
9 | 9 | const chacha = crypto.getCiphers().includes('chacha20-poly1305'); |
10 | 10 | const ocb = hasOpenSSL(3); |
11 | 11 | const kmac = hasOpenSSL(3); |
| 12 | +const boringSSL = process.features.openssl_is_boringssl; |
12 | 13 | |
13 | 14 | const { subtle } = globalThis.crypto; |
14 | 15 | const X25519 = await subtle.generateKey('X25519', false, ['deriveBits', 'deriveKey']); |
@@ -108,9 +109,9 @@ export const vectors = {
|
108 | 109 | [true, 'RSA-PSS'], |
109 | 110 | [true, 'RSASSA-PKCS1-v1_5'], |
110 | 111 | [true, 'X25519'], |
111 | | -[true, 'X448'], |
| 112 | +[!boringSSL, 'X448'], |
112 | 113 | [true, 'Ed25519'], |
113 | | -[true, 'Ed448'], |
| 114 | +[!boringSSL, 'Ed448'], |
114 | 115 | [true, 'ECDH'], |
115 | 116 | [true, 'ECDSA'], |
116 | 117 | [pqc, 'ML-DSA-44'], |
|