summaryrefslogtreecommitdiff
path: root/hc256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hc256.cpp')
-rw-r--r--hc256.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}