Searched refs:GFMethod (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecl-priv.h | 111 typedef struct GFMethodStr GFMethod; typedef 131 const GFMethod *meth); 132 mp_err (*field_neg) (const mp_int *a, mp_int *r, const GFMethod *meth); 134 const GFMethod *meth); 135 mp_err (*field_mod) (const mp_int *a, mp_int *r, const GFMethod *meth); 137 const GFMethod *meth); 138 mp_err (*field_sqr) (const mp_int *a, mp_int *r, const GFMethod *meth); 140 const GFMethod *meth); 141 mp_err (*field_enc) (const mp_int *a, mp_int *r, const GFMethod *meth); 142 mp_err (*field_dec) (const mp_int *a, mp_int *r, const GFMethod *meth); [all …]
|
H A D | ecp_mont.c | 60 GFMethod * 65 GFMethod *meth = NULL; in GFMethod_consGFp_mont() 111 const GFMethod *meth) in ec_GFp_mul_mont() 142 ec_GFp_sqr_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_sqr_mont() 150 const GFMethod *meth) in ec_GFp_div_mont() 170 ec_GFp_enc_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_enc_mont() 184 ec_GFp_dec_mont(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_dec_mont() 199 ec_GFp_extra_free_mont(GFMethod *meth) in ec_GFp_extra_free_mont()
|
H A D | ecl_gf.c | 55 GFMethod * 59 GFMethod *meth; in GFMethod_new() 61 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag); in GFMethod_new() 63 meth = (GFMethod *) malloc(sizeof(GFMethod)); in GFMethod_new() 82 GFMethod * 86 GFMethod *meth = NULL; in GFMethod_consGFp() 141 GFMethod * 146 GFMethod *meth = NULL; in GFMethod_consGF2m() 195 GFMethod_free(GFMethod *meth) in GFMethod_free() 205 kmem_free(meth, sizeof(GFMethod)); in GFMethod_free() [all …]
|
H A D | ecp_521.c | 59 ec_GFp_nistp521_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_mod() 116 ec_GFp_nistp521_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp521_sqr() 131 const GFMethod *meth) in ec_GFp_nistp521_mul() 145 const GFMethod *meth) in ec_GFp_nistp521_div()
|
H A D | ecp_192.c | 59 ec_GFp_nistp192_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_mod() 306 const GFMethod *meth) in ec_GFp_nistp192_add() 391 const GFMethod *meth) in ec_GFp_nistp192_sub() 473 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_sqr() 488 const GFMethod *meth) in ec_GFp_nistp192_mul() 502 const GFMethod *meth) in ec_GFp_nistp192_div()
|
H A D | ec2_163.c | 59 ec_GF2m_163_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_mod() 131 ec_GF2m_163_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_sqr() 181 const GFMethod *meth) in ec_GF2m_163_mul()
|
H A D | ec2_193.c | 59 ec_GF2m_193_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_mod() 139 ec_GF2m_193_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_sqr() 190 const GFMethod *meth) in ec_GF2m_193_mul()
|
H A D | ecp_224.c | 59 ec_GFp_nistp224_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_mod() 327 ec_GFp_nistp224_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp224_sqr() 342 const GFMethod *meth) in ec_GFp_nistp224_mul() 356 const GFMethod *meth) in ec_GFp_nistp224_div()
|
H A D | ec2_233.c | 59 ec_GF2m_233_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_mod() 155 ec_GF2m_233_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_sqr() 208 const GFMethod *meth) in ec_GF2m_233_mul()
|
H A D | ecp_384.c | 57 ec_GFp_nistp384_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_mod() 265 ec_GFp_nistp384_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp384_sqr() 280 const GFMethod *meth) in ec_GFp_nistp384_mul()
|
H A D | ecp_256.c | 57 ec_GFp_nistp256_mod(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp256_mod() 411 ec_GFp_nistp256_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp256_sqr() 426 const GFMethod *meth) in ec_GFp_nistp256_mul()
|