| 165 | } |
| 166 | |
| 167 | txBigInt *fxBigInt_mod_mul(txMachine *the, txBigInt *r, txBigInt *a, txBigInt *b, txBigInt *m, pool_t *pool) |
| 168 | { |
| 169 | txU2 mSize = m->size * 2; |
| 170 | txBigInt *c = pool_get(the, mSize, pool); |
| 171 | |
| 172 | c = fxBigInt_mul(the, c, a, b); |
| 173 | fxBigInt_mod(the, r, c, m); |
| 174 | pool_put(c, mSize); |
| 175 | return r; |
| 176 | } |
| 177 | |
| 178 | txBigInt *fxBigInt_mod_square(txMachine *the, txBigInt *r, txBigInt *a, txBigInt *m, pool_t *pool) |
| 179 | { |
no test coverage detected