diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-05-08 01:59:37 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-05-08 01:59:37 -0400 |
commit | 1d7dfc69274d1d4c12ea5a373f90b2c3c6f97f52 (patch) | |
tree | f8e31f72c531abca900f7eb005080da03d3a5af6 /kalyna.h | |
parent | c35e616cbf4e1b391fbe30668c29bf0ab5ccdd50 (diff) | |
download | cryptopp-git-1d7dfc69274d1d4c12ea5a373f90b2c3c6f97f52.tar.gz |
Port Kalyna to big-endian (Issue 411)
Tested on GCC110 from the GCC compile farm. Performance is comparable to AES on GCC110.
Diffstat (limited to 'kalyna.h')
-rw-r--r-- | kalyna.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ //! Ruzhentsev, Kuznetsov, Gorbenko, Dyrda, Dolgov, Pushkaryov, Mordvinov and Kaidalov's "A New Encryption
//! Standard of Ukraine: The Kalyna Block Cipher" (http://eprint.iacr.org/2015/650.pdf). Second was Roman
//! Oliynykov and Oleksandr Kazymyrov's GitHub with the reference implementation
-//! (http://github.com/Roman-Oliynykov/Kalyna-reference). The third resource was Keru Kuro's implementation
+//! (http://github.com/Roman-Oliynykov/Kalyna-reference). The third resource was Keru Kuro's implementation
//! of Kalyna in CppCrypto (http://sourceforge.net/projects/cppcrypto/). Kuro has an outstanding
//! implementation that performed better than the reference implementation and out intial attempts.
@@ -107,8 +107,8 @@ public: //! and parenthesis to identify key length. For example, Kalyna-128(256) is Kalyna
//! with a 128-bit block size and a 256-bit key length. If a mode is associated
//! with the object, then it follows as expected. For example, Kalyna-128(256)/ECB.
- //! DSTU is a little more complex with more parameters, dashes, underscores, but the
- //! library does not use the delimiters or full convention.
+ //! DSTU is a little more complex with more parameters, dashes, underscores, but the
+ //! library does not use the delimiters or full convention.
std::string AlgorithmName() const {
return m_blocksize ? "Kalyna-" + IntToString(m_blocksize*8) + "(" + IntToString(m_kl*8) + ")" : StaticAlgorithmName();
}
|