summaryrefslogtreecommitdiff
path: root/gosthash94.c
Commit message (Collapse)AuthorAgeFilesLines
* Delete name mangling of internal gost symbolsNiels Möller2020-11-301-5/+5
|
* gosthash94: switch to using MD_UPDATE() macroDmitry Baryshkov2020-04-191-34/+9
|
* gost28147: move gost params to internal interfaceDmitry Baryshkov2020-02-061-5/+4
| | | | | | | gost28147_param instances were never a part of stable release, so move them to internal header. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Add support for GOSTHASH94CP: GOST R 34.11-94 hash with CryptoPro S-boxDmitry Eremin-Solenikov2019-09-151-15/+68
| | | | | | | | | | Hash gosthash94 implements GOST R 34.11-94 standard using S-Box defined in the standard 'for testing purposes only'. RFC 4357 defines S-Box (CryptoPro one) for GOST R 34.11-94 hash function that is widely used in applications. Add separate hash function algorithm (gosthash94cp) implementing GOST R 34.11-94 hashing using that S-Box. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Start separating GOST 28147-89 from GOST R 34.11-94Dmitry Eremin-Solenikov2019-09-151-240/+6
| | | | | | | | | Hash function GOST R 34.11-94 (gosthash94) in its compression function uses Russian block cipher (GOST 28147-89, Magma). Start separating block cipher code from hash function code. For now there is no public interface for this cipher, it will be added later. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Rename *_DATA_SIZE to *_BLOCK_SIZE.Niels Möller2014-04-251-4/+4
|
* Use size_t rather than unsigned for all hash-related functions.Niels Möller2013-04-261-2/+2
|
* Added gosthash, ported from rhash by Nikos Mavrogiannopoulos.Niels Möller2012-11-081-0/+592