/osnet-11/usr/src/common/crypto/ecc/ |
H A D | ecp.h | 52 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 53 mp_err ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py); 55 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 56 mp_err ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py); 58 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx, 60 mp_err ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, 65 mp_err ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, 70 mp_err ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, 74 mp_err ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group); 77 /* Computes R = nP where R is (rx, ry) and P is (px, p [all...] |
H A D | ec2.h | 52 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */ 53 mp_err ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py); 55 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */ 56 mp_err ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py); 58 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx, 60 mp_err ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, 65 mp_err ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, 70 mp_err ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, 74 mp_err ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group); 78 /* Computes R = nP where R is (rx, ry) and P is (px, p [all...] |
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 75 mp_zero(px); 85 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 96 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 97 MP_CHECKOK(mp_init(&temp, FLAG(px))); 98 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 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 | 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 71 mp_zero(px); 79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 89 MP_CHECKOK(mp_init(&lambda, FLAG(px))); 90 MP_CHECKOK(mp_init(&tempx, FLAG(px))); 91 MP_CHECKOK(mp_init(&tempy, FLAG(px))); 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 | ecl.h | 101 mp_err ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, 109 const mp_int *k2, const mp_int *px, const mp_int *py, 116 mp_err ECPoint_validate(const ECGroup *group, const mp_int *px, const
|
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) { 74 MP_CHECKOK(mp_copy(px, rx)); 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 99 MP_CHECKOK(mp_init(&z1, FLAG(px))); 100 MP_CHECKOK(mp_init(&z2, FLAG(px))); 101 MP_CHECKOK(mp_init(&z3, FLAG(px))); 104 if (ec_GFp_pt_is_inf_jac(px, p 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...] |
H A D | ecl_mult.c | 58 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument 79 if ((px == NULL) || (py == NULL)) { 89 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); 93 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); 113 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument 122 && ((k2 == NULL) || (px == NULL) 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)); 168 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, 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 | 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) { 88 /* M = 3 (px^2) + a*(pz^4) */ 89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth)); 104 /* S = 4 * px * py^2 = 2 * px * t0 */ 105 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth)); 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, p 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 | 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)) { 218 MP_CHECKOK(mp_copy(px, &x1)); /* x1 = px */ 222 * px^2 */ 226 * px^4 254 MP_CHECKOK(gf2m_Madd(px, &x1, &z1, &x2, &z2, group, FLAG(n))); 257 MP_CHECKOK(gf2m_Madd(px, &x2, &z2, &x1, &z1, group, FLAG(n))); 267 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
|
H A D | ecl-priv.h | 182 mp_err (*point_add) (const mp_int *px, const mp_int *py, 185 mp_err (*point_sub) (const mp_int *px, const mp_int *py, 188 mp_err (*point_dbl) (const mp_int *px, const mp_int *py, mp_int *rx, 190 mp_err (*point_mul) (const mp_int *n, const mp_int *px, 196 const mp_int *px, const mp_int *py, mp_int *rx, 198 mp_err (*validate_point) (const mp_int *px, const mp_int *py, const ECGroup *group); 260 const mp_int *px, const mp_int *py, mp_int *rx, 263 const mp_int *px, const mp_int *py, mp_int *rx,
|
H A D | ecl.c | 422 mp_err ECPoint_validate(const ECGroup *group, const mp_int *px, const argument 433 return group->validate_point(px, py, group);
|
/osnet-11/usr/src/lib/libc/port/fp/ |
H A D | hex_bin.c | 40 * value in px->significand, which is then normalized so that the most 42 * pd->ds, the least significant bit of px->significand will be set. 97 * decimal record *pd to a floating point value *px observing the round- 102 * If pd->fpclass is fp_zero, *px is set to zero with the sign indicated 106 * this string. Then *px is set to a correctly rounded approximation to 114 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, argument 125 *px = kluge.x; 128 __pack_single(&u, px, rd, ps); 135 __hex_to_double(decimal_record *pd, enum fp_direction_type rd, double *px, argument 147 *px 159 __hex_to_quadruple(decimal_record *pd, enum fp_direction_type rd, quadruple *px, fp_exception_field_type *ps) argument 185 __hex_to_extended(decimal_record *pd, enum fp_direction_type rd, extended *px, fp_exception_field_type *ps) argument [all...] |
H A D | decimal_bin.c | 142 * Convert the decimal_record *pd to an unpacked datum *px accurately 143 * enough that *px can be rounded correctly to sigbits significant bits. 147 __decimal_to_unpacked(unpacked *px, decimal_record *pd, int sigbits) argument 154 px->sign = pd->sign; 155 px->fpclass = pd->fpclass; 167 px->fpclass = fp_zero; 241 px->significand[ix++] = (pbb->bsignificand[i] << 16) | 247 px->significand[ix++] = pbb->bsignificand[i] << 16; 249 px->significand[ix++] = 0; 255 px 334 __fast_decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 433 __fast_decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 495 decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 570 decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 649 decimal_to_extended(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 736 decimal_to_quadruple(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument [all...] |
H A D | double_decim.c | 450 __double_to_bigfloat(double *px, _big_float *pf) argument 454 x = (double_equivalence *)px; 476 __extended_to_bigfloat(extended *px, _big_float *pf) argument 480 x = (extended_equivalence *)px; 500 __quadruple_to_bigfloat(quadruple *px, _big_float *pf) argument 504 x = (quadruple_equivalence *)px; 529 single_to_decimal(single *px, decimal_mode *pm, decimal_record *pd, argument 537 kluge = (single_equivalence *)px; 554 * converting *px to double can flush a sub- 558 i = *(int *)px; 601 double_to_decimal(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 646 extended_to_decimal(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument 702 quadruple_to_decimal(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument [all...] |
H A D | pack_float.c | 154 __pack_single(unpacked *pu, single *px, enum fp_direction_type rd, argument 213 *px = kluge.x; 218 __pack_double(unpacked *pu, double *px, enum fp_direction_type rd, argument 286 *px = kluge.x; 291 __pack_extended(unpacked *pu, extended *px, enum fp_direction_type rd, argument 352 (*px)[0] = kluge.x[0]; 353 (*px)[1] = kluge.x[1]; 354 (*px)[2] = kluge.x[2]; 359 __pack_quadruple(unpacked *pu, quadruple *px, enum fp_direction_type rd, argument 441 *px [all...] |
H A D | __x_power.c | 158 __multiply_base_two_vector(unsigned short n, unsigned short *px, argument 169 p = px[i] * py[n - 1 - i] + acc; 191 __multiply_base_ten_vector(unsigned short n, unsigned short *px, argument 202 acc = px[i] * py[n - 1 - i] + acc;
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | wsyncdown.c | 53 int wy, px, py, endy; local 57 px = win->_parx; 72 if ((bch = *pbch - px) < 0) 74 if ((ech = *pech - px) > endx) 88 px += par->_parx;
|
H A D | wsyncup.c | 53 int wy, px, py, endy; local 58 px = win->_parx; 76 bch = px + *wbch; 77 ech = px + *wech;
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | mvwin.c | 96 mvderwin(w, py, px) 98 int py, px; 104 __m_trace("mvderwin(%p, %d, %d)", w, py, px); 114 px += parent->_begx; 116 code = mvwin(w, py, px);
|
/osnet-11/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 135 register Xl_t* px; local 155 for (px = xp; px; px = px->next) 156 if (streq(px->name, s)) 158 if (strcoll(px->date, d) < 0) 160 free(px->date); 161 if (!(px->date = strdup(d))) 166 if (!px) 224 Xl_t* px; local [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | jobs.c | 324 struct process *px; local 430 px = 0; 439 px=job_byjid(pw->p_job); 444 if(px) 447 job_unlink(px); 448 px->p_nxtjob = job.pwlist; 449 job.pwlist = px; 526 if(px && pw != px) 530 px 891 register struct process *px; local 982 register struct process *px = pw; local 1237 register struct process *pw, *px; local 1410 register struct process *pw, *px; local 1467 register struct process *pw=0,*px; local 1737 job_unstop(register struct process *px) argument 1818 register struct process *px; local 1964 register struct process *pw, *px, *pwnext; local [all...] |
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | mkopts.tcl | 17 if {![regexp {(([a-zA-Z]+)_)?([_a-zA-Z]+)} $token all px p2 name]} continue 19 if {$px!=""} {set prefix $p2}
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | mvwin.c | 94 mvderwin(WINDOW *w, int py, int px) argument 106 px += parent->_begx; 108 code = mvwin(w, py, px);
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | iso9660.h | 176 } px; member in union:rock_ridge::__anon314
|
H A D | fsys_iso9660.c | 245 file_type = ((rr_ptr.rr->u.px.mode.l & POSIX_S_IFMT) 248 : ((rr_ptr.rr->u.px.mode.l & POSIX_S_IFMT)
|