summaryrefslogtreecommitdiff
path: root/lib/nettle/gost
Commit message (Collapse)AuthorAgeFilesLines
* lib/nettle: replace nettle-stdint.h with just stdint.hDmitry Eremin-Solenikov2019-01-301-1/+1
| | | | | | | Nettle library is going to drop nettle-stdint.h. Replace this include with with just <stdint.h>. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Fix typos in lib/tmp-fix-typos-in-libTim Rühsen2019-01-041-2/+2
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* nettle/gost: gostdsa: use size_t instead of mp_limb_tDmitry Eremin-Solenikov2018-11-162-2/+2
| | | | | | | Use size_t for size variables instead of mp_limb_t (data type rather than size type). Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* nettle/gost: support GOST key unmaskingDmitry Eremin-Solenikov2018-11-162-0/+86
| | | | | | | | New Russian reccomendation defines 'key masking' in the form of several concatenated numbers, which must be multiplied modulo Q to get private key. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* lib/nettle/gost: support building with mini-nettle/mini-gmpDmitry Eremin-Solenikov2018-06-262-2/+2
| | | | | | | | Do not depend directly on gmp.h. Closes: #497 Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Import GOST-supporting part from Nettle pending patchesDmitry Eremin-Solenikov2018-06-2333-0/+10177
Nettle upstream takes significant time to accept GOST-related patches. As per Nikos' suggestion, push relevant parts to GnuTLS, so that they can be tested in wild at the same time supporting GOST ciphersuite code. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>