mp_size_t ecc_mul_a_itch (const struct ecc_curve *ecc) { /* Binary algorithm needs 6*ecc->size + scratch for ecc_add_jja. Current total is 12 ecc->size, at most 864 bytes. Window algorithm needs (3<<w) * ecc->size for the table, 3*ecc->size for a temporary point, and scratch for ecc_add_jjj. */ return ECC_MUL_A_ITCH (ecc->size); }
ecc_Bmodq_shifted, NULL, ecc_qp1h, ecc_mod, ecc_mod, ecc_mod_inv, NULL, }, USE_REDC, ECC_PIPPENGER_K, ECC_PIPPENGER_C, ECC_ADD_JJJ_ITCH (ECC_LIMB_SIZE), ECC_MUL_A_ITCH (ECC_LIMB_SIZE), ECC_MUL_G_ITCH (ECC_LIMB_SIZE), ECC_J_TO_A_ITCH (ECC_LIMB_SIZE), ecc_add_jjj, ecc_mul_a, ecc_mul_g, ecc_j_to_a, ecc_b, ecc_g, NULL, ecc_unit, ecc_table };