summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chacha.h12
-rw-r--r--salsa.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/chacha.h b/chacha.h
index 34086205..d5aeeae5 100644
--- a/chacha.h
+++ b/chacha.h
@@ -72,7 +72,7 @@ protected:
std::string AlgorithmName() const;
std::string AlgorithmProvider() const;
- CRYPTOPP_CONSTANT(ROUNDS = 20) // Default rounds ;
+ CRYPTOPP_CONSTANT(ROUNDS = 20); // Default rounds
FixedSizeAlignedSecBlock<word32, 16> m_state;
unsigned int m_rounds;
};
@@ -131,9 +131,9 @@ protected:
FixedSizeAlignedSecBlock<word32, 16+8> m_state;
unsigned int m_counter;
- CRYPTOPP_CONSTANT(ROUNDS = ChaChaTLS_Info::ROUNDS) ;
- CRYPTOPP_CONSTANT(KEY = 16) // Index into m_state ;
- CRYPTOPP_CONSTANT(CTR = 24) // Index into m_state ;
+ CRYPTOPP_CONSTANT(ROUNDS = ChaChaTLS_Info::ROUNDS);
+ CRYPTOPP_CONSTANT(KEY = 16); // Index into m_state
+ CRYPTOPP_CONSTANT(CTR = 24); // Index into m_state
};
/// \brief ChaCha-TLS stream cipher
@@ -197,8 +197,8 @@ protected:
FixedSizeAlignedSecBlock<word32, 16+8> m_state;
unsigned int m_counter, m_rounds;
- CRYPTOPP_CONSTANT(ROUNDS = 20) // Default rounds ;
- CRYPTOPP_CONSTANT(KEY = 16) // Index into m_state ;
+ CRYPTOPP_CONSTANT(ROUNDS = 20); // Default rounds
+ CRYPTOPP_CONSTANT(KEY = 16); // Index into m_state
};
/// \brief XChaCha stream cipher
diff --git a/salsa.h b/salsa.h
index 9e6838e3..f421af20 100644
--- a/salsa.h
+++ b/salsa.h
@@ -50,7 +50,7 @@ protected:
std::string AlgorithmProvider() const;
- CRYPTOPP_CONSTANT(ROUNDS = 20) // Default rounds ;
+ CRYPTOPP_CONSTANT(ROUNDS = 20); // Default rounds
FixedSizeAlignedSecBlock<word32, 16> m_state;
int m_rounds;
};