aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-12-09 08:18:03 -0500
committerJack Lloyd <[email protected]>2018-12-09 08:18:03 -0500
commit0f8d7dcb05b52424231fb650f1acf9e5bb5430ac (patch)
tree10c42eee0c564c51287afa974febbbbb35de5688 /src/lib/math/numbertheory
parentf30b2871116c96aeb6e25196a6b2f28a41131075 (diff)
Fix typo
Diffstat (limited to 'src/lib/math/numbertheory')
-rw-r--r--src/lib/math/numbertheory/monty_exp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/monty_exp.cpp b/src/lib/math/numbertheory/monty_exp.cpp
index cc415815d..62ba8fcc5 100644
--- a/src/lib/math/numbertheory/monty_exp.cpp
+++ b/src/lib/math/numbertheory/monty_exp.cpp
@@ -41,7 +41,7 @@ Montgomery_Exponentation_State::Montgomery_Exponentation_State(std::shared_ptr<c
m_window_bits(window_bits == 0 ? 4 : window_bits),
m_const_time(const_time)
{
- BOTAN_ARG_CHECK(g < m_params->p(), "Montygomery base too big");
+ BOTAN_ARG_CHECK(g < m_params->p(), "Montgomery base too big");
if(m_window_bits < 1 || m_window_bits > 12) // really even 8 is too large ...
throw Invalid_Argument("Invalid window bits for Montgomery exponentiation");