Home
last modified time | relevance | path

Searched refs:order_mont (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Dscalar.c65 bn_to_montgomery_small(r->words, a->words, order->width, group->order_mont); in ec_scalar_to_montgomery()
71 bn_from_montgomery_small(r->words, a->words, order->width, group->order_mont); in ec_scalar_from_montgomery()
78 group->order_mont); in ec_scalar_mul_montgomery()
85 group->order_mont); in ec_simple_scalar_inv_montgomery()
Dec.c390 BN_MONT_CTX_free(group->order_mont); in EC_GROUP_set_generator()
391 group->order_mont = BN_MONT_CTX_new_for_modulus(&group->order, NULL); in EC_GROUP_set_generator()
392 if (group->order_mont == NULL) { in EC_GROUP_set_generator()
472 group->order_mont = BN_MONT_CTX_new_for_modulus(&group->order, ctx); in ec_group_new_from_data()
473 if (group->order_mont == NULL) { in ec_group_new_from_data()
566 BN_MONT_CTX_free(group->order_mont); in EC_GROUP_free()
Dinternal.h206 BN_MONT_CTX *order_mont; // data for ECDSA inverse member
/external/boringssl/src/crypto/ec_extra/
Dec_derive.c78 !BN_from_montgomery(priv, priv, group->order_mont, ctx) || in EC_KEY_derive_from_secret()
81 !BN_to_montgomery(priv, priv, group->order_mont, ctx) || in EC_KEY_derive_from_secret()