]>
wagner.pp.ru Git - openssl-gost/engine.git/log 
Dmitry Timoshkov  [Fri, 27 Nov 2020 14:19:59 +0000  (17:19 +0300)] 
Add explicit support for NID_id_GostR3410_2001DH (GOST R 34.10-2001 DH)
(cherry picked from commit 
e1afd2a137a0a4cab89260202fdc1828263d098d )
Wolfgang Beck  [Fri, 9 Oct 2020 06:57:03 +0000  (16:57 +1000)] 
fix_cbc_281
Vitaly Chikunov  [Wed, 28 Oct 2020 21:58:56 +0000  (00:58  +0300)] 
CMakeLists.txt: Fix warning on gcc-9
/root/rpmbuild/BUILD/openssl-gost-engine-1.1.1/CMakeFiles/CMakeTmp/src.c:4:14: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
    4 |     int *p = buf + 1;
      |              ^~~
/root/rpmbuild/BUILD/openssl-gost-engine-1.1.1/CMakeFiles/CMakeTmp/src.c:5:14: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
    5 |     int *q = buf + 2;
      |              ^~~
Reported-by: Ilya Shipitsin <https://github.com/chipitsine> 
Fixes: #288 
(cherry picked from commit 
6c7addf78b7fe7c8841d4cda6c9d710e4992c7a6 )
Dmitry Belyavskiy  [Fri, 18 Sep 2020 13:52:47 +0000  (16:52 +0300)] 
KDF Tree fix for BIG_ENDIAN
(cherry picked from commit 
47be42da87cb9bf9bad6f415c442b586ce0752ef )
Dmitry Belyavskiy  [Fri, 18 Sep 2020 13:27:41 +0000  (16:27 +0300)] 
Strict alignment Kuznyechik bugfix
(cherry picked from commit 
1997dd99db27383a89d1f91bd4d7091b553ca6ee )
Vitaly Chikunov  [Thu, 17 Sep 2020 22:47:27 +0000  (01:47  +0300)] 
Provide cmake test if alignment requirement is strict
This is based on AX_CHECK_ALIGNED_ACCESS_REQUIRED from autoconf-archive.
Note, that on some arches unaligned access behavior could be changed at
runtime via prctl(1). Also, unaligned memory access is still slower (and
very slow on some arches) even if it's not strictly required.
(cherry picked from commit 
d2810d23a9f30ae885f9bf0783f0847a12972ff3 )
Dmitry Belyavskiy  [Fri, 18 Sep 2020 08:18:10 +0000  (11:18 +0300)] 
Endianess bugfix
(cherry picked from commit 
f1f47c6c7710291157aa863768d9048aaeaa9530 )
Billy Brumley  [Thu, 23 Jul 2020 16:47:03 +0000  (19:47 +0300)] 
Edwards map fix
ECCKiila Changes from
https://gitlab.com/nisec/ecckiila/-/issues/2
https://gitlab.com/nisec/ecckiila/-/commit/
7445ecabef77965743e0ae8d39d7433b07820be6 
* X3 -> X1
* eliminate a temp variable
X3 = X1 as pointers is the reason this was still passing unit tests.
But that might not hold in future versions of ECCKiila, so fix it now.
(cherry picked from commit 
259301a5adf2ef51b8f380b27fcead313669206e )
Billy Brumley  [Fri, 10 Jul 2020 16:55:32 +0000  (19:55 +0300)] 
GOST EC armv7 aarch64 fixes
char defaults to signed on x86/x64, but unsigned on ARM.
(cherry picked from commit 
409a1c2b76ac1d783bef6d35542e338d3777b5ac )
Billy Brumley  [Fri, 3 Jul 2020 15:27:23 +0000  (18:27 +0300)] 
GOST ECC optimizations (#263)
Standalone EC implementations from ECCKiila.
https://gitlab.com/nisec/ecckiila
(cherry picked from commit 
bc346202fbb3bc838a19af8c3b0e449926589c7b )
Billy Brumley  [Mon, 8 Jun 2020 14:36:10 +0000  (17:36 +0300)] 
GOST key agreement cofactor fix (#265)
* GOST key agreement cofactor fix
(cherry picked from commit 
dbc8f4780fa78d66a68174f78f9ae9aa9cdad53c )
Billy Brumley  [Thu, 7 May 2020 17:13:42 +0000  (20:13 +0300)] 
[test] ECC: KATs for the curves in RFC4357 and RFC7836
* Tests that gost-engine correctly computes the public key from the
private key. (Twice -- Alice and Bob.)
* Tests that gost-engine correctly computes the derived shared key.
(Twice -- Alice and Bob, should be identical.)
(cherry picked from commit 
95dd55b1152cc51bbd50d5eb09b459840971d68d )
Vitaly Chikunov  [Sat, 2 May 2020 19:53:01 +0000  (22:53 +0300)] 
gost_eng: Make it use arrays instead of repeatable code
Dmitry Belyavskiy  [Fri, 1 May 2020 21:28:46 +0000  (00:28  +0300)] 
Free memory
Dmitry Belyavskiy  [Fri, 1 May 2020 09:22:43 +0000  (12:22 +0300)] 
Fix code aligning
Dmitry Belyavskiy  [Fri, 1 May 2020 09:19:43 +0000  (12:19 +0300)] 
Rebuild error files to avoid build failures
Dmitry Belyavskiy  [Fri, 1 May 2020 00:18:59 +0000  (03:18  +0300)] 
pkeyutl -derive support
Support of pkeyutl -pkeyopt ukmhex:
0102030405060708  syntax
Vitaly Chikunov  [Sun, 1 Mar 2020 03:03:40 +0000  (06:03 +0300)] 
test_digest: Test all block sizes and alignments
Nikolay Morozov  [Thu, 27 Feb 2020 11:28:07 +0000  (14:28 +0300)] 
cppcheck: Variable is reassigned a value before the old one has been used.
Nikolay Morozov  [Wed, 26 Feb 2020 09:38:27 +0000  (12:38 +0300)] 
cppcheck: The scope of the variable can be reduced.
Vitaly Chikunov  [Mon, 17 Feb 2020 23:55:35 +0000  (02:55  +0300)] 
keyx: Add OPENSSL_cleanse for internal buffers
Vitaly Chikunov  [Mon, 17 Feb 2020 23:53:14 +0000  (02:53  +0300)] 
Replace RAND_bytes with RAND_priv_bytes
Vitaly Chikunov  [Mon, 17 Feb 2020 21:35:10 +0000  (00:35  +0300)] 
ec: Use BN_{CTX_,}secure_new memory API for priv keys
Dmitry Belyavskiy  [Sat, 22 Feb 2020 13:43:42 +0000  (16:43 +0300)] 
No need for special OFB context
Vitaly Chikunov  [Mon, 10 Feb 2020 15:48:31 +0000  (18:48 +0300)] 
CMakeLists.txt: Skip perl tests if there is no Test2::V0
Nikolay Morozov  [Mon, 17 Feb 2020 14:01:49 +0000  (17:01 +0300)] 
cppcheck: function defenition doen't match function declaration
Nikolay Morozov  [Fri, 14 Feb 2020 11:28:23 +0000  (14:28 +0300)] 
GOST89 key masking
Nikolay Morozov  [Wed, 12 Feb 2020 11:21:59 +0000  (14:21 +0300)] 
Destroy GOST key data with OPENSSL_cleanse()
Vitaly Chikunov  [Mon, 10 Feb 2020 05:43:38 +0000  (08:43 +0300)] 
elbrus: Treat __e2k__ as __x86_64__ for Streebog
Vitaly Chikunov  [Mon, 10 Feb 2020 05:38:08 +0000  (08:38 +0300)] 
elbrus: Workaround `-Werror=assign-where-compare-meant'
Vitaly Chikunov  [Mon, 10 Feb 2020 05:27:34 +0000  (08:27 +0300)] 
elbrus: Workaround '#pragma message' [-Werror=unknown-pragmas]
Vitaly Chikunov  [Mon, 10 Feb 2020 04:53:56 +0000  (07:53 +0300)] 
gosthash2012: Properly ifdef '_mm_empty' call
Vitaly Chikunov  [Thu, 6 Feb 2020 15:11:00 +0000  (18:11 +0300)] 
gosthash2012_const: Remove unused arrays with constants
Vitaly Chikunov  [Thu, 6 Feb 2020 13:53:01 +0000  (16:53 +0300)] 
gosthash2012: Issue EMMS on 32-bit SIMD implementationFixes: 211489f ("gosthash2012: Improve SIMD implementation") 
Vitaly Chikunov  [Thu, 6 Feb 2020 10:20:13 +0000  (13:20 +0300)] 
gosthash2012: Clean up cmake test for _addcarry_u64
Not last version went into commit 
ed0f8fbedf438e0ed1f6da9e829a932881695175 
Vitaly Chikunov  [Thu, 6 Feb 2020 10:33:38 +0000  (13:33 +0300)] 
gosthash2012_sse2: Remove unused code (__EXTRACT64)
Nikolay Morozov  [Tue, 4 Feb 2020 11:54:36 +0000  (14:54 +0300)] 
Move NID_id_tc26_gost_3410_2012_256_paramSetA to 256-bit
Vitaly Chikunov  [Tue, 4 Feb 2020 02:47:15 +0000  (05:47  +0300)] 
gosthash2012_ref: Optimize XLPS for speed
Vitaly Chikunov  [Tue, 4 Feb 2020 02:41:53 +0000  (05:41  +0300)] 
gosthash2012: Provide cmake test for _addcarry_u64
Ilya Shipitsin  [Mon, 3 Feb 2020 06:18:33 +0000  (11:18 +0500)] 
travis-ci: adjust osx linker options
Vitaly Chikunov  [Sun, 2 Feb 2020 18:23:04 +0000  (21:23 +0300)] 
travis-ci: Optimize and rearrange .travis.yml
Vitaly Chikunov  [Sun, 2 Feb 2020 19:04:45 +0000  (22:04 +0300)] 
travis-ci: Fix build on 'OpenSSL_1_1_1-stable'Fixes: cb1b5ff ("travis-ci: Speed-up openssl build") 
dmitry dulesov  [Fri, 31 Jan 2020 23:59:07 +0000  (02:59  +0300)] 
gosthash2012: Improve SIMD implementationCommitted-by: Vitaly Chikunov <vt@altlinux.org> 
Vitaly Chikunov  [Fri, 31 Jan 2020 23:57:15 +0000  (02:57  +0300)] 
gosthash2012: Enable building with SIMD implementation
dmitry dulesov  [Fri, 31 Jan 2020 17:22:19 +0000  (20:22 +0300)] 
gosthash2012: Optimize `add512` on x86_64 using Intel intrinsicsCommitted-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 02:49:50 +0000  (05:49  +0300)] 
gosthash2012: Optimize out temporary `buf' from `stage3'Committed-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 02:41:36 +0000  (05:41  +0300)] 
gosthash2012: Optimize `gost2012_hash_block' loopCommitted-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 02:30:49 +0000  (05:30  +0300)] 
gosthash2012: Change some byte (pointers) to union uint512_uCommitted-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 02:21:31 +0000  (05:21  +0300)] 
gosthash2012: Remove temporary variable from `stage2'Committed-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 01:20:58 +0000  (04:20  +0300)] 
gosthash2012: Make `add512' to work in-placeCommitted-by: Vitaly Chikunov <vt@altlinux.org> 
Vitaly Chikunov  [Thu, 30 Jan 2020 01:05:10 +0000  (04:05  +0300)] 
gosthash2012: Simpler version of add512
Similar to my commit into adegtyarev/streebog@
432d5de .
dmitry dulesov  [Thu, 30 Jan 2020 00:50:54 +0000  (03:50  +0300)] 
gosthash2012: Simplify `pad'Committed-by: Vitaly Chikunov <vt@altlinux.org> 
dmitry dulesov  [Thu, 30 Jan 2020 00:42:48 +0000  (03:42  +0300)] 
gosthash2012: Remove redundant `memset' form `init_gost2012_hash_ctx'Committed-by: Vitaly Chikunov <vt@altlinux.org> 
Vitaly Chikunov  [Thu, 30 Jan 2020 00:41:01 +0000  (03:41  +0300)] 
gosthash2012: Remove unreachable code from `pad'
dmitry dulesov  [Thu, 30 Jan 2020 00:36:45 +0000  (03:36  +0300)] 
gosthash2012: Remove redundant `hash' field from `struct gost2012_hash_ctx'Committed-by: Vitaly Chikunov <vt@altlinux.org> 
Vitaly Chikunov  [Fri, 31 Jan 2020 21:58:19 +0000  (00:58  +0300)] 
travis-ci: Add 32-bit build (i386)
Vitaly Chikunov  [Fri, 31 Jan 2020 21:55:44 +0000  (00:55  +0300)] 
travis-ci: Speed-up openssl build
Vitaly Chikunov  [Fri, 31 Jan 2020 17:47:02 +0000  (20:47 +0300)] 
travis-ci: Add (big-endian) s390x build
Vitaly Chikunov  [Fri, 31 Jan 2020 17:41:46 +0000  (20:41 +0300)] 
travis-ci: Add clang build for linux/x86_64/openssl-master
Vitaly Chikunov  [Fri, 31 Jan 2020 17:35:33 +0000  (20:35 +0300)] 
travis-ci: Always describe openssl branch
Nikolay Morozov  [Thu, 26 Dec 2019 06:17:06 +0000  (09:17 +0300)] 
Remove unset local buffer meshing. This removes valgrind errors.
Vitaly Chikunov  [Thu, 30 Jan 2020 23:24:47 +0000  (02:24  +0300)] 
CMakeLists.txt: Workaround openssl deprecation of HMAC and CMAC primitives
Following commits mark CMAC and HMAC primitives deprecated:
  commit 
a6d572e60120e0ffb42aece17a085f0fed1b8f6f 
  Author: Pauli <paul.dale@oracle.com>
  Date:   Tue Jan 14 10:59:11 2020 +1000
      Deprecate the low level CMAC functions
  commit 
dbde4726889a19af0a718fe9c5542f39c81acbd3 
  Author: Pauli <paul.dale@oracle.com>
  Date:   Tue Jan 14 12:11:50 2020 +1000
      Deprecate the low level HMAC functions
Add `-Wno-error=deprecated-declarations' to appropriate targets.
References:
  https://github.com/openssl/openssl/commit/
a6d572e601 
  https://github.com/openssl/openssl/commit/
dbde472688 
Ilya Shipitsin  [Tue, 28 Jan 2020 13:19:18 +0000  (18:19 +0500)] 
travis-ci: adjust names
Ilya Shipitsin  [Tue, 28 Jan 2020 12:51:15 +0000  (17:51 +0500)] 
travis-ci: add PR testing for OpenSSL-1.1.1 branch
Ilya Shipitsin  [Sun, 12 Jan 2020 18:39:17 +0000  (23:39 +0500)] 
CI: do not use LD_BIRARY_PATH anymore
Ilya Shipitsin  [Mon, 6 Jan 2020 04:08:43 +0000  (09:08 +0500)] 
travis-ci: remove redundant cpanminus installation, remove cmake compile from source
Vitaly Chikunov  [Sun, 5 Jan 2020 21:06:21 +0000  (00:06  +0300)] 
travis-ci: Add descriptive names to the tests
Vitaly Chikunov  [Sun, 5 Jan 2020 20:24:50 +0000  (23:24 +0300)] 
travis-ci: Fix quietness of building of opensslFixes: c38ec7587 ("travis: speed up Travis build") 
Vitaly Chikunov  [Sun, 5 Jan 2020 20:51:09 +0000  (23:51 +0300)] 
tcl_tests: Abbreviate output when run under CI
Vitaly Chikunov  [Sun, 5 Jan 2020 20:14:29 +0000  (23:14 +0300)] 
tcl_tests: Rearrange runtest.sh to run from dirrerent env
Vitaly Chikunov  [Sun, 5 Jan 2020 19:44:28 +0000  (22:44 +0300)] 
travis-ci: Add tcl_tests to the builds
Vitaly Chikunov  [Sun, 5 Jan 2020 19:30:42 +0000  (22:30 +0300)] 
travis-ci: Remove redundant linux/gcc test
Vitaly Chikunov  [Wed, 13 Nov 2019 23:18:45 +0000  (02:18  +0300)] 
tcl_tests: Fix ocsp test by removing -md_gost94 option
Vitaly Chikunov  [Wed, 13 Nov 2019 22:58:33 +0000  (01:58  +0300)] 
tcl_tests: Disable failing ssl tests and suites
Vitaly Chikunov  [Wed, 13 Nov 2019 22:44:32 +0000  (01:44  +0300)] 
tcl_tests: Fix cms and smime_io tests by telling that signature is -binary
Verification failure
139891902039680 :error:
2E09A09E :CMS routines:CMS_SignerInfo_verify_content:verification failure:crypto/cms/cms_sd.c:848:
139891902039680 :error:
2E09D06D :CMS routines:CMS_verify:content verify error:crypto/cms/cms_smime.c:393:
Vitaly Chikunov  [Wed, 13 Nov 2019 21:58:03 +0000  (00:58  +0300)] 
tcl_tests: Fix smimeenc test by removing entries with empty params
Vitaly Chikunov  [Wed, 13 Nov 2019 21:40:18 +0000  (00:40  +0300)] 
tcl_tests: Fix and update enc test
Vitaly Chikunov  [Wed, 13 Nov 2019 20:08:33 +0000  (23:08 +0300)] 
tcl_tests: Fix and extend ca test
- Add more curves to test.
- Properly handle R 
1323565 .1.023-2018 (5.2.1.2) - absence of
  digestParamSet for some curves.
Vitaly Chikunov  [Tue, 12 Nov 2019 17:07:15 +0000  (20:07 +0300)] 
tcl_tests: Add more parameters to pkcs12 test
Vitaly Chikunov  [Mon, 11 Nov 2019 04:23:30 +0000  (07:23 +0300)] 
tcl_tests: Fix and extend req-newkey test (with TC26 parameters)
Vitaly Chikunov  [Mon, 11 Nov 2019 04:09:10 +0000  (07:09 +0300)] 
tcl_tests: Fix req-genpkey test (show OID for gost2012_256:0)
Vitaly Chikunov  [Mon, 11 Nov 2019 00:29:40 +0000  (03:29  +0300)] 
tcl_tests: Fix pkcs8 test (showing public key)
Vitaly Chikunov  [Mon, 11 Nov 2019 00:28:36 +0000  (03:28  +0300)] 
tcl_tests: Allow running tests separately
Vitaly Chikunov  [Sun, 10 Nov 2019 16:56:10 +0000  (19:56 +0300)] 
tcl_tests: Fix engine.try (add more algos)
Vitaly Chikunov  [Sun, 10 Nov 2019 02:05:31 +0000  (05:05  +0300)] 
tcl_tests: Integrate TCL tests into build system
Vitaly Chikunov  [Sun, 10 Nov 2019 01:34:01 +0000  (04:34  +0300)] 
tcl_tests: Make utf-8 encoding work
Dmitry Belyavskiy  [Sun, 10 Nov 2019 01:30:14 +0000  (04:30  +0300)] 
tcl_tests: Add TCL tests files
Dmitry Belyavskiy  [Sat, 11 Jan 2020 18:00:17 +0000  (21:00 +0300)] 
Tests against master
Ilya Shipitsin  [Sat, 4 Jan 2020 16:20:52 +0000  (21:20 +0500)] 
cirrus-ci: switch to openssl-1.1.1 for a while
dmitry dulesov  [Sat, 28 Dec 2019 16:38:53 +0000  (19:38 +0300)] 
make tests against openssl-stable-1.1.x
Ilya Shipitsin  [Sat, 9 Nov 2019 12:13:49 +0000  (17:13 +0500)] 
travis-ci: run coverity scan in separate cron task
Dmitry Eremin-Solenikov  [Wed, 6 Nov 2019 17:11:21 +0000  (20:11 +0300)] 
ameth: fill digestParamSet for the sake of backwards compatibility
Even though it is not recommended by R 
1323565 .1.023-2018 fill
digestParamSet field for 512-bit curves Test, TC26-A, TC26-B because old
cryptoproviders expect this field to be present.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 
Ilya Shipitsin  [Thu, 31 Oct 2019 06:09:05 +0000  (11:09 +0500)] 
travis-ci: enable ARM64 builds
Dmitry Belyavskiy  [Sun, 27 Oct 2019 17:27:22 +0000  (20:27 +0300)] 
Merge branch 'master' of https://github.com/gost-engine/engine
Dmitry Belyavskiy  [Sun, 27 Oct 2019 17:26:43 +0000  (20:26 +0300)] 
License matching the openssl one
Dmitry Belyavskiy  [Thu, 17 Oct 2019 13:51:13 +0000  (16:51 +0300)] 
Merge pull request #183 from chipitsine/master
Ilya Shipitsin  [Thu, 17 Oct 2019 13:45:38 +0000  (18:45 +0500)] 
travis-ci: enable coverity scan
Dmitry Belyavskiy  [Wed, 16 Oct 2019 19:13:27 +0000  (22:13 +0300)] 
Merge pull request #182 from outspace/master
Dmitry Belyavskiy  [Wed, 16 Oct 2019 19:10:57 +0000  (22:10 +0300)] 
Merge pull request #181 from vt-alt/issues/174
Mykola Baibuz  [Tue, 15 Oct 2019 18:09:17 +0000  (21:09 +0300)] 
Fix leaks in priv_encode_gost()