Home
last modified time | relevance | path

Searched refs:PHIGH_BITS (Results 1 – 4 of 4) sorted by relevance

/dports/security/nettle/nettle-3.7.3/
H A Decc-curve25519.c47 #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) macro
56 #if PHIGH_BITS == 0
66 (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()
H A DChangeLog3488 * ecc-25519.c (PHIGH_BITS): Always define this constant.
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/
H A Decc-25519.c47 #define PHIGH_BITS (GMP_NUMB_BITS * ECC_LIMB_SIZE - 255) macro
56 #if PHIGH_BITS == 0
66 (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()
H A DChangeLog2070 * ecc-25519.c (PHIGH_BITS): Always define this constant.