/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec2_mont.c | 68 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); in gf2m_Mdouble() 69 MP_CHECKOK(group->meth->field_sqr(z, &t1, group->meth)); in gf2m_Mdouble() 70 MP_CHECKOK(group->meth->field_mul(x, &t1, z, group->meth)); in gf2m_Mdouble() 71 MP_CHECKOK(group->meth->field_sqr(x, x, group->meth)); in gf2m_Mdouble() 72 MP_CHECKOK(group->meth->field_sqr(&t1, &t1, group->meth)); in gf2m_Mdouble() 73 MP_CHECKOK(group->meth-> in gf2m_Mdouble() 74 field_mul(&group->curveb, &t1, &t1, group->meth)); in gf2m_Mdouble() 75 MP_CHECKOK(group->meth->field_add(x, &t1, x, group->meth)); in gf2m_Mdouble() 99 MP_CHECKOK(group->meth->field_mul(x1, z2, x1, group->meth)); in gf2m_Madd() 100 MP_CHECKOK(group->meth->field_mul(z1, x2, z1, group->meth)); in gf2m_Madd() [all …]
|
H A D | ecp_jm.c | 87 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); in ec_GFp_pt_dbl_jm() 88 MP_CHECKOK(group->meth->field_add(t0, t0, M, group->meth)); in ec_GFp_pt_dbl_jm() 89 MP_CHECKOK(group->meth->field_add(t0, M, t0, group->meth)); in ec_GFp_pt_dbl_jm() 90 MP_CHECKOK(group->meth->field_add(t0, paz4, M, group->meth)); in ec_GFp_pt_dbl_jm() 93 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth)); in ec_GFp_pt_dbl_jm() 94 MP_CHECKOK(group->meth->field_add(S, S, rz, group->meth)); in ec_GFp_pt_dbl_jm() 97 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth)); in ec_GFp_pt_dbl_jm() 98 MP_CHECKOK(group->meth->field_add(t0, t0, t0, group->meth)); in ec_GFp_pt_dbl_jm() 99 MP_CHECKOK(group->meth->field_sqr(t0, t1, group->meth)); in ec_GFp_pt_dbl_jm() 100 MP_CHECKOK(group->meth->field_add(t1, t1, t1, group->meth)); in ec_GFp_pt_dbl_jm() [all …]
|
H A D | ecp_jac.c | 75 if (group->meth->field_enc) { in ec_GFp_pt_aff2jac() 76 MP_CHECKOK(group->meth->field_enc(rz, rz, group->meth)); in ec_GFp_pt_aff2jac() 112 MP_CHECKOK(group->meth->field_div(NULL, pz, &z1, group->meth)); in ec_GFp_pt_jac2aff() 113 MP_CHECKOK(group->meth->field_sqr(&z1, &z2, group->meth)); in ec_GFp_pt_jac2aff() 114 MP_CHECKOK(group->meth->field_mul(&z1, &z2, &z3, group->meth)); in ec_GFp_pt_jac2aff() 115 MP_CHECKOK(group->meth->field_mul(px, &z2, rx, group->meth)); in ec_GFp_pt_jac2aff() 116 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); in ec_GFp_pt_jac2aff() 185 MP_CHECKOK(group->meth->field_sqr(pz, &A, group->meth)); in ec_GFp_pt_add_jac_aff() 186 MP_CHECKOK(group->meth->field_mul(&A, pz, &B, group->meth)); in ec_GFp_pt_add_jac_aff() 187 MP_CHECKOK(group->meth->field_mul(&A, qx, &A, group->meth)); in ec_GFp_pt_add_jac_aff() [all …]
|
H A D | ecl_gf.c | 59 GFMethod *meth; in GFMethod_new() local 61 meth = (GFMethod *) kmem_alloc(sizeof(GFMethod), kmflag); in GFMethod_new() 63 meth = (GFMethod *) malloc(sizeof(GFMethod)); in GFMethod_new() 64 if (meth == NULL) in GFMethod_new() 67 meth->constructed = MP_YES; in GFMethod_new() 68 MP_DIGITS(&meth->irr) = 0; in GFMethod_new() 69 meth->extra_free = NULL; in GFMethod_new() 70 MP_CHECKOK(mp_init(&meth->irr, kmflag)); in GFMethod_new() 74 GFMethod_free(meth); in GFMethod_new() 77 return meth; in GFMethod_new() [all …]
|
H A D | ecp_mont.c | 65 GFMethod *meth = NULL; in GFMethod_consGFp_mont() local 68 meth = GFMethod_consGFp(irr); in GFMethod_consGFp_mont() 69 if (meth == NULL) in GFMethod_consGFp_mont() 83 meth->field_mul = &ec_GFp_mul_mont; in GFMethod_consGFp_mont() 84 meth->field_sqr = &ec_GFp_sqr_mont; in GFMethod_consGFp_mont() 85 meth->field_div = &ec_GFp_div_mont; in GFMethod_consGFp_mont() 86 meth->field_enc = &ec_GFp_enc_mont; in GFMethod_consGFp_mont() 87 meth->field_dec = &ec_GFp_dec_mont; in GFMethod_consGFp_mont() 88 meth->extra1 = mmm; in GFMethod_consGFp_mont() 89 meth->extra2 = NULL; in GFMethod_consGFp_mont() [all …]
|
H A D | ec2_aff.c | 107 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); in ec_GF2m_pt_add_aff() 108 MP_CHECKOK(group->meth->field_add(px, qx, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 109 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 110 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GF2m_pt_add_aff() 111 MP_CHECKOK(group->meth->field_sqr(&lambda, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 112 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 113 field_add(&tempx, &lambda, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 114 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() 115 field_add(&tempx, &group->curvea, &tempx, group->meth)); in ec_GF2m_pt_add_aff() 116 MP_CHECKOK(group->meth-> in ec_GF2m_pt_add_aff() [all …]
|
H A D | ecp_aff.c | 114 MP_CHECKOK(group->meth->field_sub(py, qy, &tempy, group->meth)); in ec_GFp_pt_add_aff() 115 MP_CHECKOK(group->meth->field_sub(px, qx, &tempx, group->meth)); in ec_GFp_pt_add_aff() 116 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() 117 field_div(&tempy, &tempx, &lambda, group->meth)); in ec_GFp_pt_add_aff() 127 MP_CHECKOK(group->meth->field_sqr(qx, &tempx, group->meth)); in ec_GFp_pt_add_aff() 129 if (group->meth->field_enc) { in ec_GFp_pt_add_aff() 130 MP_CHECKOK(group->meth->field_enc(&temp, &temp, group->meth)); in ec_GFp_pt_add_aff() 132 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() 133 field_mul(&tempx, &temp, &tempx, group->meth)); in ec_GFp_pt_add_aff() 134 MP_CHECKOK(group->meth-> in ec_GFp_pt_add_aff() [all …]
|
H A D | ecl-priv.h | 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); 147 void (*extra_free) (GFMethod *meth); [all …]
|
H A D | ecl_mult.c | 87 if (group->meth->field_enc) { in ECPoint_mul() 88 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); in ECPoint_mul() 89 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); in ECPoint_mul() 95 if (group->meth->field_dec) { in ECPoint_mul() 96 MP_CHECKOK(group->meth->field_dec(rx, rx, group->meth)); in ECPoint_mul() 97 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ECPoint_mul() 139 if (group->meth->field_enc) { in ec_pts_mul_basic() 140 MP_CHECKOK(group->meth->field_enc(&sx, &sx, group->meth)); in ec_pts_mul_basic() 141 MP_CHECKOK(group->meth->field_enc(&sy, &sy, group->meth)); in ec_pts_mul_basic() 142 MP_CHECKOK(group->meth->field_enc(rx, rx, group->meth)); in ec_pts_mul_basic() [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() argument 82 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 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() argument 121 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_sqr() 131 const GFMethod *meth) in ec_GFp_nistp521_mul() argument 136 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_mul() 145 const GFMethod *meth) in ec_GFp_nistp521_div() argument 152 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp521_div() 157 MP_CHECKOK(mp_invmod(b, &meth->irr, &t)); in ec_GFp_nistp521_div() 159 MP_CHECKOK(ec_GFp_nistp521_mod(r, r, meth)); in ec_GFp_nistp521_div() [all …]
|
H A D | ecp_test.c | 166 if (group->meth->field_dec) { in ectest_curve_GFp() 167 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GFp() 168 MP_CHECKOK(group->meth->field_dec(&group->geny, &gy, group->meth)); in ectest_curve_GFp() 180 if (group->meth->field_enc) { in ectest_curve_GFp() 201 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp() 222 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp() 241 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 258 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 345 MP_CHECKOK(mp_submod(&group->meth->irr, &ry, &group->meth->irr, &ry)); in ectest_curve_GFp() 367 size = mpl_significant_bits(&group->meth->irr); in ectest_curve_GFp() [all …]
|
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() argument 86 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp192_mod() 306 const GFMethod *meth) in ec_GFp_nistp192_add() argument 391 const GFMethod *meth) in ec_GFp_nistp192_sub() argument 473 ec_GFp_nistp192_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GFp_nistp192_sqr() argument 478 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_sqr() 488 const GFMethod *meth) in ec_GFp_nistp192_mul() argument 493 MP_CHECKOK(ec_GFp_nistp192_mod(r, r, meth)); in ec_GFp_nistp192_mul() 502 const GFMethod *meth) in ec_GFp_nistp192_div() argument 509 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp192_div() [all …]
|
H A D | ec2_test.c | 167 if (group->meth->field_dec) { in ectest_curve_GF2m() 168 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GF2m() 169 MP_CHECKOK(group->meth->field_dec(&group->geny, &gy, group->meth)); in ectest_curve_GF2m() 182 if (group->meth->field_enc) { in ectest_curve_GF2m() 203 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 223 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 243 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 262 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 279 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() 383 MP_CHECKOK(ec_GF2m_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m() [all …]
|
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() argument 131 ec_GF2m_163_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_163_sqr() argument 140 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_163_sqr() 148 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_163_sqr() 171 return ec_GF2m_163_mod(r, r, meth); in ec_GF2m_163_sqr() 181 const GFMethod *meth) in ec_GF2m_163_mul() argument 192 return ec_GF2m_163_sqr(a, r, meth); in ec_GF2m_163_mul() 262 return ec_GF2m_163_mod(r, r, meth); in ec_GF2m_163_mul() 273 group->meth->field_mod = &ec_GF2m_163_mod; in ec_group_set_gf2m163() 274 group->meth->field_mul = &ec_GF2m_163_mul; in ec_group_set_gf2m163() [all …]
|
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() argument 88 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod() 183 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r)); in ec_GFp_nistp384_mod() 190 MP_CHECKOK(mp_mod(a, &meth->irr, r)); in ec_GFp_nistp384_mod() 252 MP_CHECKOK(mp_submod(r, &m[9], &meth->irr, r)); 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() argument 270 MP_CHECKOK(ec_GFp_nistp384_mod(r, r, meth)); in ec_GFp_nistp384_sqr() 280 const GFMethod *meth) in ec_GFp_nistp384_mul() argument 285 MP_CHECKOK(ec_GFp_nistp384_mod(r, r, meth)); in ec_GFp_nistp384_mul() 296 group->meth->field_mod = &ec_GFp_nistp384_mod; in ec_group_set_gfp384() [all …]
|
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() argument 139 ec_GF2m_193_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_193_sqr() argument 148 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_193_sqr() 156 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_193_sqr() 180 return ec_GF2m_193_mod(r, r, meth); in ec_GF2m_193_sqr() 190 const GFMethod *meth) in ec_GF2m_193_mul() argument 201 return ec_GF2m_193_sqr(a, r, meth); in ec_GF2m_193_mul() 281 return ec_GF2m_193_mod(r, r, meth); in ec_GF2m_193_mul() 292 group->meth->field_mod = &ec_GF2m_193_mod; in ec_group_set_gf2m193() 293 group->meth->field_mul = &ec_GF2m_193_mul; in ec_group_set_gf2m193() [all …]
|
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() argument 155 ec_GF2m_233_sqr(const mp_int *a, mp_int *r, const GFMethod *meth) in ec_GF2m_233_sqr() argument 164 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_233_sqr() 172 return mp_bsqrmod(a, meth->irr_arr, r); in ec_GF2m_233_sqr() 198 return ec_GF2m_233_mod(r, r, meth); in ec_GF2m_233_sqr() 208 const GFMethod *meth) in ec_GF2m_233_mul() argument 220 return ec_GF2m_233_sqr(a, r, meth); in ec_GF2m_233_mul() 306 return ec_GF2m_233_mod(r, r, meth); in ec_GF2m_233_mul() 317 group->meth->field_mod = &ec_GF2m_233_mod; in ec_group_set_gf2m233() 318 group->meth->field_mul = &ec_GF2m_233_mul; in ec_group_set_gf2m233() [all …]
|
H A D | ecl.c | 70 group->meth = NULL; in ECGroup_new() 110 group->meth = GFMethod_consGFp(irr); in ECGroup_consGFp() 111 if (group->meth == NULL) { in ECGroup_consGFp() 151 group->meth = GFMethod_consGFp_mont(irr); in ECGroup_consGFp_mont() 152 if (group->meth == NULL) { in ECGroup_consGFp_mont() 156 MP_CHECKOK(group->meth-> in ECGroup_consGFp_mont() 157 field_enc(curvea, &group->curvea, group->meth)); in ECGroup_consGFp_mont() 158 MP_CHECKOK(group->meth-> in ECGroup_consGFp_mont() 159 field_enc(curveb, &group->curveb, group->meth)); in ECGroup_consGFp_mont() 160 MP_CHECKOK(group->meth->field_enc(genx, &group->genx, group->meth)); in ECGroup_consGFp_mont() [all …]
|
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() argument 84 MP_CHECKOK(mp_mod(a, &meth->irr, r)); 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() argument 332 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_sqr() 342 const GFMethod *meth) in ec_GFp_nistp224_mul() argument 347 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_mul() 356 const GFMethod *meth) in ec_GFp_nistp224_div() argument 363 return mp_invmod(b, &meth->irr, r); in ec_GFp_nistp224_div() 368 MP_CHECKOK(mp_invmod(b, &meth->irr, &t)); in ec_GFp_nistp224_div() 370 MP_CHECKOK(ec_GFp_nistp224_mod(r, r, meth)); in ec_GFp_nistp224_div() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/ |
H A D | dtmethod.c | 30 Dtmethod_t* dtmethod(Dt_t* dt, Dtmethod_t* meth) in dtmethod() argument 32 Dtmethod_t* dtmethod(dt, meth) in dtmethod() 34 Dtmethod_t* meth; 39 Dtmethod_t *oldmt = dt->meth; 42 if(!meth || meth == oldmt) 46 if(disc->eventf && (*disc->eventf)(dt,DT_METH,(Void_t*)meth,disc) < 0) 53 dt->searchf = meth->searchf; 54 dt->meth = meth; 56 if((*dt->meth->eventf)(dt, DT_OPEN, NIL(Void_t*)) < 0 ) 61 if(dt->searchf == meth->searchf) [all …]
|
H A D | dtopen.c | 33 if (type == DT_DELETE && (dt->meth->type&(DT_OBAG|DT_BAG))) in _dttype2005() 39 Dt_t* _dtopen(Dtdisc_t* disc, Dtmethod_t* meth, unsigned long version) in _dtopen() argument 41 Dt_t* _dtopen(disc, meth, version) in _dtopen() 43 Dtmethod_t* meth; 51 if(!disc || !meth) 56 type = meth->type; 59 pdt.searchf = meth->searchf; 60 pdt.meth = meth; 68 { if((data->type & DT_METHODS) != meth->type) 82 if((*meth->eventf)(&pdt, DT_OPEN, NIL(Void_t*)) < 0 || !pdt.data ) [all …]
|
H A D | dtview.c | 48 return (*(dt->meth->searchf))(dt,obj,type); 54 ((type & (DT_FIRST|DT_LAST|DT_ATLEAST|DT_ATMOST)) && !(dt->meth->type&DT_ORDERED) ) ) 56 if((o = (*(d->meth->searchf))(d,obj,type)) ) 62 if(dt->meth->type & DT_ORDERED) /* ordered sets/bags */ 69 { if(!(o = (*d->meth->searchf)(d, obj, type)) ) 97 if((o = (*(d->meth->searchf))(d, obj, DT_SEARCH)) ) 104 for(d = dt->walk, obj = (*d->meth->searchf)(d, obj, type);; ) 109 if((*(p->meth->searchf))(p, obj, DT_SEARCH) ) 112 obj = (*d->meth->searchf)(d, obj, type); 118 obj = (*(d->meth->searchf))(d,NIL(Void_t*),DT_FIRST); [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/ |
H A D | compat.c | 364 RSA_meth_dup(const RSA_METHOD *meth) in RSA_meth_dup() argument 371 (void) memcpy(ret, meth, sizeof (*meth)); in RSA_meth_dup() 372 ret->name = OPENSSL_strdup(meth->name); in RSA_meth_dup() 383 RSA_meth_set1_name(RSA_METHOD *meth, const char *name) in RSA_meth_set1_name() argument 392 OPENSSL_free((char *)meth->name); in RSA_meth_set1_name() 393 meth->name = tmpname; in RSA_meth_set1_name() 399 RSA_meth_set_priv_enc(RSA_METHOD *meth, in RSA_meth_set_priv_enc() argument 403 meth->rsa_priv_enc = priv_enc; in RSA_meth_set_priv_enc() 408 RSA_meth_set_priv_dec(RSA_METHOD *meth, in RSA_meth_set_priv_dec() argument 412 meth->rsa_priv_dec = priv_dec; in RSA_meth_set_priv_dec() [all …]
|
H A D | compat.h | 59 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); 60 int RSA_meth_set1_name(RSA_METHOD *meth, const char *name); 61 #define RSA_meth_get_finish(meth) meth->finish argument 62 int RSA_meth_set_priv_enc(RSA_METHOD *meth, 65 int RSA_meth_set_priv_dec(RSA_METHOD *meth, 68 int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish) (RSA *rsa)); 69 void RSA_meth_free(RSA_METHOD *meth);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso.c | 112 Asometh_t* meth; 191 Asometh_t* meth; 196 if (!(meth = (Asometh_t*)data)) 199 if (meth == method[i]) 214 return state.meth; 233 if (state.meth && state.meth->initf && state.data && state.pid == getpid()) 236 state.meth->initf(state.data, 0); 246 asoinit(const char* details, Asometh_t* meth, Asodisc_t* disc) 258 if (!meth) 260 if (!meth->lockf && !(meth->type & ASO_INTRINSIC)) [all …]
|