Home | History | Annotate | Download | only in ec

Lines Matching refs:digit

190  * with the exception that the most significant digit may be only
191 * w-1 zeros away from that next non-zero digit.
236 r = OPENSSL_malloc(len + 1); /* modified wNAF may be one digit longer than binary representation
248 int digit = 0;
258 digit = window_val - next_bit; /* -2^w < digit < 0 */
265 * so using a positive digit here will decrease
268 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */
274 digit = window_val; /* 0 < digit < 2^w */
277 if (digit <= -bit || digit >= bit || !(digit & 1))
283 window_val -= digit;
295 r[j++] = sign * digit;
666 int digit = wNAF[i][k];
669 if (digit)
671 is_neg = digit < 0;
674 digit = -digit;
685 /* digit > 0 */
689 if (!EC_POINT_copy(r, val_sub[i][digit >> 1])) goto err;
694 if (!EC_POINT_add(group, r, r, val_sub[i][digit >> 1], ctx)) goto err;