(data, buf)
| 65 | this.ctr.setIV(ArrayBuffer.fromBigInt(y1)); |
| 66 | } |
| 67 | encrypt(data, buf) { |
| 68 | buf = this.ctr.encrypt(data, buf); |
| 69 | this.ghash.update(buf); |
| 70 | return buf; |
| 71 | }; |
| 72 | decrypt(data, buf) { |
| 73 | this.ghash.update(data); |
| 74 | return this.ctr.decrypt(data, buf); |
no test coverage detected