aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ecc_key/ecc_key.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-01 22:53:42 +0000
committerlloyd <[email protected]>2010-03-01 22:53:42 +0000
commitb789c87b7c96dbdb00839996c9603a3f0921b25b (patch)
tree63b10b4ea832d624908006e936e3fc5ba8311625 /src/pubkey/ecc_key/ecc_key.h
parent6646a0577a337fa054aea1153dc39af419a6b1b4 (diff)
Clean up EC_Domain_Params
Diffstat (limited to 'src/pubkey/ecc_key/ecc_key.h')
-rw-r--r--src/pubkey/ecc_key/ecc_key.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pubkey/ecc_key/ecc_key.h b/src/pubkey/ecc_key/ecc_key.h
index 76f3faf34..4e97a427f 100644
--- a/src/pubkey/ecc_key/ecc_key.h
+++ b/src/pubkey/ecc_key/ecc_key.h
@@ -58,7 +58,7 @@ class BOTAN_DLL EC_PublicKey : public virtual Public_Key
* Set the domain parameter encoding to be used when encoding this key.
* @param enc the encoding to use
*/
- void set_parameter_encoding(EC_dompar_enc enc);
+ void set_parameter_encoding(EC_Domain_Params_Encoding enc);
/**
* Get the domain parameter encoding to be used when encoding this key.
@@ -71,7 +71,7 @@ class BOTAN_DLL EC_PublicKey : public virtual Public_Key
//ctors
EC_PublicKey()
- : m_param_enc(ENC_EXPLICIT)
+ : m_param_enc(EC_DOMPAR_ENC_EXPLICIT)
{
//assert(mp_dom_pars.get() == 0);
//assert(mp_public_point.get() == 0);
@@ -104,7 +104,7 @@ class BOTAN_DLL EC_PublicKey : public virtual Public_Key
std::auto_ptr<EC_Domain_Params> mp_dom_pars;
std::auto_ptr<PointGFp> mp_public_point;
- EC_dompar_enc m_param_enc;
+ EC_Domain_Params_Encoding m_param_enc;
};
/**