From 6f64671e4ae3092206ed8b853e6336f8db75fbcc Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 29 Jul 2018 12:18:22 -0400 Subject: Update comments to make it clear the keystream is written --- hc256.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hc256.cpp') diff --git a/hc256.cpp b/hc256.cpp index d7c47fd8..aa64c648 100644 --- a/hc256.cpp +++ b/hc256.cpp @@ -103,8 +103,8 @@ void HC256Policy::OperateKeystream(KeystreamOperation operation, byte *output, c // then it will ask OperateKeystream to generate one. Optionally it // will ask for an XOR of the input with the keystream while // writing the result to the output buffer. In all cases the - // output buffer is written. The optional part is adding the - // input buffer and keystream. + // keystream is written to the output buffer. The optional part is + // adding the input buffer and keystream. if ((operation & INPUT_NULL) != INPUT_NULL) xorbuf(output, input, msglen); } -- cgit v1.2.1