diff options
Diffstat (limited to 'src/lib/pubkey/ec_group/ec_group.h')
-rw-r--r-- | src/lib/pubkey/ec_group/ec_group.h | 5 |
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 031e5cc34..8bb1a3044 100644 --- a/src/lib/pubkey/ec_group/ec_group.h +++ b/src/lib/pubkey/ec_group/ec_group.h @@ -132,6 +132,11 @@ class BOTAN_PUBLIC_API(2,0) EC_Group final bool a_is_minus_3() const; /** + * Return if a == 0 mod p + */ + bool a_is_zero() const; + + /** * Return the size of p in bits (same as get_p().bits()) */ size_t get_p_bits() const; |