- Oct 12, 2021
-
-
Richard Levitte authored
This adds the source to get a minimal provider that provides... nothing.
-
Richard Levitte authored
The gost provider is planned to be a wrapper around the already existing functionality, designed for ENGINE use. The easiest way to do this is to let the gost ENGINE continue to exist within the gost provider, as an internal ENGINE. To do that, we make it possible to build gost_eng.c so it only populates the GOST ENGINE structure, but doesn't perform any of the ENGINE registration. That way, the GOST ENGINE structure becomes purely internal, and can be used as the actual implementation of the offered provider functionality, through diverse EVP calls that accept an ENGINE pointer.
-
Richard Levitte authored
The error source files, e_gost_err.c and e_gost_err.h, are not suitable for providers as they are, so we need to move those away from the core library, and leave it to the provider code to deal with it.
-
- Oct 08, 2021
-
-
Dmitry Belyavskiy authored
-
- Sep 28, 2021
-
-
Dmitry Belyavskiy authored
* Don't recreate GOST EC groups every time For multiple keygen it saves 6% time
-
- Sep 19, 2021
-
-
Nikolas authored
-
- Sep 16, 2021
-
-
Dmitry Belyavskiy authored
...in DN output
-
- Sep 06, 2021
-
-
Richard Levitte authored
-
- Sep 01, 2021
-
-
Richard Levitte authored
MacOS ld doesn't support -rpath, so we must be able to not use it there.
-
Richard Levitte authored
Now that .github/before_script.sh works properly on MacOS, there is no reason not to use it for this job as well.
-
Richard Levitte authored
It makes sure to install it where site perl scripts should be located.
-
Richard Levitte authored
-
- Aug 29, 2021
-
-
Richard Levitte authored
-
- Aug 19, 2021
-
-
Dmitry Belyavskiy authored
-
Dmitry Belyavskiy authored
Fix #346
-
- Aug 18, 2021
-
-
Richard Levitte authored
Cmake 3.0 was a switch to using targets and properties rather than variables when linking different components together. We follow that philosophy by dropping ${OPENSSL_CRYPTO_LIBRARIES} and ${OPENSSL_SSL_LIBRARIES} in favor of OpenSSL::Crypto and OpenSSL::SSL. -
Richard Levitte authored
Cmake is generally good at tracking specified dependencies between libraries. All that we need to do is to establish a dependency on OpenSSL's libcrypto for 'gost_core', and then we can reduce the amount of repeated dependencies for everything that links against 'gost_core'.
-
Richard Levitte authored
The static OpenSSL libraries have some dependencies that need to be recorded fofr everything that's linked against it. To achieve this, we use ${OPENSSL_CRYPTO_LIBRARIES} and ${OPENSSL_SSL_LIBRARIES} instead of ${OPENSSL_CRYPTO_LIBRARY} and ${OPENSSL_SSL_LIBRARY}.
-
- Aug 11, 2021
-
-
Billy Brumley authored
-
Billy Brumley authored
-
Dmitry Belyavskiy authored
OpenSSL commit https://github.com/openssl/openssl/commit/74b7f339aa58af57c0e71b7efca66e6f2db5ae2e changed the default installation path on 64-bit systems. The recommended workaround is appending --libdir=lib
-
Dmitry Belyavskiy authored
-
- Jun 02, 2021
-
-
Dmitry Belyavskiy authored
More earlier versions don't properly detect OpenSSL 3.0. BTW, workarounds still exist
-
- May 28, 2021
-
-
Dmitry Belyavskiy authored
-
https://github.com/levitte/engineDmitry Belyavskiy authored
Merge branch 'update-codeql-analysis' of https://github.com/levitte/engine into levitte-update-codeql-analysis
-
Richard Levitte authored
These days, the OpenSSL cmake package finder is capable of finding a custom OpenSSL installation with no OPENSSL_ROOT_DIR defined, but CMAKE_PREFIX_PATH defined. However, gost-engine's CMakeLists.txt does use OPENSSL_ROOT_DIR, so it needs it to be defined unconditionally. That's arranged fairly easily by assigning it the parent directory of OPENSSL_INCLUDE_DIR.
-
Dmitry Belyavskiy authored
-
Richard Levitte authored
Most of all, at least openssl-3.0.0-alpha16 is needed, because there are API changes made in that release that affects gost-engine builds
-
- May 23, 2021
-
-
Dmitry Belyavskiy authored
-
- May 11, 2021
-
-
Richard Levitte authored
The C flags were set to be highly optimized regardless of the cmake build type. This may make debugging difficult. To resolve that, we adapt the C flags to the cmake build type in a supported manner.
-
Dmitry Belyavskiy authored
-
- May 06, 2021
-
-
Dmitry Belyavskiy authored
(cherry picked from commit 1b684f3f)
-
- May 02, 2021
-
-
Richard Levitte authored
-
Richard Levitte authored
This test is so internal that it doesn't even need the engine.
-
Richard Levitte authored
The following programs had a hard coded load of the gost engine. This changes them to rely more on the testing environment, and to load engines through configuration files. This affects: test_ciphers.c, test_context.c, test_derive.c, test_digest.c, test_params.c, test_sign.c, test_tls.c
-
- Apr 02, 2021
-
-
se-prok authored
It's not right to have segmentation faults.
-
- Mar 31, 2021
-
-
Richard Levitte authored
When building in a directory that's separate from the source directory, test results should end up in the build directory, not the source directory. Essentially, unless you do build in the source directory, it should be regarded as read-only when building.
-
Richard Levitte authored
Cmake doesn't support the variable CMAKE_INSTALL_DIR. However, with the GNUInstallDirs module, there is the variable CMAKE_INSTALL_MANDIR.
-
Richard Levitte authored
From 3.0.0-alpha6 to 3.0.0-alpha13, mostly for Analysis to avoid getting failures when compiling, considering that the GOST source has adapted for the latter version.
-
- Mar 17, 2021
-
-
Sergei Lemeshkin authored
-