| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
cause a denial of service. (CVE-2006-2940)
[Steve Henson, Bodo Moeller]
|
| |
|
|
|
|
| |
duplicate numbers. Renumbering.
|
| |
|
|
|
|
| |
functions to support it.
|
|
|
|
|
|
| |
key ASN1 handling through a single EVP_PKEY_ASN1_METHOD structure and move
the spaghetti algorithm specific code to a single ASN1 module for each
algorithm.
|
|
|
|
| |
"make errors".
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- hide the EC_KEY structure definition in ec_lcl.c + add
some functions to use/access the EC_KEY fields
- change the way how method specific data (ecdsa/ecdh) is
attached to a EC_KEY
- add ECDSA_sign_ex and ECDSA_do_sign_ex functions with
additional parameters for pre-computed values
- rebuild libeay.num from 0.9.7
|
|
|
|
|
| |
(Also improve util/ck_errf.pl script, and occasionally
fix source code formatting.)
|
|
|
|
| |
EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
|
|
|
|
|
| |
EC_GROUP_get_nid -> EC_GROUP_get_curve_name
EC_GROUP_set_nid -> EC_GROUP_set_curve_name
|
|
|
|
| |
("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Submitted by: Douglas Stebila
Reviewed by: Bodo Moeller
|
|
|
|
| |
Submitted by: Nils Larsch
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
|
|
|
|
| |
Submitted by: Sheueling Chang <Sheueling.Chang@Sun.COM>
|
|
|
|
| |
create new lock CRYPTO_LOCK_BN to avoid race condition
|
|
|
|
| |
Submitted by: Nils Larsch
|
|
|
|
| |
Submitted by: Nils Larsch
|
|
|
|
| |
Submitted by: Nils Larsch, Bodo Moeller
|
| |
|
|
|
|
| |
Submitted by: Nils Larsch
|
|
|
|
|
|
|
| |
EC_GROUP_new_by_nid() should be enough. This avoids a lot of
redundancy.
Submitted by: Nils Larsch
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional changes:
- use EC_GROUP_get_degree() in apps/req.c
- add ECDSA and ECDH to apps/speed.c
- adds support for EC curves over binary fields to ECDSA
- new function EC_KEY_up_ref() in crypto/ec/ec_key.c
- reorganize crypto/ecdsa/ecdsatest.c
- add engine support for ECDH
- fix a few bugs in ECDSA engine support
Submitted by: Douglas Stebila <douglas.stebila@sun.com>
|
|
|
|
| |
Submitted by: Nils Larsch
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the new method names where _GF... suffixes have been removed.
Revert changes to ..._{get/set}_Jprojective_coordinates_...:
The current implementation for ECC over binary fields does not use
projective coordinates, and if it did, it would not use Jacobian
projective coordinates; so it's OK to use the ..._GFp prefix for all
this.
Add author attributions to some files so that it doesn't look
as if Sun wrote all of this :-)
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Duglas Stebila <douglas.stebila@sun.com>,
Sheueling Chang <sheueling.chang@sun.com>
(CHANGES entries by Bodo Moeller)
|
|
|
|
|
|
| |
This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc.
Submitted by: Nils Larsch <nlarsch@compuserve.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(the same keys can be used for ECC schemes other than ECDSA)
and add some new options.
Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS"
in 'PEM' format.
Fix ec_asn1.c (take into account the desired conversion form).
'make update'.
Submitted by: Nils Larsch
|
|
|
|
|
|
|
|
| |
EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()).
New functions ECPKParameters_print(), ECPKParameters_print_fp().
Submitted by: Nils Larsch
|
|
|
|
|
| |
Submitted by: Nils Larsch
Reviewed by: Bodo Moeller
|
|
|
|
|
|
| |
and make some appropriate changes to the EC library.
Submitted by: Nils Larsch
|
|
|
|
|
|
| |
EC_POINT_point2hex(), EC_POINT_hex2point()
Submitted by: Nils Larsch
|
|
|
|
|
|
|
|
| |
EC_GROUP_{set_generator,get_generator,get_order,get_cofactor} are
implemented directly in crypto/ec/ec_lib.c and not dispatched to
methods.
Also fix EC_GROUP_copy to copy the NID.
|
|
|
|
| |
Nils Larsch <nlarsch@compuserve.de>.
|