Home
last modified time | relevance | path

Searched refs:kPrime (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/ec/
H A Decp_nistp521.c851 static const felem kPrime = { variable
914 is_p = ftmp[0] ^ kPrime[0]; in felem_is_zero()
979 is_p = out[0] ^ kPrime[0]; in felem_contract()
980 is_p |= out[1] ^ kPrime[1]; in felem_contract()
981 is_p |= out[2] ^ kPrime[2]; in felem_contract()
982 is_p |= out[3] ^ kPrime[3]; in felem_contract()
983 is_p |= out[4] ^ kPrime[4]; in felem_contract()
984 is_p |= out[5] ^ kPrime[5]; in felem_contract()
985 is_p |= out[6] ^ kPrime[6]; in felem_contract()
986 is_p |= out[7] ^ kPrime[7]; in felem_contract()
[all …]
H A Decp_nistp256.c121 static const u64 kPrime[4] = { variable
451 tmp[0] -= mask & kPrime[0]; in felem_shrink()
452 tmp[1] -= mask & kPrime[1]; in felem_shrink()
454 tmp[3] -= mask & kPrime[3]; in felem_shrink()
875 equal = kPrime[i] ^ out[i]; in felem_contract()
895 subtract_u64(&out[0], &carry, result & kPrime[0]); in felem_contract()
900 subtract_u64(&out[1], &carry, result & kPrime[1]); in felem_contract()
904 subtract_u64(&out[2], &carry, result & kPrime[2]); in felem_contract()
952 is_p = (small[0] ^ kPrime[0]) | in smallfelem_is_zero()
953 (small[1] ^ kPrime[1]) | in smallfelem_is_zero()
[all …]

Completed in 14 milliseconds