/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wsyncdn.c | 49 int y, py; local 56 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { 57 if (0 <= p->_last[py]) { 58 w->_first[y] = p->_first[py] - w->_begx; 59 w->_last[y] = p->_last[py] - w->_begx;
|
H A D | wsyncup.c | 63 int y, py; local 72 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { 74 p->_first[py] = w->_begx + w->_first[y]; 75 p->_last[py] = w->_begx + w->_last[y]; 86 int y, py; local
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wsyncdn.c | 52 int y, py; local 59 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { 60 if (0 <= p->_last[py]) { 61 w->_first[y] = p->_first[py] - w->_begx; 62 w->_last[y] = p->_last[py] - w->_begx;
|
H A D | wsyncup.c | 62 int y, py; local 67 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { 69 p->_first[py] = w->_begx + w->_first[y]; 70 p->_last[py] = w->_begx + w->_last[y];
|
H A D | mvwin.c | 94 mvderwin(WINDOW *w, int py, int px) argument 105 py += parent->_begy; 108 code = mvwin(w, py, px);
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | wsyncdown.c | 53 int wy, px, py, endy; local 56 py = win->_pary; 66 pbch = par->_firstch + py; 67 pech = par->_lastch + py; 87 py += par->_pary;
|
H A D | wsyncup.c | 53 int wy, px, py, endy; local 57 py = win->_pary; 63 pbch = par->_firstch+ py; 64 pech = par->_lastch+ py;
|
/osnet-11/usr/src/common/crypto/ecc/ |
H A D | ecl.c | 423 mp_int *py) 433 return group->validate_point(px, py, group); 422 ECPoint_validate(const ECGroup *group, const mp_int *px, const mp_int *py) argument
|
H A D | ecl_mult.c | 59 const mp_int *py, mp_int *rx, mp_int *ry) 79 if ((px == NULL) || (py == NULL)) { 90 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); 93 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); 114 const mp_int *py, mp_int *rx, mp_int *ry, 123 || (py == NULL))), MP_BADARG); 127 return ECPoint_mul(group, k2, px, py, rx, ry); 128 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { 138 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); 169 const mp_int *py, mp_in 58 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument 113 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 168 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 318 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 | ec2_aff.c | 54 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 56 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 59 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 67 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 69 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) argument 72 mp_zero(py); 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 93 if (ec_GF2m_pt_is_inf_aff(px, py) == 0) { 102 MP_CHECKOK(mp_copy(py, ry)); 106 /* if px != qx, then lambda = (py 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 285 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ec2_mont.c | 195 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, argument 213 if ((mp_cmp_z(n) == 0) || (ec_GF2m_pt_is_inf_aff(px, py) == MP_YES)) { 267 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
|
H A D | ecp_aff.c | 58 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 60 ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument 63 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { 71 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 73 ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py) argument 76 mp_zero(py); 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 101 if (ec_GFp_pt_is_inf_aff(px, py) == 0) { 110 MP_CHECKOK(mp_copy(py, ry)); 114 /* if px != qx, then lambda = (py 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 298 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument [all...] |
H A D | ecp_jm.c | 64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, argument 81 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { 94 /* rz = 2 * py * pz */ 95 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth)); 99 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth)); 104 /* S = 4 * px * py^2 = 2 * px * t0 */ 128 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is 134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument 155 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { 165 MP_CHECKOK(mp_copy(py, r 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 | 61 /* Converts a point P(px, py) from affine coordinates to Jacobian 66 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, argument 71 if (ec_GFp_pt_is_inf_aff(px, py) == MP_YES) { 75 MP_CHECKOK(mp_copy(py, ry)); 85 /* Converts a point P(px, py, pz) from Jacobian projective coordinates to 90 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument 104 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) { 109 /* transform (px, py, pz) into (px / pz^2, py / pz^3) */ 112 MP_CHECKOK(mp_copy(py, r 131 ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py, const mp_int *pz) argument 139 ec_GFp_pt_set_inf_jac(mp_int *px, mp_int *py, mp_int *pz) 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...] |
/osnet-11/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 159 unsigned short *py, unsigned short *product) 169 p = px[i] * py[n - 1 - i] + acc; 192 unsigned short *py, unsigned short *product) 202 acc = px[i] * py[n - 1 - i] + acc; 158 __multiply_base_two_vector(unsigned short n, unsigned short *px, unsigned short *py, unsigned short *product) argument 191 __multiply_base_ten_vector(unsigned short n, unsigned short *px, unsigned short *py, unsigned short *product) argument
|