Update documentation
parent
0bec012333
commit
78c9a6e459
4
config.h
4
config.h
|
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
// Define this if ARMv8 shifts are slow. ARM Cortex-A53 and Cortex-A57 shift
|
// 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
|
// 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.
|
// http://github.com/weidai11/cryptopp/issues/367.
|
||||||
#define CRYPTOPP_SLOW_ARMV8_SHIFT 1
|
#define CRYPTOPP_SLOW_ARMV8_SHIFT 1
|
||||||
|
|
||||||
|
|
@ -174,7 +174,7 @@
|
||||||
/// <li>Weak - namespace for weak and wounded algorithms, like ARC4, MD5 and Pananma
|
/// <li>Weak - namespace for weak and wounded algorithms, like ARC4, MD5 and Pananma
|
||||||
/// </ul>
|
/// </ul>
|
||||||
namespace CryptoPP { }
|
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 CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
|
||||||
# define Weak1 Weak
|
# define Weak1 Weak
|
||||||
// Avoid putting "CryptoPP::" in front of everything in Doxygen output
|
// Avoid putting "CryptoPP::" in front of everything in Doxygen output
|
||||||
|
|
|
||||||
11
kalyna.h
11
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
|
/// \since Crypto++ 6.0
|
||||||
class CRYPTOPP_NO_VTABLE Kalyna_Base
|
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
|
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
|
class Kalyna128 : public Kalyna128_Info, public BlockCipherDocumentation
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
@ -108,6 +111,9 @@ public:
|
||||||
typedef BlockCipherFinal<DECRYPTION, Base> Decryption;
|
typedef BlockCipherFinal<DECRYPTION, Base> 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
|
class Kalyna256 : public Kalyna256_Info, public BlockCipherDocumentation
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
@ -148,6 +154,9 @@ public:
|
||||||
typedef BlockCipherFinal<DECRYPTION, Base> Decryption;
|
typedef BlockCipherFinal<DECRYPTION, Base> 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
|
class Kalyna512 : Kalyna512_Info, public BlockCipherDocumentation
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue