Home | History | Annotate | Download | only in ec

Lines Matching refs:field_len

206 	size_t field_len, i, skip;
233 field_len = BN_num_bytes(&group->field);
234 ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len;
267 skip = field_len - BN_num_bytes(x);
268 if (skip > field_len)
280 if (i != 1 + field_len)
288 skip = field_len - BN_num_bytes(y);
289 if (skip > field_len)
332 size_t field_len, enc_len;
367 field_len = BN_num_bytes(&group->field);
368 enc_len = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len;
388 if (!BN_bin2bn(buf + 1, field_len, x)) goto err;
401 if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) goto err;