aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ec_group/ec_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.h')
-rw-r--r--src/lib/pubkey/ec_group/ec_group.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.h b/src/lib/pubkey/ec_group/ec_group.h
index 5f50edc9b..3c37a8d0e 100644
--- a/src/lib/pubkey/ec_group/ec_group.h
+++ b/src/lib/pubkey/ec_group/ec_group.h
@@ -192,6 +192,12 @@ class BOTAN_PUBLIC_API(2,0) EC_Group final
*/
const BigInt& get_order() const;
+ /**
+ * Return the cofactor
+ * @result the cofactor
+ */
+ const BigInt& get_cofactor() const;
+
/*
* Reduce x modulo the order
*/
@@ -218,12 +224,6 @@ class BOTAN_PUBLIC_API(2,0) EC_Group final
BigInt multiply_mod_order(const BigInt& x, const BigInt& y, const BigInt& z) const;
/**
- * Return the cofactor
- * @result the cofactor
- */
- const BigInt& get_cofactor() const;
-
- /**
* Check if y is a plausible point on the curve
*
* In particular, checks that it is a point on the curve, not infinity,