Lines Matching defs:out
56 * of bits of out, in is the original scalar, and w is the window size.
61 ec_compute_wNAF(signed char *out, int bitsize, const mp_int *in, int w)
77 out[i] = MP_DIGIT(&k, 0) & mask;
78 if (out[i] >= twowm1)
79 out[i] -= 2 * twowm1;
81 /* Subtract off out[i]. Note mp_sub_d only works with
83 if (out[i] >= 0) {
84 mp_sub_d(&k, out[i], &k);
86 mp_add_d(&k, -(out[i]), &k);
89 out[i] = 0;
94 /* Zero out the remaining elements of the out array. */
96 out[i] = 0;