Decrypt the stream and verify HMAC using the given AES-CTR and SHA512-HMAC key Do not trust the out io.Writer contents until the function returns the result of validating the ending HMAC hash.
Encrypt the stream using the given AES-CTR and SHA512-HMAC key.