dev
MITSUNARI Shigeo 8 years ago
parent 5dbc921efa
commit 6f237473e9
  1. 2
      include/mcl/ec.hpp

@ -663,7 +663,7 @@ public:
return;
}
x.getStr(str, ioMode);
assert(str.size() == n && (str[n - 1] & 0x80) != 0);
assert(str.size() == n && (str[n - 1] & 0x80) == 0);
if (y.isOdd()) {
str[n - 1] |= 0x80;
}

Loading…
Cancel
Save