[Cryptech-Commits] [core/math/modexp] 02/02: Removed extra digit in test case KAT that had creeped in.

git at cryptech.is git at cryptech.is
Fri Jun 26 07:10:37 UTC 2015


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

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

commit 8e73cbff5bdfd994cdc7eee7ca3fcf953e63f395
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Fri Jun 26 09:10:27 2015 +0200

    Removed extra digit in test case KAT that had creeped in.
---
 src/tb/tb_modexp.v | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tb/tb_modexp.v b/src/tb/tb_modexp.v
index d250b0c..fe22662 100644
--- a/src/tb/tb_modexp.v
+++ b/src/tb/tb_modexp.v
@@ -870,7 +870,7 @@ module tb_modexp();
 
       write_word({GENERAL_PREFIX, ADDR_RESULT_PTR_RST}, 32'h00000000);
       read_word({GENERAL_PREFIX, ADDR_RESULT_DATA}); read_data = tb_read_data; success = success & assertEquals(32'h00000000, read_data);
-      read_word({GENERAL_PREFIX, ADDR_RESULT_DATA}); read_data = tb_read_data; success = success & assertEquals(32'h4132d8e17, read_data);
+      read_word({GENERAL_PREFIX, ADDR_RESULT_DATA}); read_data = tb_read_data; success = success & assertEquals(32'h132d8e17, read_data);
       read_word({GENERAL_PREFIX, ADDR_RESULT_DATA}); read_data = tb_read_data; success = success & assertEquals(32'hdd4d85a4, read_data);
 
       if (success !== 1)
@@ -1398,8 +1398,8 @@ module tb_modexp();
 //      tc1();
 //      tc2();
 //      tc3();
-//      autogenerated_BASIC_33bit();
-//      autogenerated_BASIC_128bit();
+      autogenerated_BASIC_33bit();
+      autogenerated_BASIC_128bit();
       e65537_64bit_modulus();
 //      e65537_128bit_modulus();
 //      e65537_256bit_modulus();



More information about the Commits mailing list