Lines Matching refs:c448_word_t

17 static const c448_word_t MONTGOMERY_FACTOR = (c448_word_t) 0x3bd440fae918bc5ULL;
49 const c448_word_t accum[C448_SCALAR_LIMBS], in sc_subx()
51 const curve448_scalar_t p, c448_word_t extra) in sc_subx()
55 c448_word_t borrow; in sc_subx()
59 out->limb[i] = (c448_word_t)chain; in sc_subx()
62 borrow = (c448_word_t)chain + extra; /* = 0 or -1 */ in sc_subx()
67 out->limb[i] = (c448_word_t)chain; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul()
77 c448_word_t hi_carry = 0; in sc_montmul()
80 c448_word_t mand = a->limb[i]; in sc_montmul()
81 const c448_word_t *mier = b->limb; in sc_montmul()
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
102 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
132 out->limb[i] = (c448_word_t)chain; in ossl_curve448_scalar_add()
135 sc_subx(out, out->limb, sc_p, sc_p, (c448_word_t)chain); in ossl_curve448_scalar_add()
145 c448_word_t out = 0; in scalar_decode_short()
147 for (j = 0; j < sizeof(c448_word_t) && k < nbytes; j++, k++) in scalar_decode_short()
148 out |= ((c448_word_t) ser[k]) << (8 * j); in scalar_decode_short()
220 for (j = 0; j < sizeof(c448_word_t); j++, k++) in ossl_curve448_scalar_encode()
228 c448_word_t mask = 0 - (a->limb[0] & 1); in ossl_curve448_scalar_halve()
234 out->limb[i] = (c448_word_t)chain; in ossl_curve448_scalar_halve()
239 out->limb[i] = out->limb[i] >> 1 | (c448_word_t)(chain << (WBITS - 1)); in ossl_curve448_scalar_halve()