aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/modexp.v7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rtl/modexp.v b/src/rtl/modexp.v
index 9f3d4f0..afd7a84 100644
--- a/src/rtl/modexp.v
+++ b/src/rtl/modexp.v
@@ -10,9 +10,12 @@
// C = M ** e mod N
//
// M is a message with a length of n bits
-// e is the exponent with a length of at most 32 bits
+// e is the exponent with a length of m bits
// N is the modulus with a length of n bits
-// n is can be 32 and up to and including 8192 bits in steps
+//
+// n can be 32 and up to and including 8192 bits in steps
+// of 32 bits.
+// m can be one and up to and including 8192 bits in steps
// of 32 bits.
//
// The core has a 32-bit memory like interface, but provides