diff options
Diffstat (limited to 'src/lib/pubkey/dl_group/dl_group.h')
-rw-r--r-- | src/lib/pubkey/dl_group/dl_group.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/pubkey/dl_group/dl_group.h b/src/lib/pubkey/dl_group/dl_group.h index 14ef3c088..921b4060e 100644 --- a/src/lib/pubkey/dl_group/dl_group.h +++ b/src/lib/pubkey/dl_group/dl_group.h @@ -12,6 +12,7 @@ namespace Botan { +class Montgomery_Params; class DL_Group_Data; /** @@ -193,6 +194,11 @@ class BOTAN_PUBLIC_API(2,0) DL_Group final BigInt multi_exponentiate(const BigInt& x, const BigInt& y, const BigInt& z) const; /** + * Return parameters for Montgomery reduction/exponentiation mod p + */ + std::shared_ptr<const Montgomery_Params> monty_params_p() const; + + /** * Return the size of p in bits * Same as get_p().bits() */ |