Lines Matching refs:tmp0

191     ALIGN32 BN_ULONG tmp0[P256_LIMBS];  in ecp_sm2p256_point_double()  local
203 ecp_sm2p256_sqr(tmp0, P->Z); in ecp_sm2p256_point_double()
204 ecp_sm2p256_sub(tmp1, P->X, tmp0); in ecp_sm2p256_point_double()
205 ecp_sm2p256_add(tmp0, P->X, tmp0); in ecp_sm2p256_point_double()
206 ecp_sm2p256_mul(tmp1, tmp1, tmp0); in ecp_sm2p256_point_double()
215 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_double()
216 ecp_sm2p256_sub(R->X, R->X, tmp0); in ecp_sm2p256_point_double()
217 ecp_sm2p256_sub(tmp0, tmp2, R->X); in ecp_sm2p256_point_double()
218 ecp_sm2p256_mul(tmp0, tmp0, tmp1); in ecp_sm2p256_point_double()
219 ecp_sm2p256_sub(tmp1, tmp0, R->Y); in ecp_sm2p256_point_double()
228 ALIGN32 BN_ULONG tmp0[P256_LIMBS] = {0}; in ecp_sm2p256_point_add_affine() local
245 ecp_sm2p256_sqr(tmp0, P->Z); in ecp_sm2p256_point_add_affine()
246 ecp_sm2p256_mul(tmp1, tmp0, P->Z); in ecp_sm2p256_point_add_affine()
247 ecp_sm2p256_mul(tmp0, tmp0, Q->X); in ecp_sm2p256_point_add_affine()
249 ecp_sm2p256_sub(tmp0, tmp0, P->X); in ecp_sm2p256_point_add_affine()
253 if (is_zeros(tmp0)) { in ecp_sm2p256_point_add_affine()
272 ecp_sm2p256_mul(R->Z, P->Z, tmp0); in ecp_sm2p256_point_add_affine()
273 ecp_sm2p256_sqr(tmp2, tmp0); in ecp_sm2p256_point_add_affine()
274 ecp_sm2p256_mul(tmp3, tmp2, tmp0); in ecp_sm2p256_point_add_affine()
276 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_add_affine()
278 ecp_sm2p256_sub(R->X, R->X, tmp0); in ecp_sm2p256_point_add_affine()
291 ALIGN32 BN_ULONG tmp0[P256_LIMBS] = {0}; in ecp_sm2p256_point_add() local
318 ecp_sm2p256_sqr(tmp0, P->Z); in ecp_sm2p256_point_add()
319 ecp_sm2p256_mul(tmp1, tmp0, P->Z); in ecp_sm2p256_point_add()
320 ecp_sm2p256_mul(tmp0, tmp0, Q->X); in ecp_sm2p256_point_add()
327 ecp_sm2p256_sub(tmp0, tmp0, R->X); in ecp_sm2p256_point_add()
328 ecp_sm2p256_mul(R->Z, tmp0, R->Z); in ecp_sm2p256_point_add()
330 ecp_sm2p256_sqr(tmp2, tmp0); in ecp_sm2p256_point_add()
331 ecp_sm2p256_mul(tmp0, tmp0, tmp2); in ecp_sm2p256_point_add()
336 ecp_sm2p256_sub(R->X, R->X, tmp0); in ecp_sm2p256_point_add()
339 ecp_sm2p256_mul(tmp0, tmp0, R->Y); in ecp_sm2p256_point_add()
340 ecp_sm2p256_sub(R->Y, tmp2, tmp0); in ecp_sm2p256_point_add()