EtMPacketWriter.this

this(const(ubyte)[] cipherKey, in ubyte[16] iv, const(ubyte)[] macKey, EtMMac mac, CryptoRandom rng)

Constructs a writer from derived key material.

Parameters

cipherKeyAES-CTR key (16 bytes for aes128-ctr, 32 for aes256-ctr).
iv16-byte initial counter block.
macKeyHMAC key (SHA-256/512 size).
macMAC algorithm.
rngRandom source for padding bytes.

Throws

SshEtmException on unsupported key sizes.