(mode, key, data, algorithm)
| 123 | } |
| 124 | |
| 125 | function asyncAesCbcCipher(mode, key, data, algorithm) { |
| 126 | return jobPromise(() => new AESCipherJob( |
| 127 | kCryptoJobWebCrypto, |
| 128 | mode, |
| 129 | getCryptoKeyHandle(key), |
| 130 | data, |
| 131 | getVariant('AES-CBC', getCryptoKeyAlgorithm(key).length), |
| 132 | algorithm.iv)); |
| 133 | } |
| 134 | |
| 135 | function asyncAesKwCipher(mode, key, data) { |
| 136 | return jobPromise(() => new AESCipherJob( |
no test coverage detected
searching dependent graphs…