Home
last modified time | relevance | path

Searched refs:mp_copy (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/common/crypto/ecc/
H A Decp_aff.c102 MP_CHECKOK(mp_copy(qx, rx)); in ec_GFp_pt_add_aff()
103 MP_CHECKOK(mp_copy(qy, ry)); in ec_GFp_pt_add_aff()
109 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_add_aff()
110 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_aff()
155 MP_CHECKOK(mp_copy(&tempx, rx)); in ec_GFp_pt_add_aff()
156 MP_CHECKOK(mp_copy(&tempy, ry)); in ec_GFp_pt_add_aff()
233 MP_CHECKOK(mp_copy(px, &qx)); in ec_GFp_pt_mul_aff()
234 MP_CHECKOK(mp_copy(py, &qy)); in ec_GFp_pt_mul_aff()
235 MP_CHECKOK(mp_copy(n, &k)); in ec_GFp_pt_mul_aff()
243 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GFp_pt_mul_aff()
[all …]
H A Dec2_aff.c94 MP_CHECKOK(mp_copy(qx, rx)); in ec_GF2m_pt_add_aff()
95 MP_CHECKOK(mp_copy(qy, ry)); in ec_GF2m_pt_add_aff()
101 MP_CHECKOK(mp_copy(px, rx)); in ec_GF2m_pt_add_aff()
102 MP_CHECKOK(mp_copy(py, ry)); in ec_GF2m_pt_add_aff()
149 MP_CHECKOK(mp_copy(&tempx, rx)); in ec_GF2m_pt_add_aff()
220 MP_CHECKOK(mp_copy(px, &qx)); in ec_GF2m_pt_mul_aff()
221 MP_CHECKOK(mp_copy(py, &qy)); in ec_GF2m_pt_mul_aff()
222 MP_CHECKOK(mp_copy(n, &k)); in ec_GF2m_pt_mul_aff()
230 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GF2m_pt_mul_aff()
231 MP_CHECKOK(mp_copy(&qy, &sy)); in ec_GF2m_pt_mul_aff()
[all …]
H A Decp_jac.c74 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_aff2jac()
75 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_aff2jac()
111 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_jac2aff()
112 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_jac2aff()
180 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_add_jac_aff()
181 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_jac_aff()
182 MP_CHECKOK(mp_copy(pz, rz)); in ec_GFp_pt_add_jac_aff()
360 MP_CHECKOK(mp_copy(px, &precomp[1][0])); in ec_GFp_pt_mul_jac()
361 MP_CHECKOK(mp_copy(py, &precomp[1][1])); in ec_GFp_pt_mul_jac()
466 MP_CHECKOK(mp_copy(px, &precomp[1][0][0])); in ec_GFp_pts_mul_jac()
[all …]
H A Decl.c117 MP_CHECKOK(mp_copy(curvea, &group->curvea)); in ECGroup_consGFp()
118 MP_CHECKOK(mp_copy(curveb, &group->curveb)); in ECGroup_consGFp()
119 MP_CHECKOK(mp_copy(genx, &group->genx)); in ECGroup_consGFp()
120 MP_CHECKOK(mp_copy(geny, &group->geny)); in ECGroup_consGFp()
121 MP_CHECKOK(mp_copy(order, &group->order)); in ECGroup_consGFp()
164 MP_CHECKOK(mp_copy(order, &group->order)); in ECGroup_consGFp_mont()
203 MP_CHECKOK(mp_copy(curvea, &group->curvea)); in ECGroup_consGF2m()
204 MP_CHECKOK(mp_copy(curveb, &group->curveb)); in ECGroup_consGF2m()
205 MP_CHECKOK(mp_copy(genx, &group->genx)); in ECGroup_consGF2m()
206 MP_CHECKOK(mp_copy(geny, &group->geny)); in ECGroup_consGF2m()
[all …]
H A Decl_mult.c218 MP_CHECKOK(mp_copy(px, &precomp[1][0][0])); in ec_pts_mul_simul_w2()
219 MP_CHECKOK(mp_copy(py, &precomp[1][0][1])); in ec_pts_mul_simul_w2()
221 MP_CHECKOK(mp_copy(&group->genx, &precomp[0][1][0])); in ec_pts_mul_simul_w2()
222 MP_CHECKOK(mp_copy(&group->geny, &precomp[0][1][1])); in ec_pts_mul_simul_w2()
226 MP_CHECKOK(mp_copy(&group->genx, &precomp[1][0][0])); in ec_pts_mul_simul_w2()
227 MP_CHECKOK(mp_copy(&group->geny, &precomp[1][0][1])); in ec_pts_mul_simul_w2()
234 MP_CHECKOK(mp_copy(px, &precomp[0][1][0])); in ec_pts_mul_simul_w2()
235 MP_CHECKOK(mp_copy(py, &precomp[0][1][1])); in ec_pts_mul_simul_w2()
H A Decp_jm.c164 MP_CHECKOK(mp_copy(px, rx)); in ec_GFp_pt_add_jm_aff()
165 MP_CHECKOK(mp_copy(py, ry)); in ec_GFp_pt_add_jm_aff()
166 MP_CHECKOK(mp_copy(pz, rz)); in ec_GFp_pt_add_jm_aff()
167 MP_CHECKOK(mp_copy(paz4, raz4)); in ec_GFp_pt_add_jm_aff()
264 MP_CHECKOK(mp_copy(px, &precomp[8][0])); in ec_GFp_pt_mul_jm_wNAF()
265 MP_CHECKOK(mp_copy(py, &precomp[8][1])); in ec_GFp_pt_mul_jm_wNAF()
282 MP_CHECKOK(mp_copy(&precomp[15 - i][0], &precomp[i][0])); in ec_GFp_pt_mul_jm_wNAF()
H A Dec2_mont.c100 MP_CHECKOK(mp_copy(x, &t1)); in gf2m_Madd()
143 MP_CHECKOK(mp_copy(x, x2)); in gf2m_Mxy()
218 MP_CHECKOK(mp_copy(px, &x1)); /* x1 = px */ in ec_GF2m_pt_mul_mont()
274 MP_CHECKOK(mp_copy(&x2, rx)); in ec_GF2m_pt_mul_mont()
275 MP_CHECKOK(mp_copy(&z2, ry)); in ec_GF2m_pt_mul_mont()
H A Decp_mont.c132 MP_CHECKOK(mp_copy(&s, r)); in ec_GFp_mul_mont()
191 MP_CHECKOK(mp_copy(a, r)); in ec_GFp_dec_mont()
H A Decp_521.c79 return mp_copy(a, r); in ec_GFp_nistp521_mod()
H A Decp_test.c172 MP_CHECKOK(mp_copy(&group->genx, &gx)); in ectest_curve_GFp()
173 MP_CHECKOK(mp_copy(&group->geny, &gy)); in ectest_curve_GFp()
H A Dec2_test.c173 MP_CHECKOK(mp_copy(&group->genx, &gx)); in ectest_curve_GF2m()
174 MP_CHECKOK(mp_copy(&group->geny, &gy)); in ectest_curve_GF2m()
H A Dec2_163.c67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_163_mod()
H A Dec2_193.c67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_193_mod()
H A Decl_gf.c94 MP_CHECKOK(mp_copy(irr, &meth->irr)); in GFMethod_consGFp()
154 MP_CHECKOK(mp_copy(irr, &meth->irr)); in GFMethod_consGF2m()
1002 return mp_copy(a, r); in ec_GF2m_neg()
H A Dec2_233.c67 MP_CHECKOK(mp_copy(a, r)); in ec_GF2m_233_mod()
H A Decp_224.c81 return mp_copy(a, r); in ec_GFp_nistp224_mod()
H A Decp_192.c82 return mp_copy(a, r); in ec_GFp_nistp192_mod()
H A Decp_256.c80 return mp_copy(a,r); in ec_GFp_nistp256_mod()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_mroute.c1665 mblk_t *mp_copy = NULL; in ip_mforward() local
1732 mp_copy = copymsg(mp); in ip_mforward()
1733 if (mp_copy == NULL) { in ip_mforward()
1838 ASSERT(mp_copy != NULL); in ip_mforward()
1839 im = (struct igmpmsg *)mp_copy->b_rptr; in ip_mforward()
1873 (mrouter->conn_recv)(mrouter, mp_copy, NULL, ira); in ip_mforward()
1881 mp_copy, ill); in ip_mforward()
1882 freemsg(mp_copy); in ip_mforward()
1897 if (mp_copy != NULL) { in ip_mforward()
1899 ip_drop_input("ip_mforward error", mp_copy, ill); in ip_mforward()
[all …]
/titanic_41/usr/src/common/mpi/
H A Dmplogic.c91 if((res = mp_copy(a, b)) != MP_OKAY) in mpl_rsh()
110 if((res = mp_copy(a, b)) != MP_OKAY) in mpl_lsh()
H A Dmpi.c211 mp_err mp_copy(const mp_int *from, mp_int *to) in mp_copy() function
529 if((res = mp_copy(a, b)) != MP_OKAY) in mp_mul_d()
548 if((res = mp_copy(a, c)) != MP_OKAY) in mp_mul_2()
587 mp_copy(a, q); in mp_div_d()
632 if((res = mp_copy(a, c)) != MP_OKAY) in mp_div_2()
703 if((res = mp_copy(a, b)) != MP_OKAY) in mp_abs()
728 if((res = mp_copy(a, b)) != MP_OKAY) in mp_neg()
1036 MP_CHECKOK( mp_copy(a, r) ); in mp_div()
1103 if((res = mp_copy(a, q)) != MP_OKAY) in mp_div_2d()
1107 if((res = mp_copy(a, r)) != MP_OKAY) in mp_div_2d()
[all …]
H A Dmp_gf2m.c365 MP_CHECKOK( mp_copy(a, r) ); in mp_bmod()
552 MP_CHECKOK( mp_copy(u, r) ); in mp_bdivmod()
H A Dmpi.h256 mp_err mp_copy(const mp_int *from, mp_int *to);
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_client.c3935 mblk_t *mp_copy, *mp_next; in mac_promisc_dispatch_one() local
3938 mp_copy = copymsg(mp); in mac_promisc_dispatch_one()
3939 if (mp_copy == NULL) in mac_promisc_dispatch_one()
3943 mp_copy = mac_strip_vlan_tag_chain(mp_copy); in mac_promisc_dispatch_one()
3944 if (mp_copy == NULL) in mac_promisc_dispatch_one()
3949 mp_copy = mp; in mac_promisc_dispatch_one()
3952 mp_copy->b_next = NULL; in mac_promisc_dispatch_one()
3954 mpip->mpi_fn(mpip->mpi_arg, NULL, mp_copy, loopback); in mac_promisc_dispatch_one()
3955 if (mp_copy == mp) in mac_promisc_dispatch_one()