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
cipherKey | AES-CTR key (16 bytes for aes128-ctr, 32 for aes256-ctr). |
iv | 16-byte initial counter block. |
macKey | HMAC key (SHA-256/512 size). |
mac | MAC algorithm. |
rng | Random source for padding bytes. |
Throws
SshEtmException on unsupported key sizes.