74 #ifndef OPENSSL_NO_EC2M
108 y_bit = (y_bit != 0) ? 1 : 0;
115 if (z == NULL)
goto err;
125 if (!group->
meth->
field_div(group, tmp, &group->
b, tmp, ctx))
goto err;
166 unsigned char *buf,
size_t len,
BN_CTX *ctx)
172 size_t field_len, i, skip;
223 if (yxi == NULL)
goto err;
230 if (!group->
meth->
field_div(group, yxi, y, x, ctx))
goto err;
237 if (skip > field_len)
249 if (i != 1 + field_len)
258 if (skip > field_len)
298 const unsigned char *buf,
size_t len,
BN_CTX *ctx)
304 size_t field_len, enc_len;
359 if (yxi == NULL)
goto err;
361 if (!
BN_bin2bn(buf + 1, field_len, x))
goto err;
374 if (!
BN_bin2bn(buf + 1 + field_len, field_len, y))
goto err;
382 if (!group->
meth->
field_div(group, yxi, y, x, ctx))
goto err;