aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/numbertheory/reducer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math/numbertheory/reducer.h b/src/math/numbertheory/reducer.h
index 80c0f27e1..c121f1499 100644
--- a/src/math/numbertheory/reducer.h
+++ b/src/math/numbertheory/reducer.h
@@ -18,6 +18,8 @@ namespace Botan {
class BOTAN_DLL Modular_Reducer
{
public:
+ const BigInt& get_modulus() const { return modulus; }
+
BigInt reduce(const BigInt& x) const;
/**