Skip to content

Commit ee74093

Browse files
ECM montgomery and edwards, torsion 8 and 16
1 parent ebacae5 commit ee74093

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/core/Version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <string>
55

66
namespace core {
7-
const std::string PRMERS_VERSION = "4.15.11-alpha";
7+
const std::string PRMERS_VERSION = "4.15.12-alpha";
88
} // namespace core
99

1010
#endif // VERSION_HPP

src/io/WorktodoParser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ static void trim_inplace(std::string& s){
6767
if (a == std::string::npos) { s.clear(); return; }
6868
s = s.substr(a, b - a + 1);
6969
}
70-
70+
/*
7171
static uint64_t mul_sat_u64(uint64_t a, uint64_t b){
7272
if (a == 0 || b == 0) return 0;
7373
if (a > std::numeric_limits<uint64_t>::max() / b) return std::numeric_limits<uint64_t>::max();
7474
return a * b;
75-
}
75+
}*/
7676

7777
std::optional<WorktodoEntry> WorktodoParser::parse() {
7878
std::ifstream file(filename_);
@@ -215,7 +215,7 @@ std::optional<WorktodoEntry> WorktodoParser::parse() {
215215
uint64_t curves = static_cast<uint64_t>(std::stoull(parts[6]));
216216
if (curves == 0) curves = 1;
217217

218-
if (B2 == 0 || B2 == B1) B2 = mul_sat_u64(B1, 100);
218+
if (B2 == 0 || B2 == B1) B2 = 0;//mul_sat_u64(B1, 100);
219219

220220
WorktodoEntry entry;
221221
entry.ecmTest = true;

0 commit comments

Comments
 (0)