Searched refs:PHIGH_BITS (Results 1 – 4 of 4) sorted by relevance
47 #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) macro56 #if PHIGH_BITS == 066 (mp_limb_t) 19 << PHIGH_BITS); in ecc_curve25519_modp()68 cy = (cy << PHIGH_BITS) + (hi >> (GMP_NUMB_BITS - PHIGH_BITS)); in ecc_curve25519_modp()69 rp[ECC_LIMB_SIZE-1] = (hi & (GMP_NUMB_MASK >> PHIGH_BITS)) in ecc_curve25519_modp()181 #if PHIGH_BITS > 0 in ecc_curve25519_zero_p()183 xp[ECC_LIMB_SIZE-1] = (hi & (GMP_NUMB_MASK >> PHIGH_BITS)) in ecc_curve25519_zero_p()184 + sec_add_1 (xp, xp, ECC_LIMB_SIZE - 1, 19 * (hi >> (GMP_NUMB_BITS - PHIGH_BITS))); in ecc_curve25519_zero_p()
3488 * ecc-25519.c (PHIGH_BITS): Always define this constant.
47 #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) macro56 #if PHIGH_BITS == 066 (mp_limb_t) 19 << PHIGH_BITS); in ecc_25519_modp()68 cy = (cy << PHIGH_BITS) + (hi >> (GMP_NUMB_BITS - PHIGH_BITS)); in ecc_25519_modp()69 rp[ECC_LIMB_SIZE-1] = (hi & (GMP_NUMB_MASK >> PHIGH_BITS)) in ecc_25519_modp()211 #if PHIGH_BITS > 0 in ecc_25519_zero_p()213 xp[ECC_LIMB_SIZE-1] = (hi & (GMP_NUMB_MASK >> PHIGH_BITS)) in ecc_25519_zero_p()214 + sec_add_1 (xp, xp, ECC_LIMB_SIZE - 1, 19 * (hi >> (GMP_NUMB_BITS - PHIGH_BITS))); in ecc_25519_zero_p()
2070 * ecc-25519.c (PHIGH_BITS): Always define this constant.