]> wagner.pp.ru Git - openssl-gost/engine.git/log
openssl-gost/engine.git
6 years agoFix grasshopper-ctr reinitialization 76/head
Gleb Fotengauer-Malinovskiy [Thu, 19 Jul 2018 17:11:37 +0000 (20:11 +0300)]
Fix grasshopper-ctr reinitialization

Also, document why CTR IV size is now set to 16, so user is noted to set
IV appropriately to full extent (including counter). Basically, it's for
openssh (and alike) to make it copy IV from privilege separated process.

(cherry picked from commit 74d13288e0a664f2615014d441087792eabc5cfa)

6 years agograsshopper: Fix OFB implementation.
Vitaly Chikunov [Mon, 23 Jul 2018 00:35:13 +0000 (03:35 +0300)]
grasshopper: Fix OFB implementation.

Previous implementation was not OFB at all, and fail tests.

Note: This implementation is for fixed width 128-bit IV which makes
shift regiser redundant.

(cherry picked from commit 1e15537d7583cdd5a4b003b5efb92f0b6e1fdcc6)

6 years agograsshopper: Fix streaming for CTR mode
Vitaly Chikunov [Sun, 22 Jul 2018 07:34:03 +0000 (10:34 +0300)]
grasshopper: Fix streaming for CTR mode

Previously CTR did not continue unfinished block on the next cipher
iteration.

(cherry picked from commit cf2ab51a449ce3d92163217c8078f0f625aac7ae)

6 years agoUpdate gost_grasshopper_cipher.c
andyk555 [Fri, 16 Feb 2018 19:16:15 +0000 (22:16 +0300)]
Update gost_grasshopper_cipher.c

(cherry picked from commit 6be1ab0065c7b2d24d1835f8b1bcb7cd28fb76e5)

6 years agoBugfix - carry bit overflow openssl_1_1_0_release2 v1.1.0.2
Dmitry Belyavskiy [Thu, 15 Mar 2018 08:01:59 +0000 (11:01 +0300)]
Bugfix - carry bit overflow

7 years agoMans from master
Dmitry Belyavskiy [Mon, 28 Aug 2017 12:23:28 +0000 (15:23 +0300)]
Mans from master

7 years agoWe do not need CXX
Dmitry Belyavskiy [Thu, 17 Aug 2017 19:41:56 +0000 (22:41 +0300)]
We do not need CXX

7 years agoRemove stale patch
Dmitry Belyavskiy [Tue, 4 Jul 2017 11:19:19 +0000 (14:19 +0300)]
Remove stale patch

7 years agoFixed list of the supported algorithms.
Dmitry Belyavskiy [Tue, 4 Jul 2017 11:09:32 +0000 (14:09 +0300)]
Fixed list of the supported algorithms.

7 years agoFix
Dmitry Belyavskiy [Tue, 4 Jul 2017 10:57:07 +0000 (13:57 +0300)]
Fix

7 years agoRemove the mess with gostsum12/gost12sum
Dmitry Belyavskiy [Tue, 4 Jul 2017 10:56:14 +0000 (13:56 +0300)]
Remove the mess with gostsum12/gost12sum

7 years agoC89-compliance.
Dmitry Belyavskiy [Tue, 4 Jul 2017 10:33:42 +0000 (13:33 +0300)]
C89-compliance.

7 years agoMerge pull request #37 from mouse07410/master
Dmitry Belyavskiy [Tue, 4 Jul 2017 10:32:03 +0000 (12:32 +0200)]
Merge pull request #37 from mouse07410/master

Address compiler warnings and build with CMAKE_C_FLAGS

7 years agoEnable build by GCC and Clang, and passing -L flag via CMAKE_C_FLAGS variable 37/head
Mouse [Tue, 27 Jun 2017 22:50:00 +0000 (18:50 -0400)]
Enable build by GCC and Clang, and passing -L flag via CMAKE_C_FLAGS variable
like the README suggests.

7 years agoFix compiler warnings
Mouse [Tue, 27 Jun 2017 22:32:32 +0000 (18:32 -0400)]
Fix compiler warnings

7 years agoMerge remote-tracking branch 'upstream/master'
Mouse [Tue, 27 Jun 2017 22:17:30 +0000 (18:17 -0400)]
Merge remote-tracking branch 'upstream/master'

7 years agoSilence irrepairable compiler warnings. Add warnings that can be addressed.
Uri Blumenthal [Tue, 27 Jun 2017 18:31:29 +0000 (14:31 -0400)]
Silence irrepairable compiler warnings. Add warnings that can be addressed.

7 years agoMerge pull request #32 from mouse07410/master
Dmitry Belyavskiy [Tue, 27 Jun 2017 13:25:48 +0000 (15:25 +0200)]
Merge pull request #32 from mouse07410/master

Fix error in printf() invocation

7 years agoFixed sudden inability to find OpenSSL libraries by restoring manual specification of 32/head
Mouse [Tue, 27 Jun 2017 13:13:55 +0000 (09:13 -0400)]
Fixed sudden inability to find OpenSSL libraries by restoring manual specification of
where they reside

7 years agoMerge remote-tracking branch 'upstream/master'
Mouse [Tue, 27 Jun 2017 12:34:04 +0000 (08:34 -0400)]
Merge remote-tracking branch 'upstream/master'

7 years agoMake sure CMake does not pick stray directories for linking the engine
Mouse [Tue, 27 Jun 2017 12:29:49 +0000 (08:29 -0400)]
Make sure CMake does not pick stray directories for linking the engine

7 years agoMerge pull request #26 from levitte/make-independent-new
Dmitry Belyavskiy [Tue, 27 Jun 2017 10:20:41 +0000 (13:20 +0300)]
Merge pull request #26 from levitte/make-independent-new

Make gost-engine independent of OpenSSL SOURCE

7 years agoMake gost-engine independent of OpenSSL SOURCE 26/head
Richard Levitte [Mon, 26 Jun 2017 07:39:34 +0000 (09:39 +0200)]
Make gost-engine independent of OpenSSL SOURCE

It really already was, this only removes artifacts in CMakeLists.txt

7 years agoFix error in printf() invocation
Uri Blumenthal [Mon, 26 Jun 2017 16:35:27 +0000 (12:35 -0400)]
Fix error in printf() invocation

7 years agoMerge pull request #27 from levitte/separate-lib-and-eng
Dmitry Belyavskiy [Mon, 26 Jun 2017 12:07:11 +0000 (15:07 +0300)]
Merge pull request #27 from levitte/separate-lib-and-eng

Separate GOST engine and GOST library, make GOST engine a module

7 years agoRename the GOST engine 27/head
Richard Levitte [Mon, 26 Jun 2017 07:50:29 +0000 (09:50 +0200)]
Rename the GOST engine

The GOST engine file was "libgost_engine.so".  Unfortunately, this
will fail to load with any OpenSSL version, as the derived engine ID
will be "gost_engine" (OpenSSL <1.1.0) or "libgost_engine" (OpenSSL
>=1.1.0), since the engine checks the ID internally against "gost".

To make the IDs compatible, make sure the file name will be "gost.so"

7 years agoSeparate GOST engine and GOST library, make GOST engine a module
Richard Levitte [Mon, 26 Jun 2017 07:46:11 +0000 (09:46 +0200)]
Separate GOST engine and GOST library, make GOST engine a module

The GOST engine is a dynamically loadable module rather than a shared
library, so make that explicit.  However, the programs gost12sum,
gostsum and gostsum12 need to link against the algorithms implemented
as part of the engine, so separate those out into a static library
that both programs and engine link with.

7 years agoEndianess test
Dmitry Belyavskiy [Thu, 15 Dec 2016 10:57:19 +0000 (13:57 +0300)]
Endianess test

7 years agoSome code clarity
Dmitry Belyavskiy [Wed, 14 Dec 2016 21:21:01 +0000 (00:21 +0300)]
Some code clarity

7 years agoSome cleanup
Dmitry Belyavskiy [Wed, 14 Dec 2016 21:20:17 +0000 (00:20 +0300)]
Some cleanup

7 years agoErroneous check removed
Dmitry Belyavskiy [Tue, 13 Dec 2016 18:12:22 +0000 (21:12 +0300)]
Erroneous check removed

7 years agoFix signature processing
Dmitry Belyavskiy [Mon, 12 Dec 2016 13:47:46 +0000 (16:47 +0300)]
Fix signature processing

7 years agoFix warning
Dmitry Belyavskiy [Mon, 12 Dec 2016 12:57:00 +0000 (15:57 +0300)]
Fix warning

7 years agoBugfix according to real behaviour
Dmitry Belyavskiy [Mon, 12 Dec 2016 12:17:18 +0000 (15:17 +0300)]
Bugfix according to real behaviour

7 years agoFix signature verification.
Dmitry Belyavskiy [Mon, 12 Dec 2016 11:36:18 +0000 (14:36 +0300)]
Fix signature verification.

7 years agoFix return value of gost_ec_derive
Dmitry Belyavskiy [Sun, 11 Dec 2016 17:59:42 +0000 (20:59 +0300)]
Fix return value of gost_ec_derive

8 years agoBugfix
Dmitry Belyavskiy [Sat, 19 Nov 2016 19:06:42 +0000 (22:06 +0300)]
Bugfix

8 years agoMerge remote-tracking branch 'origin/openssl_1_1_0'
Dmitry Belyavskiy [Sat, 19 Nov 2016 19:04:55 +0000 (22:04 +0300)]
Merge remote-tracking branch 'origin/openssl_1_1_0'

Conflicts:
gost_asn1.c
gost_crypt.c

8 years agoBuild with -Werror
Dmitry Belyavskiy [Sat, 19 Nov 2016 18:54:18 +0000 (21:54 +0300)]
Build with -Werror

8 years agoAdd -Werror
Dmitry Belyavskiy [Sat, 19 Nov 2016 18:34:49 +0000 (21:34 +0300)]
Add -Werror

8 years agoMerge pull request #21 from MaXaMaR/openssl_1_1_0
Dmitry Belyavskiy [Fri, 9 Sep 2016 21:23:20 +0000 (00:23 +0300)]
Merge pull request #21 from MaXaMaR/openssl_1_1_0

Fix grasshopper-ctr memory corruption

8 years agominor change 21/head
Max [Thu, 8 Sep 2016 09:02:49 +0000 (12:02 +0300)]
minor change

8 years agoremove patch
Max [Thu, 8 Sep 2016 09:02:01 +0000 (12:02 +0300)]
remove patch

8 years agoremove some includes
Max [Thu, 8 Sep 2016 09:00:19 +0000 (12:00 +0300)]
remove some includes

8 years agomerge upstream
Max [Thu, 8 Sep 2016 08:49:08 +0000 (11:49 +0300)]
merge upstream

8 years agominor change
Max [Thu, 8 Sep 2016 08:22:49 +0000 (11:22 +0300)]
minor change

8 years agofix grasshopper-ctr memory corruption - fix ctx buffer size
Max [Thu, 8 Sep 2016 07:54:45 +0000 (10:54 +0300)]
fix grasshopper-ctr memory corruption - fix ctx buffer size

8 years agoMerge pull request #19 from stevenlinsell/master
Dmitry Belyavskiy [Thu, 18 Aug 2016 20:28:42 +0000 (23:28 +0300)]
Merge pull request #19 from stevenlinsell/master

Fix missing cleanup of GOST specific error messages

8 years agoFix missing cleanup of GOST specific error messages 19/head
stevenlinsell [Thu, 18 Aug 2016 00:37:35 +0000 (01:37 +0100)]
Fix missing cleanup of GOST specific error messages

8 years agoMakefile is autocreated by CMake
Dmitry Belyavskiy [Thu, 28 Apr 2016 11:05:32 +0000 (14:05 +0300)]
Makefile is autocreated by CMake

8 years agoC89 compliance
Dmitry Belyavskiy [Thu, 28 Apr 2016 11:03:02 +0000 (14:03 +0300)]
C89 compliance

8 years agoReduce minimal version of the CMake
Dmitry Belyavskiy [Thu, 28 Apr 2016 10:40:47 +0000 (13:40 +0300)]
Reduce minimal version of the CMake

8 years agoGrasshopper && CMake
Maxim Tishkov [Thu, 28 Apr 2016 10:38:49 +0000 (13:38 +0300)]
Grasshopper && CMake

8 years agoAdoption to TK26 recommendations
Dmitry Belyavskiy [Mon, 18 Apr 2016 18:43:25 +0000 (21:43 +0300)]
Adoption to TK26 recommendations

8 years agoTry to fix segfault
Dmitry Belyavskiy [Wed, 30 Mar 2016 18:02:54 +0000 (21:02 +0300)]
Try to fix segfault

8 years agoTry to fix a strange segfault
Dmitry Belyavskiy [Tue, 29 Mar 2016 19:08:43 +0000 (22:08 +0300)]
Try to fix a strange segfault

8 years agoOpaquization fixes + sources formatting.
Dmitry Belyavskiy [Sat, 26 Mar 2016 14:05:07 +0000 (17:05 +0300)]
Opaquization fixes + sources formatting.

8 years agoSources formatting
Dmitry Belyavskiy [Sat, 26 Mar 2016 14:03:38 +0000 (17:03 +0300)]
Sources formatting

8 years agoMemory leak fix
Dmitry Belyavskiy [Thu, 10 Mar 2016 17:48:11 +0000 (20:48 +0300)]
Memory leak fix

8 years agoBackport of the ctrl-function from the 1_1_0 branch
Dmitry Belyavskiy [Thu, 10 Mar 2016 17:17:41 +0000 (20:17 +0300)]
Backport of the ctrl-function from the 1_1_0 branch

8 years agoMerge pull request #14 from levitte/fix-getting-asn1-params
Dmitry Belyavskiy [Wed, 2 Mar 2016 16:21:49 +0000 (19:21 +0300)]
Merge pull request #14 from levitte/fix-getting-asn1-params

Fix getting asn1 params

8 years agoAdd Grasshopper, CMake 15/head
Max [Wed, 24 Feb 2016 11:54:27 +0000 (14:54 +0300)]
Add Grasshopper, CMake

8 years agoFixup the horror of automatic source reformatting 14/head
Richard Levitte [Wed, 17 Feb 2016 11:34:36 +0000 (12:34 +0100)]
Fixup the horror of automatic source reformatting

8 years agoGet ASN.1 IV using public functions
Richard Levitte [Wed, 17 Feb 2016 11:32:16 +0000 (12:32 +0100)]
Get ASN.1 IV using public functions

The function EVP_CIPHER_get_asn1_iv(), which is the default
get_asn1_params implementation, can be used to set the "original IV".
No need to reach into the inside of EVP_CIPHER_CTX, which makes it
much more future proof.

8 years agoFix Visual Studio compliance
Dmitry Belyavskiy [Mon, 15 Feb 2016 17:55:36 +0000 (20:55 +0300)]
Fix Visual Studio compliance

8 years agoGOST engine fixes to make it compiling with opaque EVP_CIPHER/EVP_CIPHER_CTX structs
Dmitry Belyavskiy [Sat, 23 Jan 2016 09:44:01 +0000 (12:44 +0300)]
GOST engine fixes to make it compiling with opaque EVP_CIPHER/EVP_CIPHER_CTX structs

8 years agoOpenssl 1.1.0 has separate constants for managing key meshing and sbox values.
Dmitry Belyavskiy [Mon, 4 Jan 2016 19:40:02 +0000 (22:40 +0300)]
Openssl 1.1.0 has separate constants for managing key meshing and sbox values.
Added support for managing key meshing and sbox values into GOST89 ciphers.

8 years agoCorrect initializing the context
Dmitry Belyavskiy [Mon, 4 Jan 2016 09:28:21 +0000 (12:28 +0300)]
Correct initializing the context

8 years agoFixed security bits for GOST 2001
Dmitry Belyavskiy [Mon, 4 Jan 2016 09:12:15 +0000 (12:12 +0300)]
Fixed security bits for GOST 2001

8 years agoTypo
Dmitry Belyavskiy [Sun, 3 Jan 2016 21:40:23 +0000 (00:40 +0300)]
Typo

8 years agoBugfix
Dmitry Belyavskiy [Sun, 3 Jan 2016 21:22:47 +0000 (00:22 +0300)]
Bugfix

8 years agoMissed digests
Dmitry Belyavskiy [Sun, 3 Jan 2016 20:52:50 +0000 (23:52 +0300)]
Missed digests

8 years agoBackport commit 22dc08d00ae9517048b1ca44cd3810128eba0273
Dmitry Belyavskiy [Sun, 3 Jan 2016 20:23:59 +0000 (23:23 +0300)]
Backport commit 22dc08d00ae9517048b1ca44cd3810128eba0273

8 years agoopenssl 1.1.0 compatibility
Dmitry Belyavskiy [Sun, 3 Jan 2016 20:09:13 +0000 (23:09 +0300)]
openssl 1.1.0 compatibility

8 years agoAllow to pass mac_size via -macopt
Dmitry Belyavskiy [Sun, 3 Jan 2016 14:30:05 +0000 (17:30 +0300)]
Allow to pass mac_size via -macopt

8 years agoRemove target added twice.
Dmitry Belyavskiy [Sat, 2 Jan 2016 20:07:38 +0000 (23:07 +0300)]
Remove target added twice.

8 years agoFormatting fix
Dmitry Belyavskiy [Sat, 2 Jan 2016 20:06:56 +0000 (23:06 +0300)]
Formatting fix

8 years agoMerge https://github.com/gost-engine/engine
Dmitry Belyavskiy [Sat, 2 Jan 2016 20:00:42 +0000 (23:00 +0300)]
Merge https://github.com/gost-engine/engine

8 years agolinks target
Dmitry Belyavskiy [Sat, 2 Jan 2016 19:59:38 +0000 (22:59 +0300)]
links target

8 years agoGost MAC paramset
Dmitry Belyavskiy [Sat, 2 Jan 2016 19:58:56 +0000 (22:58 +0300)]
Gost MAC paramset

8 years agoNew error code
Dmitry Belyavskiy [Sat, 2 Jan 2016 19:58:34 +0000 (22:58 +0300)]
New error code

8 years agoRestored 'links' target
Dmitry Belyavskiy [Fri, 18 Dec 2015 20:25:18 +0000 (23:25 +0300)]
Restored 'links' target

9 years agoTypo fixed
Dmitry Belyavskiy [Wed, 18 Nov 2015 05:36:13 +0000 (08:36 +0300)]
Typo fixed

9 years agoAdoption to 1.1.0
Dmitry Belyavskiy [Sun, 1 Nov 2015 23:14:55 +0000 (02:14 +0300)]
Adoption to 1.1.0

9 years agoLet's search the default paramset and not hardcode its position
Dmitry Belyavskiy [Fri, 9 Oct 2015 17:47:06 +0000 (20:47 +0300)]
Let's search the default paramset and not hardcode its position

9 years agoCalculate number of digests/ciphers/etc provided by the engine
Dmitry Belyavskiy [Fri, 9 Oct 2015 17:43:51 +0000 (20:43 +0300)]
Calculate number of digests/ciphers/etc provided by the engine

9 years agoBuild fix
Dmitry Belyavskiy [Tue, 6 Oct 2015 18:13:04 +0000 (21:13 +0300)]
Build fix

9 years agoBackport from openssl master
Dmitry Belyavskiy [Tue, 6 Oct 2015 18:00:42 +0000 (21:00 +0300)]
Backport from openssl master

9 years agoMerge branch 'gost89-cbc'
Dmitry Belyavskiy [Tue, 6 Oct 2015 17:57:10 +0000 (20:57 +0300)]
Merge branch 'gost89-cbc'

Conflicts:
e_gost_err.h

9 years agoFixes of error codes. Check result of EC_POINT_mul
Dmitry Belyavskiy [Sat, 3 Oct 2015 18:21:57 +0000 (21:21 +0300)]
Fixes of error codes. Check result of EC_POINT_mul

9 years agomake depend
Dmitry Belyavskiy [Sat, 3 Oct 2015 18:21:16 +0000 (21:21 +0300)]
make depend

9 years agoFixed some problems in standalone digest utilities
Victor Wagner [Thu, 1 Oct 2015 13:35:32 +0000 (16:35 +0300)]
Fixed some problems in standalone digest utilities

9 years agoSmall patches providing GOST support to different parts of openssl.
Dmitry Belyavskiy [Mon, 21 Sep 2015 19:42:33 +0000 (22:42 +0300)]
Small patches providing GOST support to different parts of openssl.

9 years agoThis is a file providing GOST cipher ctrl constants.
Dmitry Belyavskiy [Mon, 21 Sep 2015 19:33:42 +0000 (22:33 +0300)]
This is a file providing GOST cipher ctrl constants.

9 years agoMerge branch 'master' into gost89-cbc
Victor Wagner [Wed, 16 Sep 2015 12:19:15 +0000 (15:19 +0300)]
Merge branch 'master' into gost89-cbc

9 years agoMICALG is a EVP_MD callback
Dmitry Belyavskiy [Sun, 6 Sep 2015 18:52:23 +0000 (21:52 +0300)]
MICALG is a EVP_MD callback

9 years agoCorrect size of context
Dmitry Belyavskiy [Sun, 6 Sep 2015 17:45:33 +0000 (20:45 +0300)]
Correct size of context

9 years agoAdded CBC mode for gost and contril command to set size of MAC (from 1 to 8 bytes)
Victor Wagner [Sun, 23 Aug 2015 12:31:58 +0000 (15:31 +0300)]
Added CBC mode for gost and contril command to set size of MAC (from 1 to 8 bytes)

9 years agoBugfix.
Dmitry Belyavskiy [Fri, 21 Aug 2015 16:25:50 +0000 (19:25 +0300)]
Bugfix.

9 years agoMerge branch 'no_gost94_sig' into gost12_algs
Dmitry Belyavskiy [Sat, 15 Aug 2015 11:29:47 +0000 (14:29 +0300)]
Merge branch 'no_gost94_sig' into gost12_algs

Conflicts:
Makefile
e_gost_err.c
e_gost_err.h
gost2001.c
gost94_keyx.c
gost_ameth.c
gost_asn1.c
gost_eng.c
gost_lcl.h
gost_params.c
gost_params.h
gost_pmeth.c
gost_sign.c