summaryrefslogtreecommitdiffstats
path: root/crypto/ec
AgeCommit message (Collapse)Author
2005-05-11Fix more error codes.Bodo Möller
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
2005-05-10give EC_GROUP_new_by_nid a more meanigful name:Nils Larsch
EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
2005-05-08give EC_GROUP_*_nid functions a more meaningful nameNils Larsch
EC_GROUP_get_nid -> EC_GROUP_get_curve_name EC_GROUP_set_nid -> EC_GROUP_set_curve_name
2005-05-03rewrite of bn_nist.c, disable support for some curves on 64 bit platformsNils Larsch
for now (it was broken anyway)
2005-04-26Fix various incorrect error function codes.Bodo Möller
("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
2005-04-22- use BN_set_negative and BN_is_negative instead of BN_set_signNils Larsch
and BN_get_sign - implement BN_set_negative as a function - always use "#define BN_is_zero(a) ((a)->top == 0)"
2005-04-12More overwritten stuff...Dr. Stephen Henson
2005-04-12Rebuild error codes.Dr. Stephen Henson
2005-04-11include limits.h for UINT_MAX etc.Nils Larsch
2005-04-11Add emacs cache files to .cvsignore.Richard Levitte
2005-04-04remove unused recp methodNils Larsch
2005-03-31Give everything prototypes (well, everything that's actually used).Ben Laurie
2005-03-30Blow away Makefile.ssl.Ben Laurie
2005-03-09Fix typoBodo Möller
PR: 1017 Submitted by: ciresh@yahoo.com Reviewed by: Nils Larsch
2004-11-02Don't use $(EXHEADER) directly in for loops, as most shells will breakRichard Levitte
if $(EXHEADER) is empty. Notified by many, solution suggested by Carson Gaspar <carson@taltos.org>
2004-07-16Using Horner's algorithm to evaluate the ec polynomialGeoff Thorpe
(suggested by Adam Young <ayoung@cigital.com>) Submitted by: Nils Larsch
2004-07-06Improve error handling if decompression of an ec point fails, and cleanupGeoff Thorpe
ec_curve.c (unify comments, etc). Submitted by: Nils Larsch Reviewed by: Bodo Moeller, Geoff Thorpe
2004-05-17After the latest round of header-hacking, regenerate the dependencies inGeoff Thorpe
the Makefiles. NB: this commit is probably going to generate a huge posting and it is highly uninteresting to read.
2004-05-17Deprecate the recursive includes of bn.h from various API headers (asn1.h,Geoff Thorpe
dh.h, dsa.h, ec.h, ecdh.h, ecdsa.h, rsa.h), as the opaque bignum types are already declared in ossl_typ.h. Add explicit includes for bn.h in those C files that need access to structure internals or API functions+macros.
2004-05-04Fix realloc usage in ec_curve.cGeoff Thorpe
Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
2004-04-19(oops) Apologies all, that last header-cleanup commit was from the wrongGeoff Thorpe
tree. This further reduces header interdependencies, and makes some associated cleanups.
2004-03-25Adds warnings about two curves and fixes the "seed" value for two otherGeoff Thorpe
curves. Submitted by: Nils Larsch
2004-03-15Make sure we use unsigned constants, or come compilers may complain.Richard Levitte
2004-03-13Convert openssl code not to assume the deprecated form of BN_zero().Geoff Thorpe
Remove certain redundant BN_zero() initialisations, because BN_CTX_get(), BN_init(), [etc] already initialise to zero. Correct error checking in bn_sqr.c, and be less wishy-wash about how/why the result's 'top' value is set (note also, 'max' is always > 0 at this point).
2004-01-24Get rid of bogus warning when compiling with Sun vendor compiler.Andy Polyakov
2003-12-27Use sh explicitely to run point.shRichard Levitte
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
2003-11-29Add IPSec/IKE/Oakley curves.Richard Levitte
PR: 768 Submitted by: Vadim Fedukovich <vf@unity.net>
2003-11-10General improvements to the ec_asn1.c code. This squashes at least one bugGeoff Thorpe
(where it was impossible to create an EC certificate with a compressed public key), and has some style improvements based on some comments from Steve Henson about use of the ASN1 macros. Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
2003-10-29Comments out some unimplemented functions instead of redeclaring them.Geoff Thorpe
2003-07-22updates for draft-ietf-tls-ecc-03.txtBodo Möller
Submitted by: Douglas Stebila Reviewed by: Bodo Moeller
2003-07-22add test for secp160r1Bodo Möller
add code for kP+lQ timings Submitted by: Douglas Stebila <douglas.stebila@sun.com> Reviewed by: Bodo Moeller
2003-07-21new function EC_GROUP_cmp() (used by EVP_PKEY_cmp())Bodo Möller
Submitted by: Nils Larsch
2003-05-21Correct signednessRichard Levitte
2003-05-21Make sure EC_window_bits_for_scalar_size() returns a size_tRichard Levitte
2003-03-20Make sure we get the definition of OPENSSL_NO_EC.Richard Levitte
2003-02-27add Certicom licensing e-mail addressBodo Möller
2003-02-21treat 'out' like i2d functions do; cf. asn1_item_flags_i2d ↵Bodo Möller
(crypto/asn/tasn_enc.c)
2003-02-21ECPublicKey_set_octet_string and ECPublicKey_get_octet_stringBodo Möller
behaviour was not quite consistent with the conventions for d2i and i2d functions as far as handling of the 'out' or 'in' pointer is concerned. This patch changes this behaviour, and renames the functions to o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the external encoding is just a raw object string without any DER icing). Submitted by: Nils Larsch
2003-02-19typoBodo Möller
PR: 511 Submitted by: Eric Cronin
2003-02-12Allow EC_GROUP objects to share precomputation for improved memoryBodo Möller
efficiency (EC_PRE_COMP objects are now constant once completed). Extend 'extra_data' API to support arbitrarily many slots (although we need only one at the moment). Modify EC internal 'extra_data' API: EC_GROUP_[clear_]free_extra_data now frees only a single slot (the previous functions are available as EC_GROUP_[clear_]free_all_extra_data). Submitted by: Nils Larsch Reviewed by: Bodo Moeller
2003-02-10Make sure memcpy() is properly declared by including string.h.Richard Levitte
2003-02-08fix EC_GROUP_copy for EC_GFp_nist_method()Bodo Möller
Submitted by: Nils Larsch
2003-02-08remove debugging leftoversBodo Möller
2003-02-07commentBodo Möller
2003-02-06typoBodo Möller
2003-02-06implement fast point multiplication with precomputationBodo Möller
Submitted by: Nils Larsch Reviewed by: Bodo Moeller
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2003-01-28simplifyBodo Möller
Submitted by: Nils Larsch
2003-01-25cofactor is optional in parameter encodingsBodo Möller
Submitted by: Nils Larsch
2003-01-21fix warningsBodo Möller
Submitted by: Nils Larsch