Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ec/
Dec_lib.c103 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_free()
122 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_clear_free()
177 if (src->mont_data != NULL) { in EC_GROUP_copy()
178 if (dest->mont_data == NULL) { in EC_GROUP_copy()
179 dest->mont_data = BN_MONT_CTX_new(); in EC_GROUP_copy()
180 if (dest->mont_data == NULL) in EC_GROUP_copy()
183 if (!BN_MONT_CTX_copy(dest->mont_data, src->mont_data)) in EC_GROUP_copy()
187 BN_MONT_CTX_free(dest->mont_data); in EC_GROUP_copy()
188 dest->mont_data = NULL; in EC_GROUP_copy()
395 BN_MONT_CTX_free(group->mont_data); in EC_GROUP_set_generator()
[all …]
Decdsa_ossl.c240 if (!bn_to_mont_fixed_top(s, ret->r, group->mont_data, ctx) in ossl_ecdsa_sign_sig()
241 || !bn_mul_mont_fixed_top(s, s, priv_key, group->mont_data, ctx)) { in ossl_ecdsa_sign_sig()
253 if (!bn_to_mont_fixed_top(s, s, group->mont_data, ctx) in ossl_ecdsa_sign_sig()
254 || !BN_mod_mul_montgomery(s, s, ckinv, group->mont_data, ctx)) { in ossl_ecdsa_sign_sig()
Dec_local.h254 BN_MONT_CTX *mont_data; member