aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ec_group/ec_group.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-21 12:36:53 -0500
committerJack Lloyd <[email protected]>2018-02-21 12:36:53 -0500
commitfdbcf2dcc45094f6eee2fe2f17ee287118dc6cfd (patch)
tree5b34695fcfd3e350150418244d53775904da0c6a /src/lib/pubkey/ec_group/ec_group.h
parenta706d6b6b4344388b9a5b0a2e506ce4cd3c83cf3 (diff)
Expose EC_Group::a_is_minus_3
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.h')
-rw-r--r--src/lib/pubkey/ec_group/ec_group.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.h b/src/lib/pubkey/ec_group/ec_group.h
index 0e5f352f2..16a6abe28 100644
--- a/src/lib/pubkey/ec_group/ec_group.h
+++ b/src/lib/pubkey/ec_group/ec_group.h
@@ -126,6 +126,11 @@ class BOTAN_PUBLIC_API(2,0) EC_Group final
BOTAN_DEPRECATED("Avoid CurveGFp") const CurveGFp& get_curve() const;
/**
+ * Return if a == -3 mod p
+ */
+ bool a_is_minus_3() const;
+
+ /**
* Return the size of p in bits (same as get_p().bits())
*/
size_t get_p_bits() const;