Lines Matching refs:order
645 if (!BN_nnmod(mod, scalar[i], group->order, ctx)) { in ecp_nistz256_windowed_mul()
810 const BIGNUM *order; in ecp_nistz256_mult_precompute() local
848 order = EC_GROUP_get0_order(group); in ecp_nistz256_mult_precompute()
849 if (order == NULL) in ecp_nistz256_mult_precompute()
852 if (BN_is_zero(order)) { in ecp_nistz256_mult_precompute()
1021 if (!BN_nnmod(tmp_scalar, scalar, group->order, ctx)) { in ecp_nistz256_points_mul()
1315 || !BN_nnmod(tmp, x, group->order, ctx)) { in ecp_nistz256_inv_mod_ord()
1458 *order = NULL; in ecp_nistz256group_full_init() local
1524 if ((order = BN_bin2bn(params + 5 * param_len, param_len, NULL)) == NULL in ecp_nistz256group_full_init()
1540 if (!BN_copy(group->order, order)) in ecp_nistz256group_full_init()
1548 if (!ossl_bn_mont_ctx_set(ordmont, order, 256, params + 7 * param_len, in ecp_nistz256group_full_init()
1566 BN_free(order); in ecp_nistz256group_full_init()