From 8b543e804375a788ae71d461c0f8cf5d4193fc25 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 8 Apr 2011 18:13:41 +0000 Subject: ECC private keys had two different constructors, one taking a group and a random number generator, and the other taking a group and a preset private key value. The DL private keys instead have on constructor for this; if the x value is zero, then a new random key is created. For consistency, do this with ECC as well. ECDH actually didn't have one of these constructors, forcing you to either load from PKCS #8 or else use a random key. Rename EC_Domain_Params to EC_Group, with a typedef for compatability. More doc updates. Update mtn ignores for Sphinx output --- src/pubkey/ecdsa/info.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pubkey/ecdsa/info.txt') diff --git a/src/pubkey/ecdsa/info.txt b/src/pubkey/ecdsa/info.txt index ca2694ad1..7a2113a30 100644 --- a/src/pubkey/ecdsa/info.txt +++ b/src/pubkey/ecdsa/info.txt @@ -2,7 +2,7 @@ define ECDSA asn1 -ec_dompar +ec_group ecc_key numbertheory rng -- cgit v1.2.3