]> www.wagner.pp.ru Git - openssl-gost/engine.git/log
openssl-gost/engine.git
5 years agoFix a mem leak 68/head
Matt Caswell [Tue, 17 Jul 2018 09:47:08 +0000 (10:47 +0100)]
Fix a mem leak

Ensure the grasshopper ciphers are destroyed on engine destroy.

5 years agoFix #67
Dmitry Belyavskiy [Thu, 12 Jul 2018 19:06:05 +0000 (22:06 +0300)]
Fix #67

5 years agoMerge branch 'master' of https://github.com/gost-engine/engine
Dmitry Belyavskiy [Thu, 12 Jul 2018 18:51:46 +0000 (21:51 +0300)]
Merge branch 'master' of https://github.com/gost-engine/engine

5 years agoExplicitely setting cofactor
Dmitry Belyavskiy [Thu, 12 Jul 2018 18:49:21 +0000 (21:49 +0300)]
Explicitely setting cofactor

5 years agoMerge pull request #65 from chipitsine/modernize_ci
Dmitry Belyavskiy [Thu, 28 Jun 2018 15:41:16 +0000 (18:41 +0300)]
Merge pull request #65 from chipitsine/modernize_ci

modernize ci

5 years agomove .ci scripts into .travis.yml 65/head
Ilya Shipitsin [Thu, 28 Jun 2018 08:29:53 +0000 (13:29 +0500)]
move .ci scripts into .travis.yml

5 years agomodernize ci:
Ilya Shipitsin [Wed, 27 Jun 2018 12:38:39 +0000 (17:38 +0500)]
modernize ci:

(*) convert 'openssl ciphers | grep ...' into Test:More syntax
(*) enable some tests on travis-ci (04 is yet broken)

5 years agoMerge pull request #64 from chipitsine/modernize_ci
Dmitry Belyavskiy [Tue, 26 Jun 2018 19:40:19 +0000 (22:40 +0300)]
Merge pull request #64 from chipitsine/modernize_ci

modernize ci

5 years agofixed ciphers 64/head
Ilya Shipitsin [Tue, 26 Jun 2018 16:59:43 +0000 (21:59 +0500)]
fixed ciphers

5 years agoallow OPENSSL_ENGINES to be specified explicitly
Ilya Shipitsin [Tue, 26 Jun 2018 16:48:33 +0000 (21:48 +0500)]
allow OPENSSL_ENGINES to be specified explicitly

5 years agoHopefully merge tests from object_db branch
Dmitry Belyavskiy [Mon, 25 Jun 2018 20:50:02 +0000 (23:50 +0300)]
Hopefully merge tests from object_db branch

5 years agoMerge pull request #59 from chipitsine/master
Dmitry Belyavskiy [Mon, 25 Jun 2018 13:59:54 +0000 (16:59 +0300)]
Merge pull request #59 from chipitsine/master

initial travis-ci support

5 years agoNot needed in this branch
Dmitry Belyavskiy [Sun, 24 Jun 2018 19:29:02 +0000 (22:29 +0300)]
Not needed in this branch

5 years agoadd openssl master branch to test matrix 59/head
Ilya Shipitsin [Sat, 16 Jun 2018 10:13:11 +0000 (15:13 +0500)]
add openssl master branch to test matrix

5 years agoinitial travis-ci support
Ilya Shipitsin [Sat, 16 Jun 2018 08:18:57 +0000 (13:18 +0500)]
initial travis-ci support

5 years agoMerge pull request #56 from lumag/patch-1
Dmitry Belyavskiy [Mon, 4 Jun 2018 07:36:53 +0000 (10:36 +0300)]
Merge pull request #56 from lumag/patch-1

Add mailing list information to README.md

5 years agoAdd mailing list information to README.md 56/head
Dmitry Eremin-Solenikov [Fri, 1 Jun 2018 14:13:22 +0000 (17:13 +0300)]
Add mailing list information to README.md

Currenty relevant mailing list link is hidden in wiki page with obsure name.
Add the link to ML to README.md file.

5 years agoMerge pull request #52 from andyk555/master
Dmitry Belyavskiy [Tue, 22 May 2018 09:43:55 +0000 (12:43 +0300)]
Merge pull request #52 from andyk555/master

Fix: the iv/counter CTR mode should be big-endian

6 years agoC90-friendly
Dmitry Belyavskiy [Thu, 29 Mar 2018 14:12:24 +0000 (17:12 +0300)]
C90-friendly

6 years agoBugfix - carry bit overflow
Dmitry Belyavskiy [Thu, 15 Mar 2018 08:03:36 +0000 (11:03 +0300)]
Bugfix - carry bit overflow

6 years agoUpdate gost_grasshopper_cipher.h 52/head
andyk555 [Fri, 16 Feb 2018 19:18:25 +0000 (22:18 +0300)]
Update gost_grasshopper_cipher.h

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

6 years agoCompatibility/License warnings
Dmitry Belyavskiy [Tue, 30 Jan 2018 20:10:31 +0000 (23:10 +0300)]
Compatibility/License warnings

6 years agoMerge pull request #48 from DJm00n/master
Dmitry Belyavskiy [Wed, 10 Jan 2018 18:31:38 +0000 (21:31 +0300)]
Merge pull request #48 from DJm00n/master

 Add native Visual Studio 2015-2017 build support

6 years agoAdd simple .gitignore file 48/head
Dmitry Ryazantsev [Tue, 9 Jan 2018 14:34:11 +0000 (16:34 +0200)]
Add simple .gitignore file

6 years agoFix MSVS2017 build errors.
Dmitry Ryazantsev [Tue, 9 Jan 2018 14:04:55 +0000 (16:04 +0200)]
Fix MSVS2017 build errors.

Also add missing getopt.h header for gostsum and gost12sum tools build in MSVS (borrowed from https://github.com/skandhurkat/Getopt-for-Visual-Studio).

6 years agoAdd native Visual Studio 2015-2017 build support.
Dmitry Ryazantsev [Tue, 9 Jan 2018 13:56:55 +0000 (15:56 +0200)]
Add native Visual Studio 2015-2017 build support.
Add install via CMake.

6 years agoVisual Studio HOWTO
Dmitry Belyavskiy [Thu, 23 Nov 2017 19:18:42 +0000 (22:18 +0300)]
Visual Studio HOWTO

6 years agoMerge pull request #46 from dhyannataraj/master
Dmitry Belyavskiy [Wed, 18 Oct 2017 14:15:33 +0000 (17:15 +0300)]
Merge pull request #46 from dhyannataraj/master

New INSTALL.md file Second attempt

6 years agoNew INSTALL.md file instead of old CMake_ReadMe.md; Also moved "CONFIGURATION FILE... 45/head 46/head
Nikolay Shaplov [Sat, 16 Sep 2017 19:02:29 +0000 (22:02 +0300)]
New INSTALL.md file instead of old CMake_ReadMe.md; Also moved "CONFIGURATION FILE" section from README.gost into INSTALL.md. That section were reformatted to MarkDown, but it's content were not changed

6 years agoMerge pull request #43 from dhyannataraj/master
Dmitry Belyavskiy [Tue, 12 Sep 2017 08:21:32 +0000 (11:21 +0300)]
Merge pull request #43 from dhyannataraj/master

Minor README.gost fix (I have shown my abstract to proofreader to fix grave mistakes).

6 years agoMinor README.gost fix (I have shown my abstract to proofreader to fix grave mistakes). 43/head
Nikolay Shaplov [Tue, 12 Sep 2017 08:16:46 +0000 (11:16 +0300)]
Minor README.gost fix (I have shown my abstract to proofreader to fix grave mistakes).

6 years agoUpdated documentation
Dmitry Belyavskiy [Sat, 9 Sep 2017 19:07:21 +0000 (22:07 +0300)]
Updated documentation

6 years agoMerge pull request #42 from dhyannataraj/master
Dmitry Belyavskiy [Sat, 9 Sep 2017 18:45:28 +0000 (21:45 +0300)]
Merge pull request #42 from dhyannataraj/master

README.gost: Abstract rewritten, outdated text at the end of file is removed

6 years agoREADME.gost: Abstract rewritten, outdated text at the end of file is removed 42/head
Nikolay Shaplov [Sat, 9 Sep 2017 14:51:23 +0000 (17:51 +0300)]
README.gost: Abstract rewritten, outdated text at the end of file is removed

6 years agoExamples of calculation of GOST2012 digest values.
Dmitry Belyavskiy [Sun, 20 Aug 2017 13:24:02 +0000 (16:24 +0300)]
Examples of calculation of GOST2012 digest values.

6 years agogost12sum gives the same hash strings as openssl dgst does
Dmitry Belyavskiy [Sun, 20 Aug 2017 13:17:24 +0000 (16:17 +0300)]
gost12sum gives the same hash strings as openssl dgst does

6 years agoThis is a minimal example of the openssl config file
Dmitry Belyavskiy [Mon, 14 Aug 2017 18:02:07 +0000 (21:02 +0300)]
This is a minimal example of the openssl config file
necessary to use the GOST engine.

6 years agoAdded CAVEATS section
Dmitry Belyavskiy [Mon, 14 Aug 2017 18:01:12 +0000 (21:01 +0300)]
Added CAVEATS section

6 years agoConvert hash values to hex as little-endian numbers in gost12sum.c
Victor Wagner [Tue, 8 Aug 2017 13:02:11 +0000 (16:02 +0300)]
Convert hash values to hex as little-endian numbers in gost12sum.c

6 years agoAdded manual pages. Fixed help messages
Victor Wagner [Wed, 2 Aug 2017 18:15:24 +0000 (21:15 +0300)]
Added manual pages. Fixed help messages

6 years agoSpecify that project uses only C language, to avoid complaints of CMake if no C+...
Victor Wagner [Wed, 2 Aug 2017 11:21:50 +0000 (14:21 +0300)]
Specify that project uses only C language, to avoid complaints of CMake if no C++ compiler exist on the system

6 years agoMerge pull request #39 from boggard/master
Dmitry Belyavskiy [Wed, 12 Jul 2017 18:34:34 +0000 (21:34 +0300)]
Merge pull request #39 from boggard/master

Add support of legacy format for GOST private key to make BouncyCastle happy.

6 years agoSome other renames 39/head
boggard [Wed, 12 Jul 2017 18:25:35 +0000 (21:25 +0300)]
Some other renames

6 years agoVariable has renamed and documentation has changed
boggard [Wed, 12 Jul 2017 18:01:56 +0000 (21:01 +0300)]
Variable has renamed and documentation has changed

6 years agoPrivate key format configure by openssl.cnf file
boggard [Wed, 12 Jul 2017 13:57:50 +0000 (16:57 +0300)]
Private key format configure by openssl.cnf file

6 years agoThe patch is stale, let's remove it.
Dmitry Belyavskiy [Tue, 4 Jul 2017 11:18:20 +0000 (14:18 +0300)]
The patch is stale, let's remove it.

6 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.

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

6 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

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

6 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

6 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.

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

6 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'

6 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.

6 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

6 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

6 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'

6 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

6 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

6 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

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

6 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

6 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"

6 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

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

7 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

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

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

7 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

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

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

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

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

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

7 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

7 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

7 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