@@ -42,17 +42,10 @@ function assertSameSet(actual, expected, msg) {
4242 { algorithm : { name : 'AES-GCM' , length : 128 } ,
4343 usages : [ 'decrypt' , 'encrypt' , 'decrypt' ] ,
4444 expected : [ 'encrypt' , 'decrypt' ] } ,
45- ] ;
46-
47- if ( ! process . features . openssl_is_boringssl ) {
48- symmetric . push ( {
49- algorithm : { name : 'AES-KW' , length : 128 } ,
45+ { algorithm : { name : 'AES-KW' , length : 128 } ,
5046 usages : [ 'wrapKey' , 'unwrapKey' , 'wrapKey' , 'unwrapKey' ] ,
51- expected : [ 'wrapKey' , 'unwrapKey' ] ,
52- } ) ;
53- } else {
54- common . printSkipMessage ( 'AES-KW is not supported in BoringSSL' ) ;
55- }
47+ expected : [ 'wrapKey' , 'unwrapKey' ] } ,
48+ ] ;
5649
5750 if ( hasOpenSSL ( 3 ) ) {
5851 symmetric . push ( {
@@ -172,17 +165,10 @@ function assertSameSet(actual, expected, msg) {
172165 { algorithm : { name : 'HMAC' , hash : 'SHA-256' } , keyData : new Uint8Array ( 32 ) ,
173166 usages : [ 'verify' , 'sign' , 'verify' , 'sign' ] ,
174167 expected : [ 'sign' , 'verify' ] } ,
175- ] ;
176-
177- if ( ! process . features . openssl_is_boringssl ) {
178- rawSymmetric . push ( {
179- algorithm : { name : 'AES-KW' } , keyData : new Uint8Array ( 16 ) ,
168+ { algorithm : { name : 'AES-KW' } , keyData : new Uint8Array ( 16 ) ,
180169 usages : [ 'wrapKey' , 'unwrapKey' , 'wrapKey' ] ,
181- expected : [ 'wrapKey' , 'unwrapKey' ] ,
182- } ) ;
183- } else {
184- common . printSkipMessage ( 'AES-KW is not supported in BoringSSL' ) ;
185- }
170+ expected : [ 'wrapKey' , 'unwrapKey' ] } ,
171+ ] ;
186172
187173 if ( hasOpenSSL ( 3 ) ) {
188174 // KMAC does not support `raw` format, only `raw-secret` and `jwk`.
@@ -455,17 +441,10 @@ function assertSameSet(actual, expected, msg) {
455441 { algorithm : { name : 'AES-GCM' , length : 128 } ,
456442 usages : [ 'decrypt' , 'encrypt' , 'decrypt' ] ,
457443 expected : [ 'encrypt' , 'decrypt' ] } ,
458- ] ;
459-
460- if ( ! process . features . openssl_is_boringssl ) {
461- jwkVectors . push ( {
462- algorithm : { name : 'AES-KW' , length : 128 } ,
444+ { algorithm : { name : 'AES-KW' , length : 128 } ,
463445 usages : [ 'wrapKey' , 'unwrapKey' , 'wrapKey' , 'unwrapKey' ] ,
464- expected : [ 'wrapKey' , 'unwrapKey' ] ,
465- } ) ;
466- } else {
467- common . printSkipMessage ( 'AES-KW is not supported in BoringSSL' ) ;
468- }
446+ expected : [ 'wrapKey' , 'unwrapKey' ] } ,
447+ ] ;
469448
470449 if ( hasOpenSSL ( 3 ) ) {
471450 jwkVectors . push ( {
0 commit comments