| 689 | } |
| 690 | |
| 691 | void fxBigInt_ec_double(txMachine *the, txECPoint *r, txECPoint *a, txECParam *ec) |
| 692 | { |
| 693 | pool_t pool; |
| 694 | |
| 695 | if (r->z == NULL) |
| 696 | r->z = fxBigInt_alloc(the, ec->m->size); |
| 697 | if (r->y == NULL) |
| 698 | r->y = fxBigInt_alloc(the, ec->m->size); |
| 699 | if (r->x == NULL) |
| 700 | r->x = fxBigInt_alloc(the, ec->m->size); |
| 701 | pool_init(&pool); |
| 702 | ec_double(the, r, a, ec, &pool); |
| 703 | pool_dispose(the, &pool); |
| 704 | } |
| 705 | |
| 706 | /* |
| 707 | https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian.html |
nothing calls this directly
no test coverage detected