Home
last modified time | relevance | path

Searched refs:ry (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/common/crypto/ecc/
H A Dec2_test.c151 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GF2m() local
162 MP_CHECKOK(mp_init(&ry, kmflag)); in ectest_curve_GF2m()
197 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GF2m()
202 MP_CHECKOK(mp_toradix(&ry, s, 16)); in ectest_curve_GF2m()
205 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m()
207 || (mp_cmp(&ry, &group->geny) != 0)) { in ectest_curve_GF2m()
217 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GF2m()
222 MP_CHECKOK(mp_toradix(&ry, s, 16)); in ectest_curve_GF2m()
225 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); in ectest_curve_GF2m()
227 || (mp_cmp(&ry, &group->geny) != 0)) { in ectest_curve_GF2m()
[all …]
H A Decp_test.c150 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GFp() local
161 MP_CHECKOK(mp_init(&ry, kmflag)); in ectest_curve_GFp()
195 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
200 MP_CHECKOK(mp_toradix(&ry, s, 16)); in ectest_curve_GFp()
203 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp()
205 || (mp_cmp(&ry, &group->geny) != 0)) { in ectest_curve_GFp()
216 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
221 MP_CHECKOK(mp_toradix(&ry, s, 16)); in ectest_curve_GFp()
224 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); in ectest_curve_GFp()
226 || (mp_cmp(&ry, &group->geny) != 0)) { in ectest_curve_GFp()
[all …]
H A Decl_mult.c61 const mp_int *py, mp_int *rx, mp_int *ry) in ECPoint_mul() argument
82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); in ECPoint_mul()
85 point_mul(&kt, &group->genx, &group->geny, rx, ry, in ECPoint_mul()
91 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group)); in ECPoint_mul()
94 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
99 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ECPoint_mul()
115 const mp_int *py, mp_int *rx, mp_int *ry, in ec_pts_mul_basic() argument
128 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic()
130 return ECPoint_mul(group, k1, NULL, NULL, rx, ry); in ec_pts_mul_basic()
[all …]
H A Decp_jac.c67 mp_int *ry, mp_int *rz, const ECGroup *group) in ec_GFp_pt_aff2jac() argument
72 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz)); in ec_GFp_pt_aff2jac()
75 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_aff2jac()
91 mp_int *rx, mp_int *ry, const ECGroup *group) in ec_GFp_pt_jac2aff() argument
105 MP_CHECKOK(ec_GFp_pt_set_inf_aff(rx, ry)); in ec_GFp_pt_jac2aff()
112 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_jac2aff()
118 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); in ec_GFp_pt_jac2aff()
155 mp_int *ry, mp_int *rz, const ECGroup *group) in ec_GFp_pt_add_jac_aff() argument
176 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group)); in ec_GFp_pt_add_jac_aff()
181 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_jac_aff()
[all …]
H A Decp.h62 mp_int *ry, const ECGroup *group);
67 mp_int *ry, const ECGroup *group);
71 mp_int *ry, const ECGroup *group);
81 const mp_int *py, mp_int *rx, mp_int *ry,
88 mp_int *ry, mp_int *rz, const ECGroup *group);
93 const mp_int *pz, mp_int *rx, mp_int *ry,
109 const mp_int *qy, mp_int *rx, mp_int *ry,
114 const mp_int *pz, mp_int *rx, mp_int *ry,
122 const mp_int *py, mp_int *rx, mp_int *ry,
133 const mp_int *py, mp_int *rx, mp_int *ry,
[all …]
H A Dec2.h62 mp_int *ry, const ECGroup *group);
67 mp_int *ry, const ECGroup *group);
71 mp_int *ry, const ECGroup *group);
82 const mp_int *py, mp_int *rx, mp_int *ry,
90 const mp_int *py, mp_int *rx, mp_int *ry,
97 mp_int *ry, mp_int *rz, const ECGroup *group);
102 const mp_int *pz, mp_int *rx, mp_int *ry,
118 const mp_int *qy, mp_int *rx, mp_int *ry,
123 const mp_int *pz, mp_int *rx, mp_int *ry,
130 const mp_int *py, mp_int *rx, mp_int *ry,
H A Decp_jm.c65 const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz, in ec_GFp_pt_dbl_jm() argument
84 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz)); in ec_GFp_pt_dbl_jm()
116 MP_CHECKOK(group->meth->field_mul(S, M, ry, group->meth)); in ec_GFp_pt_dbl_jm()
117 MP_CHECKOK(group->meth->field_sub(ry, t1, ry, group->meth)); in ec_GFp_pt_dbl_jm()
136 const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, in ec_GFp_pt_add_jm_aff() argument
156 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group)); in ec_GFp_pt_add_jm_aff()
165 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_jm_aff()
202 MP_CHECKOK(group->meth->field_sub(C, rx, ry, group->meth)); in ec_GFp_pt_add_jm_aff()
203 MP_CHECKOK(group->meth->field_mul(D, ry, ry, group->meth)); in ec_GFp_pt_add_jm_aff()
204 MP_CHECKOK(group->meth->field_sub(ry, C3, ry, group->meth)); in ec_GFp_pt_add_jm_aff()
[all …]
H A Dec2_aff.c80 const mp_int *qy, mp_int *rx, mp_int *ry, in ec_GF2m_pt_add_aff() argument
95 MP_CHECKOK(mp_copy(qy, ry)); in ec_GF2m_pt_add_aff()
102 MP_CHECKOK(mp_copy(py, ry)); in ec_GF2m_pt_add_aff()
126 mp_zero(ry); in ec_GF2m_pt_add_aff()
147 MP_CHECKOK(group->meth->field_add(&tempy, qy, ry, group->meth)); in ec_GF2m_pt_add_aff()
162 const mp_int *qy, mp_int *rx, mp_int *ry, in ec_GF2m_pt_sub_aff() argument
172 MP_CHECKOK(group->point_add(px, py, qx, &nqy, rx, ry, group)); in ec_GF2m_pt_sub_aff()
182 mp_int *ry, const ECGroup *group) in ec_GF2m_pt_dbl_aff() argument
184 return group->point_add(px, py, px, py, rx, ry, group); in ec_GF2m_pt_dbl_aff()
193 mp_int *rx, mp_int *ry, const ECGroup *group) in ec_GF2m_pt_mul_aff() argument
[all …]
H A Decp_aff.c86 const mp_int *qy, mp_int *rx, mp_int *ry, in ec_GFp_pt_add_aff() argument
103 MP_CHECKOK(mp_copy(qy, ry)); in ec_GFp_pt_add_aff()
110 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_aff()
124 mp_zero(ry); in ec_GFp_pt_add_aff()
156 MP_CHECKOK(mp_copy(&tempy, ry)); in ec_GFp_pt_add_aff()
172 const mp_int *qy, mp_int *rx, mp_int *ry, in ec_GFp_pt_sub_aff() argument
182 res = group->point_add(px, py, qx, &nqy, rx, ry, group); in ec_GFp_pt_sub_aff()
193 mp_int *ry, const ECGroup *group) in ec_GFp_pt_dbl_aff() argument
195 return ec_GFp_pt_add_aff(px, py, px, py, rx, ry, group); in ec_GFp_pt_dbl_aff()
206 mp_int *rx, mp_int *ry, const ECGroup *group) in ec_GFp_pt_mul_aff() argument
[all …]
H A Decl-priv.h184 mp_int *ry, const ECGroup *group);
187 mp_int *ry, const ECGroup *group);
189 mp_int *ry, const ECGroup *group);
191 const mp_int *py, mp_int *rx, mp_int *ry,
193 mp_err (*base_point_mul) (const mp_int *n, mp_int *rx, mp_int *ry,
197 mp_int *ry, const ECGroup *group);
261 mp_int *ry, const ECGroup *group);
264 mp_int *ry, const ECGroup *group);
H A Dec2_mont.c196 mp_int *rx, mp_int *ry, const ECGroup *group) in ec_GF2m_pt_mul_mont() argument
214 MP_CHECKOK(ec_GF2m_pt_set_inf_aff(rx, ry)); in ec_GF2m_pt_mul_mont()
272 MP_CHECKOK(ec_GF2m_pt_set_inf_aff(rx, ry)); in ec_GF2m_pt_mul_mont()
275 MP_CHECKOK(mp_copy(&z2, ry)); in ec_GF2m_pt_mul_mont()
/titanic_50/usr/src/lib/libc/sparc/fp/
H A D_Q_div.c107 double c, d, ry, xx[4], yy[5], zz[5]; in _Qp_div() local
338 ry = one / ((yy[0] + yy[1]) + yy[2]); in _Qp_div()
341 zz[0] = (ry * (xx[0] + xx[1]) + three2p27) - three2p27; in _Qp_div()
356 zz[1] = (ry * (xx[0] + xx[1]) + three2p3) - three2p3; in _Qp_div()
371 zz[2] = (ry * (xx[0] + xx[1]) + three2m21) - three2m21; in _Qp_div()
386 zz[3] = (ry * (xx[0] + xx[1]) + three2m45) - three2m45; in _Qp_div()
401 zz[4] = (ry * (xx[0] + xx[1]) + three2m73) - three2m73; in _Qp_div()
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dcyclic.c615 char ly[WHYLEN], ry[WHYLEN]; in cyccover_comp() local
627 (void) mdb_readstr(ry, WHYLEN, (uintptr_t)rhs->cyv_why); in cyccover_comp()
629 return (strcmp(ly, ry)); in cyccover_comp()
/titanic_50/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/
H A Dusbwcm.c388 int rx, ry, prox; in uwacom_pad_events_intuos() local
437 ry = PACKET_BITS(4, 0, 13); in uwacom_pad_events_intuos()
448 uwacom_event(usbwcmp, EVT_ABS, ABS_RY, ry); in uwacom_pad_events_intuos()
450 prox = b0 | b1 | b2 | b3 | b4 | b5 | b6 | b7 | rx | ry; in uwacom_pad_events_intuos()