ChachaPolyPacketReader.feed

void feed(const(ubyte)[] data) @safe

Feeds received wire bytes.

The announced length is decrypted as soon as its ciphertext is present so the bound is enforced before further buffering.

Parameters

dataBytes received from the transport.

Throws

SshChaChaException when the decrypted length is out of

bounds or the assembly overran.