diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-04-27 14:46:25 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-04-27 14:46:25 +0200 |
commit | 048a8d751ee503f180350263daa5429b37791fe6 (patch) | |
tree | 857c9327786e1030ee69baec41d54548a513d79f /src | |
parent | a39b7da7d60f965a056769938413f0867f631f75 (diff) |
Updated header with info about bit lengths supported.
Diffstat (limited to 'src')
-rw-r--r-- | src/rtl/modexp.v | 7 |
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 |