Lines Matching defs:order
234 BIGNUM *priv_key = NULL, *order = NULL;
247 if ((order = BN_new()) == NULL)
259 if (!EC_GROUP_get_order(eckey->group, order, ctx))
263 if (!BN_rand_range(priv_key, order))
283 if (order)
284 BN_free(order);
298 const BIGNUM *order = NULL;
321 /* testing whether pub_key * order is the point at infinity */
322 order = &eckey->group->order;
323 if (BN_is_zero(order)) {
327 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx)) {
340 if (BN_cmp(eckey->priv_key, order) >= 0) {