- Dec 21, 2021
-
-
Vitaly Chikunov authored
Rework the test to be similar to sslapitest.c. Using BIO only connections and non-blocking IO instead of socketpair and separate processes. This will allow it to compile and work on Windows. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
test_tls.c(103,5): warning C4057: 'function': 'const unsigned char *' differs in indirection to slightly different base types from 'char [8]' test_tls.c(104,5): warning C4057: 'function': 'const unsigned char *' differs in indirection to slightly different base types from 'char [9]' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Useful to copy-paste for manual builds. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
- Dec 20, 2021
-
-
Vitaly Chikunov authored
Output something in `openssl list -providers` so it's merrier. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
- Dec 15, 2021
-
-
Vitaly Chikunov authored
To maintain backward compatibility for users already familiar with older engine build type (basically restores `-O2 -g'). Fixes: 5ad6c776 ("Adapt C flags for the cmake build type") Signed-off-by:
Vitaly Chikunov <vt@altlinux.org>
-
- Dec 12, 2021
-
-
Vitaly Chikunov authored
`OSSL_provider_init' requires dllexport attribute to be visible (and thus loadable) in DLL. Link: https://github.com/openssl/openssl/issues/17203 Signed-off-by:
Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
This will fix setting of OPENSSL_ENGINES in ctest on Windows. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
This will skip tests on Windows, due to prove being `.bat' file and cmake will be unable to run it. Also, `HAVE_TEST2_V0' is renamed to be more meaningful. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Library form overwrites module form due to both having the same name `gost.dll'. As temporary workaround do not build library form on Windows, until we invent how to solve it properly. Currently, there is no known need of engine in the library form on Windows. Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error message: OPENSSL_Uplink(00007FF9FB00F600,08): no OPENSSL_Applink Link: https://www.openssl.org/docs/faq.html#PROG3 Signed-off-by:
Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error message: test_keyexpimp.c(111,11): warning C4013: 'setenv' undefined; assuming extern returning int Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error message: gost12sum.c(13,10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory gost12sum.c(80,23): warning C4013: 'getopt' undefined; assuming extern returning int test_keyexpimp.c(7,10): fatal error C1083: Cannot open include file: 'arpa/inet.h': No such file or directory Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
test_digest.c(513,2): warning C4389: '==': signed/unsigned mismatch test_digest.c(820,5): warning C4389: '==': signed/unsigned mismatch test_sign.c(241,22): warning C4389: '==': signed/unsigned mismatch test_params.c(1131,16): warning C4018: '<': signed/unsigned mismatch test_sign.c(241,22): warning C4389: '==': signed/unsigned mismatch Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error messages: test_ciphers.c(329,5): error C2059: syntax error: '{' test_ciphers.c(329,5): error C2059: syntax error: '}' test_ciphers.c(329,5): error C2059: syntax error: ')' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
MSVC is not C99 compatible[1]. Errors: test_ciphers.c(312,25): error C2057: expected constant expression test_ciphers.c(312,25): error C2466: cannot allocate an array of constant size 0 test_ciphers.c(312,26): error C2133: 'c': unknown size Link: https://docs.microsoft.com/en-us/cpp/c-language/ansi-conformance Signed-off-by:
Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error message: test_ciphers.c(37,9): warning C4068: unknown pragma 'GCC' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
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>
-
Vitaly Chikunov authored
These planned to be removed later anyway. Error message: gosthash2012_ref.h(15,18): warning C4081: expected '('; found 'string' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error message example: gost_prov_cipher.c(237,63): error C2059: syntax error: '}' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Un-inline `cipher_gost_grasshopper_ctracpkm'. Error message: gost_core.lib(gost_omac_acpkm.obj) : error LNK2019: unresolved external symbol cipher_gost_grasshopper_ctracpkm referenced in function CMAC_ACPKM_Init gost.dll : fatal error LNK1120: 1 unresolved externals Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
Error example: gost_md.c(54,45): error C2059: syntax error: ':' gost_md.c(67,5): error C2059: syntax error: 'if' gost_md.c(69,6): error C2143: syntax error: missing '{' before '->' gost_md.c(69,6): error C2059: syntax error: '->' gost_md.c(70,5): error C2059: syntax error: 'return' gost_md.c(71,1): error C2059: syntax error: '}' Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
Vitaly Chikunov authored
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>
-
Vitaly Chikunov authored
Error message: gost_crypt.c(652,36): warning C4018: '<': signed/unsigned mismatch Signed-off-by:Vitaly Chikunov <vt@altlinux.org>
-
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.
-