Lines Matching refs:tmp2
193 ALIGN32 BN_ULONG tmp2[P256_LIMBS]; in ecp_sm2p256_point_double() local
211 ecp_sm2p256_mul(tmp2, R->Y, P->X); in ecp_sm2p256_point_double()
215 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_double()
217 ecp_sm2p256_sub(tmp0, tmp2, R->X); in ecp_sm2p256_point_double()
230 ALIGN32 BN_ULONG tmp2[P256_LIMBS] = {0}; in ecp_sm2p256_point_add_affine() local
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()
275 ecp_sm2p256_mul(tmp2, tmp2, P->X); in ecp_sm2p256_point_add_affine()
276 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_add_affine()
280 ecp_sm2p256_sub(tmp2, tmp2, R->X); in ecp_sm2p256_point_add_affine()
281 ecp_sm2p256_mul(tmp2, tmp2, tmp1); in ecp_sm2p256_point_add_affine()
283 ecp_sm2p256_sub(R->Y, tmp2, tmp3); in ecp_sm2p256_point_add_affine()
293 ALIGN32 BN_ULONG tmp2[P256_LIMBS] = {0}; in ecp_sm2p256_point_add() local
324 ecp_sm2p256_sqr(tmp2, Q->Z); in ecp_sm2p256_point_add()
325 ecp_sm2p256_mul(R->Y, tmp2, R->Y); in ecp_sm2p256_point_add()
326 ecp_sm2p256_mul(R->X, tmp2, P->X); 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()
332 ecp_sm2p256_mul(tmp2, tmp2, R->X); in ecp_sm2p256_point_add()
334 ecp_sm2p256_sub(R->X, R->X, tmp2); in ecp_sm2p256_point_add()
335 ecp_sm2p256_sub(R->X, R->X, tmp2); in ecp_sm2p256_point_add()
337 ecp_sm2p256_sub(tmp2, tmp2, R->X); in ecp_sm2p256_point_add()
338 ecp_sm2p256_mul(tmp2, tmp1, tmp2); in ecp_sm2p256_point_add()
340 ecp_sm2p256_sub(R->Y, tmp2, tmp0); in ecp_sm2p256_point_add()