Home | History | Annotate | Download | only in ec

Lines Matching full:order

237 	BIGNUM	*priv_key = NULL, *order = NULL;
246 if ((order = BN_new()) == NULL) goto err;
258 if (!EC_GROUP_get_order(eckey->group, order, ctx))
262 if (!BN_rand_range(priv_key, order))
284 if (order)
285 BN_free(order);
299 const BIGNUM *order = NULL;
319 /* testing whether pub_key * order is the point at infinity */
320 order = &eckey->group->order;
321 if (BN_is_zero(order))
326 if (!EC_POINT_mul(eckey->group, point, NULL, eckey->pub_key, order, ctx))
341 if (BN_cmp(eckey->priv_key, order) >= 0)