aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ec_dompar/ec_dompar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/ec_dompar/ec_dompar.h')
-rw-r--r--src/pubkey/ec_dompar/ec_dompar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pubkey/ec_dompar/ec_dompar.h b/src/pubkey/ec_dompar/ec_dompar.h
index 6789976d0..7da2120cc 100644
--- a/src/pubkey/ec_dompar/ec_dompar.h
+++ b/src/pubkey/ec_dompar/ec_dompar.h
@@ -102,6 +102,8 @@ class BOTAN_DLL EC_Domain_Params
*/
const BigInt& get_cofactor() const { return cofactor; }
+ bool initialized() const { return !base_point.is_zero(); }
+
/**
* Return the OID of these domain parameters
* @result the OID