OpenCoverageOpenSSL

OpenSSL patch #30 - Test report of the modifications

Overview

Test Execution StatusStatistics
Passed
  0.000% (0/35)
Failed
  0.000% (0/35)
Requires Manual Checking
  0.000% (0/35)
Unknown
  2.857% (1/35)
All
  2.857% (1/35)
CategoryRemoved LinesInserted LinesTotal
Modified lines executed:
100.000% (4/4)
  0.000% (0/4)
 50.000% (4/8)
Modified lines not executed:
  0.000% (0/4)
  0.000% (0/4)
  0.000% (0/8)
Source code lines not covered:
  0.000% (0/4)
100.000% (4/4)
 50.000% (4/8)

List of tests executing the changes

Execution NameState
libcrypto.so.1.1Unknown

Patch File

Showing: 

Modified File: crypto/ec/ecp_nistz256.c

LineTestsDifference Output
diff --git a/crypto/ec/ecp_nistz256.c b/crypto/ec/ecp_nistz256.c
index 04e374ebc5..4580f70b24 100644
--- a/crypto/ec/ecp_nistz256.c
+++ b/crypto/ec/ecp_nistz256.c
@@ -1530,6 +1530,10 @@ static int ecp_nistz256_inv_mod_ord(const EC_GROUP *group, BIGNUM *r,
1530 BN_ULONG table[15][P256_LIMBS];
1531 BN_ULONG out[P256_LIMBS], t[P256_LIMBS];
1532 int i, ret = 0;
1533
-
+ enum {
1534
-
+ i_1 = 0, i_10, i_11, i_101, i_111, i_1010, i_1111,
1535
-
+ i_10101, i_101010, i_101111, i_x6, i_x8, i_x16, i_x32
1536
-
+ };
1533 ➡ 1537
1534 ➡ 1538 /*
1535 ➡ 1539 * Catch allocation failure early.
@@ -1607,10 +1611,6 @@ static int ecp_nistz256_inv_mod_ord(const EC_GROUP *group, BIGNUM *r,
1607 ➡ 1611 * multiplications, 25%, on grand scale sign operation is not that
1608 ➡ 1612 * much faster, not more that 2%...
1609 ➡ 1613 */
1610
1
Executed by:
  • libcrypto.so.1.1
- enum {
1611
1
Executed by:
  • libcrypto.so.1.1
- i_1 = 0, i_10, i_11, i_101, i_111, i_1010, i_1111,
1612
1
Executed by:
  • libcrypto.so.1.1
- i_10101, i_101010, i_101111, i_x6, i_x8, i_x16, i_x32
1613
1
Executed by:
  • libcrypto.so.1.1
- };
1614
1615 /* pre-calculate powers */
1616 ecp_nistz256_ord_sqr_mont(table[i_10], table[i_1], 1);

Generated by Squish Coco 4.1.2