Searched refs:C255_P (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/bearssl/src/ec/ |
H A D | ec_c25519_i15.c | 33 static const uint16_t C255_P[] = { variable 140 ctl |= NOT(br_i15_sub(t, C255_P, 0)); in c255_add() 141 br_i15_sub(t, C255_P, ctl); in c255_add() 151 br_i15_add(t, C255_P, br_i15_sub(t, b, 1)); in c255_sub() 160 br_i15_montymul(t, a, b, C255_P, P0I); in c255_mul() 229 br_i15_sub(a, C255_P, NOT(br_i15_sub(a, C255_P, 0))); in api_mul() 235 br_i15_montymul(x1, a, C255_R2, C255_P, P0I); in api_mul() 237 br_i15_zero(z2, C255_P[0]); in api_mul() 344 br_i15_zero(a, C255_P[0]); in api_mul() 346 br_i15_montymul(x2, a, b, C255_P, P0I); in api_mul()
|
H A D | ec_c25519_i31.c | 33 static const uint32_t C255_P[] = { variable 137 ctl |= NOT(br_i31_sub(t, C255_P, 0)); in c255_add() 138 br_i31_sub(t, C255_P, ctl); in c255_add() 148 br_i31_add(t, C255_P, br_i31_sub(t, b, 1)); in c255_sub() 157 br_i31_montymul(t, a, b, C255_P, P0I); in c255_mul() 220 br_i31_sub(a, C255_P, NOT(br_i31_sub(a, C255_P, 0))); in api_mul() 226 br_i31_montymul(x1, a, C255_R2, C255_P, P0I); in api_mul() 228 br_i31_zero(z2, C255_P[0]); in api_mul() 338 br_i31_zero(a, C255_P[0]); in api_mul() 340 br_i31_montymul(x2, a, b, C255_P, P0I); in api_mul()
|