(mode, key, data)
| 133 | } |
| 134 | |
| 135 | function asyncAesKwCipher(mode, key, data) { |
| 136 | return jobPromise(() => new AESCipherJob( |
| 137 | kCryptoJobWebCrypto, |
| 138 | mode, |
| 139 | getCryptoKeyHandle(key), |
| 140 | data, |
| 141 | getVariant('AES-KW', getCryptoKeyAlgorithm(key).length))); |
| 142 | } |
| 143 | |
| 144 | function asyncAesGcmCipher(mode, key, data, algorithm) { |
| 145 | const { tagLength = 128 } = algorithm; |
no test coverage detected
searching dependent graphs…