Home
last modified time | relevance | path

Searched refs:MP_DIGITS (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/common/crypto/ecc/
H A Decp_aff.c92 MP_DIGITS(&lambda) = 0; in ec_GFp_pt_add_aff()
93 MP_DIGITS(&temp) = 0; in ec_GFp_pt_add_aff()
94 MP_DIGITS(&tempx) = 0; in ec_GFp_pt_add_aff()
95 MP_DIGITS(&tempy) = 0; in ec_GFp_pt_add_aff()
178 MP_DIGITS(&nqy) = 0; in ec_GFp_pt_sub_aff()
212 MP_DIGITS(&k) = 0; in ec_GFp_pt_mul_aff()
213 MP_DIGITS(&k3) = 0; in ec_GFp_pt_mul_aff()
214 MP_DIGITS(&qx) = 0; in ec_GFp_pt_mul_aff()
215 MP_DIGITS(&qy) = 0; in ec_GFp_pt_mul_aff()
216 MP_DIGITS(&sx) = 0; in ec_GFp_pt_mul_aff()
[all …]
H A Dec2_aff.c86 MP_DIGITS(&lambda) = 0; in ec_GF2m_pt_add_aff()
87 MP_DIGITS(&tempx) = 0; in ec_GF2m_pt_add_aff()
88 MP_DIGITS(&tempy) = 0; in ec_GF2m_pt_add_aff()
168 MP_DIGITS(&nqy) = 0; in ec_GF2m_pt_sub_aff()
199 MP_DIGITS(&k) = 0; in ec_GF2m_pt_mul_aff()
200 MP_DIGITS(&k3) = 0; in ec_GF2m_pt_mul_aff()
201 MP_DIGITS(&qx) = 0; in ec_GF2m_pt_mul_aff()
202 MP_DIGITS(&qy) = 0; in ec_GF2m_pt_mul_aff()
203 MP_DIGITS(&sx) = 0; in ec_GF2m_pt_mul_aff()
204 MP_DIGITS(&sy) = 0; in ec_GF2m_pt_mul_aff()
[all …]
H A Dec.c140 MP_DIGITS(&Px) = 0; in ec_points_mul()
141 MP_DIGITS(&Py) = 0; in ec_points_mul()
142 MP_DIGITS(&Qx) = 0; in ec_points_mul()
143 MP_DIGITS(&Qy) = 0; in ec_points_mul()
144 MP_DIGITS(&Gx) = 0; in ec_points_mul()
145 MP_DIGITS(&Gy) = 0; in ec_points_mul()
146 MP_DIGITS(&order) = 0; in ec_points_mul()
147 MP_DIGITS(&irreducible) = 0; in ec_points_mul()
148 MP_DIGITS(&a) = 0; in ec_points_mul()
149 MP_DIGITS(&b) = 0; in ec_points_mul()
[all …]
H A Dec2_mont.c67 MP_DIGITS(&t1) = 0; in gf2m_Mdouble()
95 MP_DIGITS(&t1) = 0; in gf2m_Madd()
96 MP_DIGITS(&t2) = 0; in gf2m_Madd()
128 MP_DIGITS(&t3) = 0; in gf2m_Mxy()
129 MP_DIGITS(&t4) = 0; in gf2m_Mxy()
130 MP_DIGITS(&t5) = 0; in gf2m_Mxy()
203 MP_DIGITS(&x1) = 0; in ec_GF2m_pt_mul_mont()
204 MP_DIGITS(&x2) = 0; in ec_GF2m_pt_mul_mont()
205 MP_DIGITS(&z1) = 0; in ec_GF2m_pt_mul_mont()
206 MP_DIGITS(&z2) = 0; in ec_GF2m_pt_mul_mont()
[all …]
H A Decp_jac.c96 MP_DIGITS(&z1) = 0; in ec_GFp_pt_jac2aff()
97 MP_DIGITS(&z2) = 0; in ec_GFp_pt_jac2aff()
98 MP_DIGITS(&z3) = 0; in ec_GFp_pt_jac2aff()
160 MP_DIGITS(&A) = 0; in ec_GFp_pt_add_jac_aff()
161 MP_DIGITS(&B) = 0; in ec_GFp_pt_add_jac_aff()
162 MP_DIGITS(&C) = 0; in ec_GFp_pt_add_jac_aff()
163 MP_DIGITS(&D) = 0; in ec_GFp_pt_add_jac_aff()
164 MP_DIGITS(&C2) = 0; in ec_GFp_pt_add_jac_aff()
165 MP_DIGITS(&C3) = 0; in ec_GFp_pt_add_jac_aff()
248 MP_DIGITS(&t0) = 0; in ec_GFp_pt_dbl_jac()
[all …]
H A Decl_mult.c67 MP_DIGITS(&kt) = 0; in ECPoint_mul()
77 MP_DIGITS(&kt) = MP_DIGITS(k); in ECPoint_mul()
103 if (MP_DIGITS(&kt) != MP_DIGITS(k)) { in ECPoint_mul()
133 MP_DIGITS(&sx) = 0; in ec_pts_mul_basic()
134 MP_DIGITS(&sy) = 0; in ec_pts_mul_basic()
194 MP_DIGITS(&precomp[i][j][0]) = 0; in ec_pts_mul_simul_w2()
195 MP_DIGITS(&precomp[i][j][1]) = 0; in ec_pts_mul_simul_w2()
326 MP_DIGITS(&k1t) = 0; in ECPoints_mul()
327 MP_DIGITS(&k2t) = 0; in ECPoints_mul()
H A Dec2_163.c73 u = MP_DIGITS(r); in ec_GF2m_163_mod()
94 u = MP_DIGITS(r); in ec_GF2m_163_mod()
138 v = MP_DIGITS(a); in ec_GF2m_163_sqr()
157 u = MP_DIGITS(r); in ec_GF2m_163_sqr()
230 s_bmul_3x3(MP_DIGITS(r), a2, a1, a0, b2, b1, b0); in ec_GF2m_163_mul()
235 s_bmul_3x3(MP_DIGITS(r) + 6, a5, a4, a3, b5, b4, b3); in ec_GF2m_163_mul()
236 s_bmul_3x3(MP_DIGITS(r), a2, a1, a0, b2, b1, b0); in ec_GF2m_163_mul()
H A Decl.c74 MP_DIGITS(&group->curvea) = 0; in ECGroup_new()
75 MP_DIGITS(&group->curveb) = 0; in ECGroup_new()
76 MP_DIGITS(&group->genx) = 0; in ECGroup_new()
77 MP_DIGITS(&group->geny) = 0; in ECGroup_new()
78 MP_DIGITS(&group->order) = 0; in ECGroup_new()
238 MP_DIGITS(&irr) = 0; in ecgroup_fromNameAndHex()
239 MP_DIGITS(&curvea) = 0; in ecgroup_fromNameAndHex()
240 MP_DIGITS(&curveb) = 0; in ecgroup_fromNameAndHex()
241 MP_DIGITS(&genx) = 0; in ecgroup_fromNameAndHex()
242 MP_DIGITS(&geny) = 0; in ecgroup_fromNameAndHex()
[all …]
H A Dec2_193.c73 u = MP_DIGITS(r); in ec_GF2m_193_mod()
98 u = MP_DIGITS(r); in ec_GF2m_193_mod()
146 v = MP_DIGITS(a); in ec_GF2m_193_sqr()
165 u = MP_DIGITS(r); in ec_GF2m_193_sqr()
243 s_bmul_4x4(MP_DIGITS(r), a3, a2, a1, a0, b3, b2, b1, b0); in ec_GF2m_193_mul()
248 s_bmul_3x3(MP_DIGITS(r) + 8, a6, a5, a4, b6, b5, b4); in ec_GF2m_193_mul()
249 s_bmul_4x4(MP_DIGITS(r), a3, a2, a1, a0, b3, b2, b1, b0); in ec_GF2m_193_mul()
H A Dec2_233.c73 u = MP_DIGITS(r); in ec_GF2m_233_mod()
102 u = MP_DIGITS(r); in ec_GF2m_233_mod()
162 v = MP_DIGITS(a); in ec_GF2m_233_sqr()
181 u = MP_DIGITS(r); in ec_GF2m_233_sqr()
266 s_bmul_4x4(MP_DIGITS(r), a3, a2, a1, a0, b3, b2, b1, b0); in ec_GF2m_233_mul()
271 s_bmul_4x4(MP_DIGITS(r) + 8, a7, a6, a5, a4, b7, b6, b5, b4); in ec_GF2m_233_mul()
272 s_bmul_4x4(MP_DIGITS(r), a3, a2, a1, a0, b3, b2, b1, b0); in ec_GF2m_233_mul()
H A Decp_jm.c234 MP_DIGITS(&rz) = 0; in ec_GFp_pt_mul_jm_wNAF()
235 MP_DIGITS(&raz4) = 0; in ec_GFp_pt_mul_jm_wNAF()
236 MP_DIGITS(&tpx) = 0; in ec_GFp_pt_mul_jm_wNAF()
237 MP_DIGITS(&tpy) = 0; in ec_GFp_pt_mul_jm_wNAF()
239 MP_DIGITS(&precomp[i][0]) = 0; in ec_GFp_pt_mul_jm_wNAF()
240 MP_DIGITS(&precomp[i][1]) = 0; in ec_GFp_pt_mul_jm_wNAF()
243 MP_DIGITS(&scratch[i]) = 0; in ec_GFp_pt_mul_jm_wNAF()
H A Dec_naf.c79 MP_DIGITS(&k) = 0; in ec_compute_wNAF()
H A Decp_384.c74 MP_DIGITS(&m[i]) = s[i]; in ec_GFp_nistp384_mod()
82 MP_DIGITS(&m[i]) = s[i]; in ec_GFp_nistp384_mod()
H A Decp_521.c75 MP_DIGITS(&m1) = s1; in ec_GFp_nistp521_mod()
H A Decp_mont.c126 MP_DIGITS(&s) = 0; in ec_GFp_mul_mont()
H A Decl_gf.c70 MP_DIGITS(&meth->irr) = 0; in GFMethod_new()
/titanic_41/usr/src/common/mpi/
H A Dmp_gf2m.c221 pa = MP_DIGITS(a); in mp_badd()
222 pb = MP_DIGITS(b); in mp_badd()
226 pa = MP_DIGITS(b); in mp_badd()
227 pb = MP_DIGITS(a); in mp_badd()
236 pc = MP_DIGITS(c); in mp_badd()
295 MP_DIGITS(&tmp) = 0; in mp_bmul()
318 pb = MP_DIGITS(b); in mp_bmul()
319 s_bmul_d(MP_DIGITS(a), MP_USED(a), *pb++, MP_DIGITS(c)); in mp_bmul()
330 s_bmul_d_add(MP_DIGITS(a), a_used, b_i, MP_DIGITS(c) + ib); in mp_bmul()
367 z = MP_DIGITS(r); in mp_bmod()
[all …]
H A Dmpmontg.c153 pb = MP_DIGITS(b); in s_mp_mul_mont()
154 s_mpv_mul_d(MP_DIGITS(a), useda, *pb++, MP_DIGITS(c)); in s_mp_mul_mont()
155 s_mp_setz(MP_DIGITS(c) + useda + 1, ib - (useda + 1)); in s_mp_mul_mont()
166 s_mpv_mul_d_add_prop(MP_DIGITS(a), useda, b_i, MP_DIGITS(c) + ib); in s_mp_mul_mont()
H A Dmpi.c844 MP_DIGITS(&tmp) = 0; in mp_mul()
878 pb = MP_DIGITS(b); in mp_mul()
879 s_mpv_mul_d(MP_DIGITS(a), MP_USED(a), *pb++, MP_DIGITS(c)); in mp_mul()
889 s_mpv_mul_d_add(MP_DIGITS(a), useda, b_i, MP_DIGITS(c) + ib); in mp_mul()
969 pa = MP_DIGITS(a); in mp_sqr()
973 s_mpv_mul_d(pa, count, d, MP_DIGITS(sqr) + 1); in mp_sqr()
976 s_mpv_mul_d_add(pa, count, d, MP_DIGITS(sqr) + ix); in mp_sqr()
987 s_mpv_sqr_add_prop(MP_DIGITS(a), MP_USED(a), MP_DIGITS(sqr)); in mp_sqr()
2048 if (!mp || !MP_DIGITS(mp) || !mp_cmp_z(mp)) in mp_trailing_zeros()
2100 MP_DIGITS(&d) = 0; in s_mp_almost_inverse()
[all …]
H A Dmpi-priv.h303 (s_mpv_mul_d_add_prop(MP_DIGITS(a), MP_USED(a), b, MP_DIGITS(c) + off), MP_OKAY)
H A Dmplogic.c185 mp_digit * digit = MP_DIGITS(a) + lsWndx; in mpl_get_bits()
H A Dmpi.h234 #define MP_DIGITS(MP) ((MP)->dp) macro
375 #define DIGITS(MP) MP_DIGITS(MP)