Lines Matching refs:MASK51
279 static const uint64_t MASK51 = 0x7ffffffffffff; variable
318 h1 |= h0 >> 51; h0 &= MASK51; in fe51_frombytes()
319 h2 |= h1 >> 51; h1 &= MASK51; in fe51_frombytes()
320 h3 |= h2 >> 51; h2 &= MASK51; in fe51_frombytes()
321 h4 |= h3 >> 51; h3 &= MASK51; in fe51_frombytes()
348 h1 += h0 >> 51; h0 &= MASK51; in fe51_tobytes()
349 h2 += h1 >> 51; h1 &= MASK51; in fe51_tobytes()
350 h3 += h2 >> 51; h2 &= MASK51; in fe51_tobytes()
351 h4 += h3 >> 51; h3 &= MASK51; in fe51_tobytes()
352 h4 &= MASK51; in fe51_tobytes()
441 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_mul()
442 h1 += (uint64_t)(h0 >> 51); g0 = (uint64_t)h0 & MASK51; in fe51_mul()
444 h4 += (uint64_t)(h3 >> 51); g3 = (uint64_t)h3 & MASK51; in fe51_mul()
445 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_mul()
447 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_mul()
448 g3 += g2 >> 51; g2 &= MASK51; in fe51_mul()
449 g1 += g0 >> 51; g0 &= MASK51; in fe51_mul()
494 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_sq()
495 h1 += (uint64_t)(h0 >> 51); g0 = (uint64_t)h0 & MASK51; in fe51_sq()
497 h4 += (uint64_t)(h3 >> 51); g3 = (uint64_t)h3 & MASK51; in fe51_sq()
498 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_sq()
500 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_sq()
501 g3 += g2 >> 51; g2 &= MASK51; in fe51_sq()
502 g1 += g0 >> 51; g0 &= MASK51; in fe51_sq()
521 h3 += (uint64_t)(h2 >> 51); g2 = (uint64_t)h2 & MASK51; in fe51_mul121666()
522 h1 += (uint64_t)(h0 >> 51); g0 = (uint64_t)h0 & MASK51; in fe51_mul121666()
524 h4 += (uint64_t)(h3 >> 51); g3 = (uint64_t)h3 & MASK51; in fe51_mul121666()
525 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_mul121666()
527 g0 += (uint64_t)(h4 >> 51) * 19; g4 = (uint64_t)h4 & MASK51; in fe51_mul121666()
528 g3 += g2 >> 51; g2 &= MASK51; in fe51_mul121666()
529 g1 += g0 >> 51; g0 &= MASK51; in fe51_mul121666()