remove MaskMode

2merge^2
MITSUNARI Shigeo 4 years ago
parent a1cf697e91
commit 385efd3fc5
  1. 7
      include/mcl/op.hpp

@ -173,13 +173,6 @@ enum PrimeMode {
PM_NIST_P521 PM_NIST_P521
}; };
enum MaskMode {
NoMask = 0, // throw if greater or equal
SmallMask = 1, // 1-bit smaller mask if greater or equal
MaskAndMod = 2, // mask and substract if greater or equal
Mod = 3 // mod p
};
struct Op { struct Op {
/* /*
don't change the layout of rp and p don't change the layout of rp and p

Loading…
Cancel
Save