/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec2_test.c | 151 mp_int one, order_1, gx, gy, rx, ry, n; local 162 MP_CHECKOK(mp_init(&ry, kmflag)); 197 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 202 MP_CHECKOK(mp_toradix(&ry, s, 16)); 205 MP_CHECKOK(group->meth->field_add(&ry, &rx, &ry, group->meth)); 207 || (mp_cmp(&ry, &group->geny) != 0)) { 217 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 222 MP_CHECKOK(mp_toradix(&ry, s, 16)); 225 MP_CHECKOK(group->meth->field_add(&ry, [all...] |
H A D | ecl_mult.c | 61 const mp_int *py, mp_int *rx, mp_int *ry) 82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); 85 point_mul(&kt, &group->genx, &group->geny, rx, ry, 91 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); 92 MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group)); 94 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); 99 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); 115 const mp_int *py, mp_int *rx, mp_int *ry, 60 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument 114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 319 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument [all...] |
H A D | ecp_test.c | 150 mp_int one, order_1, gx, gy, rx, ry, n; local 161 MP_CHECKOK(mp_init(&ry, kmflag)); 195 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 200 MP_CHECKOK(mp_toradix(&ry, s, 16)); 203 MP_CHECKOK(group->meth->field_neg(&ry, &ry, group->meth)); 205 || (mp_cmp(&ry, &group->geny) != 0)) { 216 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); 221 MP_CHECKOK(mp_toradix(&ry, s, 16)); 224 MP_CHECKOK(group->meth->field_neg(&ry, [all...] |
H A D | ec2_aff.c | 80 const mp_int *qy, mp_int *rx, mp_int *ry, 95 MP_CHECKOK(mp_copy(qy, ry)); 102 MP_CHECKOK(mp_copy(py, ry)); 126 mp_zero(ry); 141 /* ry = (qx + tempx) * lambda + tempx + qy */ 147 MP_CHECKOK(group->meth->field_add(&tempy, qy, ry, group->meth)); 162 const mp_int *qy, mp_int *rx, mp_int *ry, 172 MP_CHECKOK(group->point_add(px, py, qx, &nqy, rx, ry, group)); 182 mp_int *ry, const ECGroup *group) 184 return group->point_add(px, py, px, py, rx, ry, grou 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 161 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 181 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 196 mp_int *rx, mp_int *ry, const ECGroup *group) 214 MP_CHECKOK(ec_GF2m_pt_set_inf_aff(rx, ry)); 272 MP_CHECKOK(ec_GF2m_pt_set_inf_aff(rx, ry)); 275 MP_CHECKOK(mp_copy(&z2, ry)); 195 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
|
H A D | ecp_aff.c | 86 const mp_int *qy, mp_int *rx, mp_int *ry, 103 MP_CHECKOK(mp_copy(qy, ry)); 110 MP_CHECKOK(mp_copy(py, ry)); 124 mp_zero(ry); 150 /* ry = (x1-x2) * lambda - y1 */ 156 MP_CHECKOK(mp_copy(&tempy, ry)); 172 const mp_int *qy, mp_int *rx, mp_int *ry, 182 res = group->point_add(px, py, qx, &nqy, rx, ry, group); 193 mp_int *ry, const ECGroup *group) 195 return ec_GFp_pt_add_aff(px, py, px, py, rx, ry, grou 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 171 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 192 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 205 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 65 const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz, 84 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz)); 114 /* ry = M * (S - rx) - t1 */ 116 MP_CHECKOK(group->meth->field_mul(S, M, ry, group->meth)); 117 MP_CHECKOK(group->meth->field_sub(ry, t1, ry, group->meth)); 128 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is 136 const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, 156 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group)); 165 MP_CHECKOK(mp_copy(py, ry)); 64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument 224 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
H A D | ecp_jac.c | 62 * projective coordinates R(rx, ry, rz). Assumes input is already 67 mp_int *ry, mp_int *rz, const ECGroup *group) 72 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz)); 75 MP_CHECKOK(mp_copy(py, ry)); 86 * affine coordinates R(rx, ry). P and R can share x and y coordinates. 91 mp_int *rx, mp_int *ry, const ECGroup *group) 105 MP_CHECKOK(ec_GFp_pt_set_inf_aff(rx, ry)); 112 MP_CHECKOK(mp_copy(py, ry)); 118 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); 145 /* Computes R = P + Q where R is (rx, ry, r 66 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 90 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, const ECGroup *group) argument 153 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 242 ec_GFp_pt_dbl_jac(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument 335 ec_GFp_pt_mul_jac(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument 416 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument [all...] |
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | Makefile | |
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_div.c | 107 double c, d, ry, xx[4], yy[5], zz[5]; local 338 ry = one / ((yy[0] + yy[1]) + yy[2]); 341 zz[0] = (ry * (xx[0] + xx[1]) + three2p27) - three2p27; 356 zz[1] = (ry * (xx[0] + xx[1]) + three2p3) - three2p3; 371 zz[2] = (ry * (xx[0] + xx[1]) + three2m21) - three2m21; 386 zz[3] = (ry * (xx[0] + xx[1]) + three2m45) - three2m45; 401 zz[4] = (ry * (xx[0] + xx[1]) + three2m73) - three2m73;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 615 char ly[WHYLEN], ry[WHYLEN]; local 627 (void) mdb_readstr(ry, WHYLEN, (uintptr_t)rhs->cyv_why); 629 return (strcmp(ly, ry));
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/ |
H A D | usbwcm.c | 388 int rx, ry, prox; local 437 ry = PACKET_BITS(4, 0, 13); 448 uwacom_event(usbwcmp, EVT_ABS, ABS_RY, ry); 450 prox = b0 | b1 | b2 | b3 | b4 | b5 | b6 | b7 | rx | ry;
|