[Cryptech-Commits] [core/math/modexp] 01/01: Updated header with info about bit lengths supported.

git at cryptech.is git at cryptech.is
Mon Apr 27 12:46:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch master
in repository core/math/modexp.

commit 048a8d751ee503f180350263daa5429b37791fe6
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Mon Apr 27 14:46:25 2015 +0200

    Updated header with info about bit lengths supported.
---
 src/rtl/modexp.v | 7 +++++--
 1 file 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



More information about the Commits mailing list