summaryrefslogtreecommitdiff
path: root/gost28147.c
Commit message (Collapse)AuthorAgeFilesLines
* Delete name mangling of internal gost symbolsNiels Möller2020-11-301-4/+6
|
* gost28147: move gost params to internal interfaceDmitry Baryshkov2020-02-061-3/+2
| | | | | | | 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-0/+267
| | | | | | | | | | 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-0/+350
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>