@@ -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`.
@@ -441,17 +427,10 @@ function assertSameSet(actual, expected, msg) {
441427 { algorithm : { name : 'AES-GCM' , length : 128 } ,
442428 usages : [ 'decrypt' , 'encrypt' , 'decrypt' ] ,
443429 expected : [ 'encrypt' , 'decrypt' ] } ,
444- ] ;
445-
446- if ( ! process . features . openssl_is_boringssl ) {
447- jwkVectors . push ( {
448- algorithm : { name : 'AES-KW' , length : 128 } ,
430+ { algorithm : { name : 'AES-KW' , length : 128 } ,
449431 usages : [ 'wrapKey' , 'unwrapKey' , 'wrapKey' , 'unwrapKey' ] ,
450- expected : [ 'wrapKey' , 'unwrapKey' ] ,
451- } ) ;
452- } else {
453- common . printSkipMessage ( 'AES-KW is not supported in BoringSSL' ) ;
454- }
432+ expected : [ 'wrapKey' , 'unwrapKey' ] } ,
433+ ] ;
455434
456435 if ( hasOpenSSL ( 3 ) ) {
457436 jwkVectors . push ( {
0 commit comments