diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-07-29 12:18:22 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-29 12:18:22 -0400 |
commit | 6f64671e4ae3092206ed8b853e6336f8db75fbcc (patch) | |
tree | 69a7693e2d3c6bf366986b4cfcb7249f04e6406f /hc256.cpp | |
parent | 375b38554e7d8b8a2da8571eede97f3e52b57906 (diff) | |
download | cryptopp-git-6f64671e4ae3092206ed8b853e6336f8db75fbcc.tar.gz |
Update comments to make it clear the keystream is written
Diffstat (limited to 'hc256.cpp')
-rw-r--r-- | hc256.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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);
}
|