bounds or the assembly overran.
ChachaPolyPacketReader.feed
void feed(const(ubyte)[] data) @safeFeeds received wire bytes.
The announced length is decrypted as soon as its ciphertext is present so the bound is enforced before further buffering.
Parameters
data | Bytes received from the transport. |
Throws
SshChaChaException when the decrypted length is out of