Home
last modified time | relevance | path

Searched refs:GFMethod (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/common/crypto/ecc/
H A Decl-priv.h113 typedef struct GFMethodStr GFMethod; typedef
133 const GFMethod *meth);
134 mp_err (*field_neg) (const mp_int *a, mp_int *r, const GFMethod *meth);
136 const GFMethod *meth);
137 mp_err (*field_mod) (const mp_int *a, mp_int *r, const GFMethod *meth);
139 const GFMethod *meth);
140 mp_err (*field_sqr) (const mp_int *a, mp_int *r, const GFMethod *meth);
142 const GFMethod *meth);
143 mp_err (*field_enc) (const mp_int *a, mp_int *r, const GFMethod *meth);
144 mp_err (*field_dec) (const mp_int *a, mp_int *r, const GFMethod *meth);
[all …]
H A Decp_mont.c62 GFMethod *
67 GFMethod *meth = NULL; in GFMethod_consGFp_mont()
113 const GFMethod *meth) in ec_GFp_mul_mont()
144 ec_GFp_sqr_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_sqr_mont()
152 const GFMethod *meth) in ec_GFp_div_mont()
172 ec_GFp_enc_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_enc_mont()
186 ec_GFp_dec_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_dec_mont()
201 ec_GFp_extra_free_mont(GFMethod *meth) in ec_GFp_extra_free_mont()
H A Decl_gf.c57 GFMethod *
61 GFMethod *meth; in GFMethod_new()
63 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag); in GFMethod_new()
65 meth = (GFMethod *) malloc(sizeof(GFMethod)); in GFMethod_new()
84 GFMethod *
88 GFMethod *meth = NULL; in GFMethod_consGFp()
143 GFMethod *
148 GFMethod *meth = NULL; in GFMethod_consGF2m()
197 GFMethod_free(GFMethod *meth) in GFMethod_free()
207 kmem_free(meth, sizeof(GFMethod)); in GFMethod_free()
[all …]
H A Decp_521.c61 ec_GFp_nistp521_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_mod()
118 ec_GFp_nistp521_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_sqr()
133 const GFMethod *meth) in ec_GFp_nistp521_mul()
147 const GFMethod *meth) in ec_GFp_nistp521_div()
H A Decp_192.c61 ec_GFp_nistp192_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_mod()
301 const GFMethod *meth) in ec_GFp_nistp192_add()
382 const GFMethod *meth) in ec_GFp_nistp192_sub()
460 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_sqr()
475 const GFMethod *meth) in ec_GFp_nistp192_mul()
489 const GFMethod *meth) in ec_GFp_nistp192_div()
H A Dec2_163.c61 ec_GF2m_163_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_mod()
133 ec_GF2m_163_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_sqr()
183 const GFMethod *meth) in ec_GF2m_163_mul()
H A Dec2_193.c61 ec_GF2m_193_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_mod()
141 ec_GF2m_193_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_sqr()
192 const GFMethod *meth) in ec_GF2m_193_mul()
H A Decp_224.c61 ec_GFp_nistp224_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_mod()
320 ec_GFp_nistp224_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_sqr()
335 const GFMethod *meth) in ec_GFp_nistp224_mul()
349 const GFMethod *meth) in ec_GFp_nistp224_div()
H A Decp_384.c59 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_mod()
267 ec_GFp_nistp384_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_sqr()
282 const GFMethod *meth) in ec_GFp_nistp384_mul()
H A Dec2_233.c61 ec_GF2m_233_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_mod()
157 ec_GF2m_233_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_sqr()
210 const GFMethod *meth) in ec_GF2m_233_mul()
H A Decp_256.c59 ec_GFp_nistp256_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp256_mod()
403 ec_GFp_nistp256_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp256_sqr()
418 const GFMethod *meth) in ec_GFp_nistp256_mul()