Lines Matching refs:j
75 unsigned int i, j; in sc_montmul() local
84 for (j = 0; j < C448_SCALAR_LIMBS; j++) { in sc_montmul()
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
94 for (j = 0; j < C448_SCALAR_LIMBS; j++) { in sc_montmul()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
96 if (j) in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
102 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
142 size_t i, j, k = 0; in scalar_decode_short() local
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()
217 unsigned int i, j, k = 0; in ossl_curve448_scalar_encode() local
220 for (j = 0; j < sizeof(c448_word_t); j++, k++) in ossl_curve448_scalar_encode()
221 ser[k] = s->limb[i] >> (8 * j); in ossl_curve448_scalar_encode()