Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/crypto/ecc/
H A Decp_mont.c90 meth->extra1 = mmm; in GFMethod_consGFp_mont()
122 MP_CHECKOK(s_mp_redc(r, (mp_mont_modulus *) meth->extra1)); in ec_GFp_mul_mont()
131 (a, b, &s, (mp_mont_modulus *) meth->extra1)); in ec_GFp_mul_mont()
135 return s_mp_mul_mont(a, b, r, (mp_mont_modulus *) meth->extra1); in ec_GFp_mul_mont()
177 mmm = (mp_mont_modulus *) meth->extra1; in ec_GFp_enc_mont()
193 MP_CHECKOK(s_mp_redc(r, (mp_mont_modulus *) meth->extra1)); in ec_GFp_dec_mont()
203 if (meth->extra1 != NULL) { in ec_GFp_extra_free_mont()
205 kmem_free(meth->extra1, sizeof(mp_mont_modulus)); in ec_GFp_extra_free_mont()
207 free(meth->extra1); in ec_GFp_extra_free_mont()
209 meth->extra1 = NULL; in ec_GFp_extra_free_mont()
H A Decl-priv.h147 void *extra1; member
201 void *extra1; member
H A Decl.c82 group->extra1 = NULL; in ECGroup_new()
H A Decl_gf.c127 meth->extra1 = NULL; in GFMethod_consGFp()
183 meth->extra1 = NULL; in GFMethod_consGF2m()