| 358 | } |
| 359 | |
| 360 | static txBigInt *mod_exp_init(txMachine *the, txBigInt *r, txBigInt *m) |
| 361 | { |
| 362 | if (r == NULL) |
| 363 | r = fxBigInt_alloc(the, m->size); |
| 364 | r->size = 1; |
| 365 | r->data[0] = 1; |
| 366 | return r; |
| 367 | } |
| 368 | |
| 369 | txBigInt *fxBigInt_mod_exp_LR(txMachine *the, txBigInt *r, txBigInt *b, txBigInt *e, txBigInt *m) |
| 370 | { |
no test coverage detected