diff --git a/hc128.cpp b/hc128.cpp index 0d0fb14c..19b4a3db 100644 --- a/hc128.cpp +++ b/hc128.cpp @@ -224,7 +224,7 @@ void HC128Policy::OperateKeystream(KeystreamOperation operation, byte *output, c PutWord(false, LITTLE_ENDIAN_ORDER, output + 56, keystream[14]); PutWord(false, LITTLE_ENDIAN_ORDER, output + 60, keystream[15]); - // If AdditiveCipherTemplate does not have an acculated keystream + // If AdditiveCipherTemplate does not have an accumulated keystream // then it will ask OperateKeystream to XOR the plaintext with // the keystream and write it to the ciphertext buffer. if ((operation & INPUT_NULL) != INPUT_NULL) diff --git a/hc256.cpp b/hc256.cpp index c0bf48cc..d77b5d45 100644 --- a/hc256.cpp +++ b/hc256.cpp @@ -99,7 +99,7 @@ void HC256Policy::OperateKeystream(KeystreamOperation operation, byte *output, c for (unsigned int i = 0; i < (msglen >> 2); i++, in += 4, out += 4) PutWord(false, LITTLE_ENDIAN_ORDER, out, Generate()); - // If AdditiveCipherTemplate does not have an acculated keystream + // If AdditiveCipherTemplate does not have an accumulated keystream // then it will ask OperateKeystream to XOR the plaintext with // the keystream and write it to the ciphertext buffer. if ((operation & INPUT_NULL) != INPUT_NULL) diff --git a/rabbit.cpp b/rabbit.cpp index f7d9d3b0..505f07ac 100644 --- a/rabbit.cpp +++ b/rabbit.cpp @@ -139,7 +139,7 @@ void RabbitPolicy::OperateKeystream(KeystreamOperation operation, byte *output, PutWord(false, LITTLE_ENDIAN_ORDER, output + 8, m_wx[4] ^ (m_wx[1] >> 16) ^ (m_wx[7] << 16)); PutWord(false, LITTLE_ENDIAN_ORDER, output + 12, m_wx[6] ^ (m_wx[3] >> 16) ^ (m_wx[1] << 16)); - // If AdditiveCipherTemplate does not have an acculated keystream + // If AdditiveCipherTemplate does not have an accumulated keystream // then it will ask OperateKeystream to XOR the plaintext with // the keystream and write it to the ciphertext buffer. if ((operation & INPUT_NULL) != INPUT_NULL) @@ -243,7 +243,7 @@ void RabbitWithIVPolicy::OperateKeystream(KeystreamOperation operation, byte *ou PutWord(false, LITTLE_ENDIAN_ORDER, output + 8, m_wx[4] ^ (m_wx[1] >> 16) ^ (m_wx[7] << 16)); PutWord(false, LITTLE_ENDIAN_ORDER, output + 12, m_wx[6] ^ (m_wx[3] >> 16) ^ (m_wx[1] << 16)); - // If AdditiveCipherTemplate does not have an acculated keystream + // If AdditiveCipherTemplate does not have an accumulated keystream // then it will ask OperateKeystream to XOR the plaintext with // the keystream and write it to the ciphertext buffer. if ((operation & INPUT_NULL) != INPUT_NULL)