| 199 | } |
| 200 | |
| 201 | BigInteger BigInteger::modPow(const BigInteger& pow, const BigInteger& mod) const |
| 202 | { |
| 203 | BigInteger rc; |
| 204 | CHECK_MP(mp_exptmod(const_cast<mp_int*>(&t), const_cast<mp_int*>(&pow.t), |
| 205 | const_cast<mp_int*>(&mod.t), &rc.t)); |
| 206 | return rc; |
| 207 | } |
| 208 | |
| 209 | } |
| 210 |
no test coverage detected