- Dec 12, 2021
-
-
Vitaly Chikunov authored
Since they are now global. Error message: cl : command line error D8021: invalid numeric argument '/Wno-error=deprecated-declarations' Fixes: 5dfb598d ("CMakeLists.txt: Workaround openssl deprecation of HMAC and CMAC primitives") Signed-off-by:
Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
`/wd4996' disables deprecated declarations warning, this is analogous to `-Wno-error=deprecated-declarations'. Error example: gost_pmeth.c(39,17): warning C4996: 'EVP_PKEY_get0': Since OpenSSL 3.0 Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Uses actions/cache to speed up engine rebuilds. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
- Dec 01, 2021
-
-
Vitaly Chikunov authored
Noticed that there is some misindentation (also fix it).
-
- Nov 26, 2021
-
-
Anton Fadeev authored
When we use git cli in OS Linux, with enabled gost engine git utility we got fatal erro
-
- Nov 14, 2021
-
-
Dmitry Belyavskiy authored
-
- Oct 12, 2021
-
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
-
Richard Levitte authored
They needed to be modified to handled EVP_CIPHERs implemented by a provider.
-
Richard Levitte authored
We add the macs for the provider as wrappers around the EVP_MD implementations designed for ENGINEs. This is not the most elegant, but it does the job. When an algorithm has an OID, it's included in the OSSL_ALGORITHM name as an alias. This is the way to avoid having to register the OIDs in OpenSSL proper.
-
Richard Levitte authored
We add the digests for the provider as wrappers around the routines designed for ENGINEs. This is not the most elegant, but it does the job. When an algorithm has an OID, it's included in the OSSL_ALGORITHM name as an aliase. This is the way to avoid having to register the OIDs in OpenSSL proper. test/01-digest.t is modified to test the provider as well.
-
Richard Levitte authored
We add the ciphers for the provider as wrappers around the routines designed for ENGINEs. This is not the most elegant, but it does the job. When an algorithm has an OID, it's included in the OSSL_ALGORITHM name as an aliase. This is the way to avoid having to register the OIDs in OpenSSL proper. test/03-encrypt.t is modified to test the provider as well.
-
Richard Levitte authored
This makes space for provider tests. As a beginning, test/00-provider.t is added. It corresponds to test/00-engine.t. All other test/*.t are currently skipped unless the engine is tested. They will be re-enabled as support for each algorithm type is added in the provider code.
-
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
-