summaryrefslogtreecommitdiff
path: root/kalyna.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prefix IS_LITTLE_ENDIAN and IS_BIG_ENDIAN with CRYPTOPPJeffrey Walton2017-11-101-1/+1
|
* Fix "Integer constant is too large for 'long' type"Jeffrey Walton2017-08-071-5/+5
| | | | | | | | | kalyna.cpp:432: error: integer constant is too large for 'long' type kalyna.cpp:509: error: integer constant is too large for 'long' type kalyna.cpp:608: error: integer constant is too large for 'long' type kalyna.cpp:713: error: integer constant is too large for 'long' type kalyna.cpp:833: error: integer constant is too large for 'long' type ...
* Add byte typedef in Kalyna's anonymous namespace to avoid issues with ↵Jeffrey Walton2017-07-161-0/+3
| | | | | | globally scoped byte This check-in supports Romain Geissler's work on cleaning up our use of ::byte when it collides with std::byte. Regardless of what happens, such as removing ::byte and adding CryptoPP::byte, providing the typedef here makes Kalyna immune to the outside changes. Also see Pull Request 437 and 438.
* Fixed copy/paste typoJeffrey Walton2017-05-231-2/+2
|
* Cleared C4459 under MSVC (Issue 412)Jeffrey Walton2017-05-231-6/+6
|
* XOR block in specialized ProcessBlockJeffrey Walton2017-05-101-101/+67
| | | | Use Put and Get blocks consistently
* Revert "XOR block in specialized ProcessBlock"Jeffrey Walton2017-05-101-67/+101
| | | | This reverts commit 76bb4ead40ded06b55b506a85106eae38519b7ee. The Visual Studio project files and other test files were not supposed to be checked-in.
* XOR block in specialized ProcessBlockJeffrey Walton2017-05-101-101/+67
| | | | Use Put and Get blocks consistently
* Fix "Load of address X with insufficient space for an object of type const ↵Jeffrey Walton2017-05-081-3/+4
| | | | word32"
* Switch to library's GetUserKeyJeffrey Walton2017-05-081-15/+10
|
* Whitespace check-inJeffrey Walton2017-05-081-7/+3
|
* Port Kalyna to big-endian (Issue 411)Jeffrey Walton2017-05-081-48/+161
| | | | Tested on GCC110 from the GCC compile farm. Performance is comparable to AES on GCC110.
* Make make_odd_key_NNN a template functionJeffrey Walton2017-05-061-57/+43
|
* Add timing attack countermeasures to Kalyna (Issue 411)Jeffrey Walton2017-05-061-0/+9
| | | | The code at check-in a5c67cfdd6ad7eeb did not include it. Unlike Threefish, it looks like Kalyna could benefit from the cache hardening given how similar Kalyna is to AES. The hardening costs less than 0.1 cpb, which equates to about 199 MB/s vs 201 MB/s on a 6th gen Skylake
* Add Kalyna block cipher (Issue 411)Jeffrey Walton2017-05-061-0/+1255
Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.