Home
last modified time | relevance | path

Searched refs:mont_data (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Dec_lib.c132 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_free()
153 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_clear_free()
216 if (src->mont_data != NULL) { in EC_GROUP_copy()
217 if (dest->mont_data == NULL) { in EC_GROUP_copy()
218 dest->mont_data = BN_MONT_CTX_new(); in EC_GROUP_copy()
219 if (dest->mont_data == NULL) in EC_GROUP_copy()
222 if (!BN_MONT_CTX_copy(dest->mont_data, src->mont_data)) in EC_GROUP_copy()
226 BN_MONT_CTX_free(dest->mont_data); in EC_GROUP_copy()
227 dest->mont_data = NULL; in EC_GROUP_copy()
435 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_set_generator()
[all …]
H A Decdsa_ossl.c362 if (!bn_to_mont_fixed_top(s, ret->r, group->mont_data, ctx) in ossl_ecdsa_simple_sign_sig()
363 || !bn_mul_mont_fixed_top(s, s, priv_key, group->mont_data, ctx)) { in ossl_ecdsa_simple_sign_sig()
375 if (!bn_to_mont_fixed_top(s, s, group->mont_data, ctx) in ossl_ecdsa_simple_sign_sig()
376 || !BN_mod_mul_montgomery(s, s, ckinv, group->mont_data, ctx)) { in ossl_ecdsa_simple_sign_sig()
H A Dec_local.h260 BN_MONT_CTX *mont_data; member
H A Decp_nistz256.c1548 group->mont_data = ordmont; in ecp_nistz256group_full_init()
/freebsd/crypto/openssl/test/
H A Dec_internal_test.c510 if (!TEST_true(check_bn_mont_ctx(group->mont_data, group->order, ctx))) { in montgomery_correctness_test()