| 1183 | } |
| 1184 | |
| 1185 | uint32_t Int::ModPositiveK1() { |
| 1186 | |
| 1187 | Int N(this); |
| 1188 | Int D(this); |
| 1189 | N.ModNeg(); |
| 1190 | D.Sub(&N); |
| 1191 | if(D.IsNegative()) { |
| 1192 | return 0; |
| 1193 | } else { |
| 1194 | Set(&N); |
| 1195 | return 1; |
| 1196 | } |
| 1197 | |
| 1198 | } |
| 1199 | |
| 1200 | |
| 1201 | void Int::ModMulK1order(Int *a) { |
nothing calls this directly
no test coverage detected