aboutsummaryrefslogtreecommitdiff
path: root/gost_keyexpimp.c
AgeCommit message (Collapse)AuthorFilesLines
2021-12-11MSVC: Avoid use `htonl' since it requires linking with WinsockVitaly Chikunov1-7/+15
No need external library (Ws2_32.lib) if we can easily implement it. Error messages: gost_core.lib(gost_keyexpimp.obj) : error LNK2019: unresolved external symbol htonl referenced in function gost_kdftree2012_256 gost.dll : fatal error LNK1120: 1 unresolved externals Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2021-12-11MSVC: Fix unreachable code warningVitaly Chikunov1-1/+0
Errors are like this: gost_pmeth.c(188): warning C4702: unreachable code gost_grasshopper_cipher.c(909): warning C4702: unreachable code Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
2021-02-20Avoid some buffer overflowsDmitry Belyavskiy1-0/+15
2020-09-18KDF Tree fix for BIG_ENDIANDmitry Belyavskiy1-8/+1
2020-09-18Endianess bugfixDmitry Belyavskiy1-0/+5
2020-05-13Add static to functions that not need to be exportedVitaly Chikunov1-1/+1
After registration rework many callbacks not need to be exported. Also, some functions inconsistently declared static in headers and non-static in the code. Finally, some functions just not need to be exported.
2020-05-13Update Copyright lines after registration reworkVitaly Chikunov1-0/+7
- Add year 2020 to old lines. - Some files did not have original Copyright line - added "Update at 2020" to show that I'm not original contributor. - Some files did not have License line - added reference to OpenSSL license.
2020-05-12gost_keyexpimp: Rework cipher registrationVitaly Chikunov1-52/+25
2020-05-04GOST wrap ciphers registrationDmitry Belyavskiy1-0/+189
2020-02-29cppcheck: Variable is reassigned a value before the old one has been used.Nikolay Morozov1-1/+1
Plus some minor chnages - function defenition doen't match function declaration - Consecutive break statement is unnecessary. - Type missmatch in format string
2019-09-05Fix compilation with Microsoft Visual C.Dmitry Timoshkov1-0/+4
2019-09-04Get rid of EVP_MD_CTRL_MAC_LENDmitry Belyavskiy1-4/+4
2019-06-08Make build against current OpenSSL with --no-deprecatedDmitry Belyavskiy1-4/+5
2019-06-05Revert previous commitbeldmit1-6/+4
2019-06-05Try to fix --no-deprecated buildbeldmit1-4/+6
2018-12-29Some PVS Studio nitsDmitry Belyavskiy1-1/+1
2018-12-21Make keyexpimp independent test.Vitaly Chikunov1-148/+0
Move test code from gost_keyexpimp.c into separate test_keyexpimp.c and link into test target. Also, make tests work without requiring config.
2018-09-18TLSTREE examples for GrasshopperDmitry Belyavskiy1-0/+75
2018-09-04Update comment to match realityDmitry Belyavskiy1-1/+2
2018-09-04GOST key transport 2018 - decrypt as separate functionDmitry Belyavskiy1-2/+6
2018-09-03KDF TREE + testDmitry Belyavskiy1-8/+94
2018-08-31Remove redundant parametersDmitry Belyavskiy1-13/+10
2018-08-31gost_kimp15 testedDmitry Belyavskiy1-10/+36
2018-08-31gost_kimp15, untestedDmitry Belyavskiy1-10/+63
2018-08-31GOST Kexp + testDmitry Belyavskiy1-80/+109
2018-08-30+unit test, untested yet.Dmitry Belyavskiy1-1/+3
2018-08-30Bugfix + some basic test setupDmitry Belyavskiy1-27/+94
2018-08-30Kexp/Kimp15 implementation, initial commmit.Dmitry Belyavskiy1-0/+80