summaryrefslogtreecommitdiffstats
path: root/crypto/engine
AgeCommit message (Collapse)Author
2016-06-03cryptodev_asym, zapparams: use OPENSSL_* allocation routines, handle errorsJonas Maebe
zapparams modification based on tip from Matt Caswell RT#3198 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-02-27Fix two possible leaksFdaSilvaYY
Backport of 98637bd Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-12-18Remove the "eay" c-file-style indicatorsRichard Levitte
Since we don't use the eay style any more, there's no point tryint to tell emacs to use it. Reviewed-by: Ben Laurie <ben@openssl.org>
2015-11-09Fix missing malloc return value checksMatt Caswell
During work on a larger change in master a number of locations were identified where return value checks were missing. This backports the relevant fixes. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-10-08When ENGINE_add finds that id or name is missing, actually returnRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 5850cc75ea0c1581a9034390f1ca77cadc596238)
2015-09-15RT4044: Remove .cvsignore files.Rich Salz
Reviewed-by: Matt Caswell <matt@openssl.org>
2015-05-23Fix the update target and remove duplicate file updatesRichard Levitte
We had updates of certain header files in both Makefile.org and the Makefile in the directory the header file lived in. This is error prone and also sometimes generates slightly different results (usually just a comment that differs) depending on which way the update was done. This removes the file update targets from the top level Makefile, adds an update: target in all Makefiles and has it depend on the depend: or local_depend: targets, whichever is appropriate, so we don't get a double run through the whole file tree. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 0f539dc1a2f45580435c39dada44dd276e79cb88) Conflicts: Makefile.org apps/Makefile test/Makefile
2015-01-26Remove unused eng_rsax and related asm fileRich Salz
Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-01-24Fix segfault with empty fields as last in the config.Kurt Roeckx
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Fix indent issue with engine.hMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Further comment amendments to preserve formatting prior to source reformatMatt Caswell
(cherry picked from commit 4a7fa26ffd65bf36beb8d1cb8f29fc0ae203f5c5) Conflicts: crypto/x509v3/pcy_tree.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-17Build fixesEmilia Kasper
Various build fixes, mostly uncovered by clang's unused-const-variable and unused-function errors. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2014-07-09Please Clang's sanitizer, addendum.Andy Polyakov
(cherry picked from commit d11c70b2c2a655d112fa72d34c6702e9aa2eff79)
2014-02-18Don't use CRYPTO_AES_CTR if it isn't defined.Dr. Stephen Henson
(cherry picked from commit 6ecbc2bb62835a401ad6efe240d469a23b21755b)
2014-02-15Add support for aes-128/192/256-ctr to the cryptodev engine.Klaus-Peter Junghanns
This can be used to speed up SRTP with libsrtp, e.g. on TI omap/sitara based devices. (cherry picked from commit be2c4d9bd9e81030c547a34216ae2d8e5c888190)
2014-01-28Add loaded dynamic ENGINEs to list.Dr. Stephen Henson
Always add a dynamically loaded ENGINE to list. Otherwise it can cause problems when multiply loaded, especially if it adds new public key methods. For all current engines we only want a single implementation anyway. (cherry picked from commit e933f91f50108a43c0198cdc63ecdfdbc77b4d0d)
2013-12-13Don't use rdrand engine as default unless explicitly requested.Dr. Stephen Henson
2013-12-01RSAX no longer compiled.Dr. Stephen Henson
2013-07-05Remove RSAX engine, superseded by RSAZ module.Andy Polyakov
(cherry picked from commit f5b132d652e47af3cde3293d54c1bd028d00758d) Conflicts [resloved]: Configure
2013-06-13Wrong include path.Ben Laurie
2013-01-15make updateDr. Stephen Henson
2012-06-03Reduce version skew: trivia (I hope).Ben Laurie
2012-02-27PR: 2735Dr. Stephen Henson
Make cryptodev digests work. Thanks to Nikos Mavrogiannopoulos for this fix.
2011-10-10def_rsa_finish not used anymore.Dr. Stephen Henson
2011-10-10fix leak properly this time...Dr. Stephen Henson
2011-10-09fix memory leaksDr. Stephen Henson
2011-08-22eng_rsax.c: improve portability [from HEAD].Andy Polyakov
2011-08-14Remove hard coded ecdsaWithSHA1 hack in ssl routines and check for RSADr. Stephen Henson
using OBJ xref utilities instead of string comparison with OID name. This removes the arbitrary restriction on using SHA1 only with some ECC ciphersuites.
2011-08-14eng_rsax.c: make it work on Win64.Andy Polyakov
2011-08-14eng_rdrand.c: make it link in './config 386' case [from HEAD].Andy Polyakov
2011-08-11prevent compilation errors and warningsDr. Stephen Henson
2011-08-10Add provisory support for RDRAND [from HEAD].Andy Polyakov
2011-08-03fix memory leakDr. Stephen Henson
2011-07-25Disable rsax for Windows: it doesn't currently work.Dr. Stephen Henson
2011-07-21stop warningsDr. Stephen Henson
2011-07-20Add RSAX builtin engine [from HEAD].Andy Polyakov
2011-05-15new flag to stop ENGINE methods being registeredDr. Stephen Henson
2011-01-30stop warnings about no previous prototype when compiling shared enginesDr. Stephen Henson
2010-07-21Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),Dr. Stephen Henson
this means that some implementations will be used automatically, e.g. aesni, we do this for cryptodev anyway. Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
2010-03-27PR: 1813Dr. Stephen Henson
Submitted by: Torsten Hilbrich <torsten.hilbrich@secunet.com> Fix memory leak when engine name cannot be loaded.
2010-03-03don't mix definitions and codeDr. Stephen Henson
2010-03-01PR: 2178Dr. Stephen Henson
Submitted by: "Kennedy, Brendan" <brendan.kennedy@intel.com> Handle error codes correctly: cryptodev returns 0 for success whereas OpenSSL returns 1.
2010-03-01use correct prototype as in HEADDr. Stephen Henson
2010-03-01make USE_CRYPTODEV_DIGESTS workDr. Stephen Henson
2010-02-09Fix memory leak in ENGINE autoconfig code. Improve error logging.Dr. Stephen Henson
2010-01-28In engine_table_select() don't clear out entire error queue: just clearDr. Stephen Henson
out any we added using ERR_set_mark() and ERR_pop_to_mark() otherwise errors from other sources (e.g. SSL library) can be wiped.
2010-01-06ENGINE_load_capi() now exists on all platforms (but no op on non-WIN32)Dr. Stephen Henson
2009-09-13Submitted by: Julia Lawall <julia@diku.dk>Dr. Stephen Henson
The functions ENGINE_ctrl(), OPENSSL_isservice(), EVP_PKEY_sign(), CMS_get1_RecipientRequest() and RAND_bytes() can return <=0 on error fix so the return code is checked correctly.