diff options
author | lloyd <[email protected]> | 2010-03-05 15:19:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-05 15:19:03 +0000 |
commit | 93873731f73e905d8714556f1ebe23acb32de0e1 (patch) | |
tree | 64245bf82639c8cdee0a598f471a4b81cbc1e97e /src | |
parent | af96b73070182dacbfee77659c282852c7e4d507 (diff) |
Make the modulus visible in Modular_Reducer
Diffstat (limited to 'src')
-rw-r--r-- | src/math/numbertheory/reducer.h | 2 |
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; /** |