summaryrefslogtreecommitdiffstats
path: root/engines
AgeCommit message (Collapse)Author
2015-01-06Further comment amendments to preserve formatting prior to source reformatMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-30mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2014-12-16Rename gost2814789t.c to gost2814789test.c. The old name caused problemsMatt Caswell
for dummytest if gost is compiled out, since the name of the test is not standard (dummytest segfaults). Also the old name caused problems for git because the executable was not in the .gitignore file Reviewed-by: Emilia Käsper <emilia@openssl.org>
2014-12-11make updateMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-10capi_ctrl, capi_vtrace: check for NULL after allocating and free itKurt Roeckx
Reviewed-by: Matt Caswell <matt@openssl.org>
2014-12-08Disable engines that will fail to build when bn is made opaqueMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-05Fix broken buildEmilia Kasper
Add includes missing from commit 33eab3f6af51c6d7fe68ee4960930df4f1616bd5 Reviewed-by: Geoff Thorpe <geoff@openssl.org>
2014-12-04Replace GOST_R_MALLOC_FAILURE and GOST_R_NO_MEMORY with ERR_R_MALLOC_FAILUREKurt Roeckx
Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04capi_get_provname: Check return valuesKurt Roeckx
Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04capi_get_key: check for NULL after allocating keyJonas Maebe
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04capi_cert_get_fname: check for NULL after allocating wfnameJonas Maebe
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04capi_get_provname: free name on error if it was malloc'edJonas Maebe
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04pkey_gost_mac_keygen: check for NULL after allocating keydataJonas Maebe
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-04pkey_gost_ctrl: check for NULL after allocating pctx->shared_ukmJonas Maebe
Signed-off-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-11-28Remove all .cvsignore filesRich Salz
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-09-24RT3544: Remove MWERKS supportRich Salz
The following #ifdef tests were all removed: __MWERKS__ MAC_OS_pre_X MAC_OS_GUSI_SOURCE MAC_OS_pre_X OPENSSL_SYS_MACINTOSH_CLASSIC OPENSSL_SYS_MACOSX_RHAPSODY Reviewed-by: Andy Polyakov <appro@openssl.org>
2014-09-10RT3271 update; extra; semi-colon; confuses; some;Rich Salz
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2014-09-09RT3271: Don't use "if !" in shell linesRich Salz
For portability don't use "if ! expr" Reviewed-by: Geoff Thorpe <geoff@openssl.org>
2014-08-19RT2513: Fix typo's paramter-->parameterMartin Olsson
I also found a couple of others (padlock and signinit) and fixed them. Reviewed-by: Emilia Kasper <emilia@openssl.org>
2014-08-18RT1815: More const'ness improvementsJustin Blanchard
Add a dozen more const declarations where appropriate. These are from Justin; while adding his patch, I noticed ASN1_BIT_STRING_check could be fixed, too. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2014-08-17pub_decode_gost94, pub_decode_gost01: check for NULL after allocating ↵Jonas Maebe
databuf pub_encode_gost94, pub_encode_gost01: check for NULL after allocating databuf and octet Signed-off-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2014-08-09Undo a90081576c94f9f54de1755188a00ccc1760549aRich Salz
Undo unapproved commit that removed DJGPP and WATT32
2014-08-08Remove DJGPP (and therefore WATT32) #ifdef's.Rich Salz
DJGPP is no longer a supported platform. Remove all #ifdef, etc., cases that refer to it. DJGPP also #define'd WATT32, so that is now removed as well.
2014-07-24Don't call setenv in gost2814789t.cDr. Stephen Henson
The call to setenv in gost2814789t.c is not portable and may not reflect the location of the GOST ENGINE on all platforms anyway. Instead set OPENSSL_ENGINES in test/Makefile Reviewed-by: Geoff Thorpe <geoff@openssl.org>
2014-07-08Please Clang's sanitizer.Andy Polyakov
PR: #3424,#3423,#3422
2014-07-02Add support for SHA2 in CAPI ENGINE.Libor Krystek
PR#2706 though patch is from PR#3366.
2014-06-01Initialise alg.David Ramos
PR#3313
2014-03-07engines/ccgost/gosthash.c: simplify and avoid SEGV.Andy Polyakov
PR: 3275
2013-11-08engines/ccgost/gost89.h: make word32 defintion unconditional.Andy Polyakov
Original definition depended on __LONG_MAX__ that is not guaranteed to be present. As we don't support platforms with int narrower that 32 bits it's appropriate to make defition inconditional. PR: 3165
2013-11-01Fix warning.Dr. Stephen Henson
2013-10-28engines/e_aep.c: make it BN_ULONG-size and endian "neutral".Andy Polyakov
2013-09-15Add support for Cygwin-x86_64.Andy Polyakov
PR: 3110 Submitted by Corinna Vinschen.
2013-09-05misspellings fixes by https://github.com/vlajos/misspell_fixerVeres Lajos
2013-06-21Add control to retrieve signature MD.Dr. Stephen Henson
2013-04-13Fix Windows linking error in GOST test case.Andy Polyakov
2013-03-04Missing MINFO generation.Ben Laurie
2013-02-21Fix ignored return value warnings.Ben Laurie
Not sure why I am getting these now and not before.
2013-01-24Don't use C++ style comments.Dr. Stephen Henson
2013-01-22x86_64 assembly pack: make Windows build more robust.Andy Polyakov
PR: 2963 and a number of others
2013-01-22gost2814789t.c: portability fixes.Andy Polyakov
2013-01-21Fix warnings.Ben Laurie
2013-01-19gost_crypt.c: add assertions.Andy Polyakov
Submitted by: Seguei Leontiev PR: 2821
2013-01-19engines/ccgost: add test case.Andy Polyakov
Submitted by: Serguei Leontiev PR: 2821
2012-12-19gost_crypt.c: more intuitive ceiling.Andy Polyakov
2012-12-19engines/cchost/gost_crypt.c: fix typo.Andy Polyakov
2012-12-19engines/e_capi.c: fix typo.Andy Polyakov
Submitted by: Pierre Delaage
2012-12-19engine/cchost: fix bugs.Andy Polyakov
PR: 2821 Submitted by: Dmitry Belyavsky, Serguei Leontiev
2012-11-18PR: 2880Dr. Stephen Henson
Submitted by: "Florian Rüchel" <florian.ruechel@ruhr-uni-bochum.de> Correctly handle local machine keys in the capi ENGINE.
2012-09-01Don't load GOST ENGINE if it is already loaded.Dr. Stephen Henson
Multiple copies of the ENGINE will cause problems when it is cleaned up as the methods are stored in static structures which will be overwritten and freed up more than once. Set static methods to NULL when the ENGINE is freed so it can be reloaded.
2012-08-13gosthash.c: use memmove in circle_xor8, as input pointers can be equal.Andy Polyakov
PR: 2858