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

/illumos-gate/usr/src/common/crypto/ecc/
H A Decl-priv.h113 typedef struct GFMethodStr GFMethod; typedef in typeref:struct:GFMethodStr
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 *met
[all...]
H A Decp_mont.c60 /* Construct a generic GFMethod for arithmetic over prime fields with
62 GFMethod *
67 GFMethod *meth = NULL;
113 const GFMethod *meth)
144 ec_GFp_sqr_mont(const mp_int *a, mp_int *r, const GFMethod *meth)
152 const GFMethod *meth)
172 ec_GFp_enc_mont(const mp_int *a, mp_int *r, const GFMethod *meth)
186 ec_GFp_dec_mont(const mp_int *a, mp_int *r, const GFMethod *meth)
198 /* Free the memory allocated to the extra fields of Montgomery GFMethod
201 ec_GFp_extra_free_mont(GFMethod *met
[all...]
H A Decl_gf.c56 /* Allocate memory for a new GFMethod object. */
57 GFMethod *
61 GFMethod *meth;
63 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag);
65 meth = (GFMethod *) malloc(sizeof(GFMethod));
82 /* Construct a generic GFMethod for arithmetic over prime fields with
84 GFMethod *
88 GFMethod *met
[all...]
H A Decp_521.c61 ec_GFp_nistp521_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
118 ec_GFp_nistp521_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
133 const GFMethod *meth)
147 const GFMethod *meth)
H A Decp_192.c61 ec_GFp_nistp192_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
301 const GFMethod *meth)
382 const GFMethod *meth)
460 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
475 const GFMethod *meth)
489 const GFMethod *meth)
H A Dec2_163.c61 ec_GF2m_163_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
133 ec_GF2m_163_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
183 const GFMethod *meth)
H A Dec2_193.c61 ec_GF2m_193_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
141 ec_GF2m_193_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
192 const GFMethod *meth)
H A Dec2_233.c61 ec_GF2m_233_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
157 ec_GF2m_233_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
210 const GFMethod *meth)
H A Decp_384.c59 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
267 ec_GFp_nistp384_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
282 const GFMethod *meth)
H A Decp_224.c61 ec_GFp_nistp224_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
320 ec_GFp_nistp224_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
335 const GFMethod *meth)
349 const GFMethod *meth)
H A Decp_256.c59 ec_GFp_nistp256_mod(const mp_int *a, mp_int *r, const GFMethod *meth)
403 ec_GFp_nistp256_sqr(const mp_int *a, mp_int *r, const GFMethod *meth)
418 const GFMethod *meth)

Completed in 52 milliseconds