mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Fix spelling
This commit is contained in:
parent
23c8bfde7e
commit
fd5dc95f96
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user