Home | History | Annotate | Download | only in ec

Lines Matching refs:order

241 	BIGNUM	*priv_key = NULL, *order = NULL;
255 if ((order = BN_new()) == NULL) goto err;
267 if (!EC_GROUP_get_order(eckey->group, order, ctx))
271 if (!BN_rand_range(priv_key, order))
293 if (order)
294 BN_free(order);
308 const BIGNUM *order = NULL;
334 /* testing whether pub_key * order is the point at infinity */
335 order = &eckey->group->order;
336 if (BN_is_zero(order))
341 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx))
356 if (BN_cmp(eckey->priv_key, order) >= 0)