(seqNum, type, version, len)
| 122 | return hmac.close(); |
| 123 | }, |
| 124 | aeadAdditionalData(seqNum, type, version, len) { |
| 125 | const c = ArrayBuffer.fromBigInt(seqNum, 8); |
| 126 | let tmps = new SSLStream(undefined, c.byteLength + 1 + 2 + 2); |
| 127 | tmps.writeChunk(c); |
| 128 | tmps.writeChar(type); |
| 129 | tmps.writeChars(version, 2); |
| 130 | tmps.writeChars(len, 2); |
| 131 | return tmps.getChunk().buffer; |
| 132 | }, |
| 133 | unpacketize(session, s) { |
| 134 | session.traceProtocol(this); |
| 135 | let type = s.readChar(); |
nothing calls this directly
no test coverage detected