(mode, key, data, algorithm)
| 112 | } |
| 113 | |
| 114 | function asyncAesCtrCipher(mode, key, data, algorithm) { |
| 115 | return jobPromise(() => new AESCipherJob( |
| 116 | kCryptoJobWebCrypto, |
| 117 | mode, |
| 118 | getCryptoKeyHandle(key), |
| 119 | data, |
| 120 | getVariant('AES-CTR', getCryptoKeyAlgorithm(key).length), |
| 121 | algorithm.counter, |
| 122 | algorithm.length)); |
| 123 | } |
| 124 | |
| 125 | function asyncAesCbcCipher(mode, key, data, algorithm) { |
| 126 | return jobPromise(() => new AESCipherJob( |
no test coverage detected
searching dependent graphs…