diff --git a/config.h b/config.h index aa4ecdbc..e30df8b4 100644 --- a/config.h +++ b/config.h @@ -120,7 +120,7 @@ // Define this if ARMv8 shifts are slow. ARM Cortex-A53 and Cortex-A57 shift // operation perform poorly, so NEON and ASIMD code that relies on shifts -// or rotates often performs worse than regular C/C++ code. Also see +// or rotates often performs worse than C/C++ code. Also see // http://github.com/weidai11/cryptopp/issues/367. #define CRYPTOPP_SLOW_ARMV8_SHIFT 1 @@ -174,7 +174,7 @@ ///
  • Weak - namespace for weak and wounded algorithms, like ARC4, MD5 and Pananma /// namespace CryptoPP { } -// Bring in the symbols fund in the weak namespace; and fold Weak1 into Weak +// Bring in the symbols found in the weak namespace; and fold Weak1 into Weak # define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 # define Weak1 Weak // Avoid putting "CryptoPP::" in front of everything in Doxygen output diff --git a/kalyna.h b/kalyna.h index f5bc1bb1..43e54bd0 100644 --- a/kalyna.h +++ b/kalyna.h @@ -53,7 +53,7 @@ struct CRYPTOPP_NO_VTABLE Kalyna512_Info : public FixedBlockSize<64>, FixedKeyLe } }; -/// \brief Kalyna block cipher +/// \brief Kalyna block cipher base class /// \since Crypto++ 6.0 class CRYPTOPP_NO_VTABLE Kalyna_Base { @@ -68,6 +68,9 @@ protected: unsigned int m_kl, m_nb, m_nk; // number 64-bit blocks and keys }; +/// \brief Kalyna 128-bit block cipher +/// \details Kalyna128 provides 128-bit block size. The valid key sizes are 128-bit and 256-bit. +/// \since Crypto++ 6.0 class Kalyna128 : public Kalyna128_Info, public BlockCipherDocumentation { public: @@ -108,6 +111,9 @@ public: typedef BlockCipherFinal Decryption; }; +/// \brief Kalyna 256-bit block cipher +/// \details Kalyna256 provides 256-bit block size. The valid key sizes are 256-bit and 512-bit. +/// \since Crypto++ 6.0 class Kalyna256 : public Kalyna256_Info, public BlockCipherDocumentation { public: @@ -148,6 +154,9 @@ public: typedef BlockCipherFinal Decryption; }; +/// \brief Kalyna 512-bit block cipher +/// \details Kalyna512 provides 512-bit block size. The valid key size is 512-bit. +/// \since Crypto++ 6.0 class Kalyna512 : Kalyna512_Info, public BlockCipherDocumentation { public: