Lines Matching refs:words
204 OPENSSL_memcpy(p_str, p_scalar->words, 32); in ecp_nistz256_windowed_mul()
212 OPENSSL_memcpy(row[1 - 1].X, p->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul()
213 OPENSSL_memcpy(row[1 - 1].Y, p->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul()
214 OPENSSL_memcpy(row[1 - 1].Z, p->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_windowed_mul()
309 OPENSSL_memcpy(r->X.words, out.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul()
310 OPENSSL_memcpy(r->Y.words, out.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul()
311 OPENSSL_memcpy(r->Z.words, out.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul()
317 OPENSSL_memcpy(p_str, scalar->words, 32); in ecp_nistz256_point_mul_base()
353 OPENSSL_memcpy(r->X.words, p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base()
354 OPENSSL_memcpy(r->Y.words, p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base()
355 OPENSSL_memcpy(r->Z.words, p.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_point_mul_base()
367 OPENSSL_memcpy(p_str, g_scalar->words, 32); in ecp_nistz256_points_mul_public()
417 OPENSSL_memcpy(r->X.words, p.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_points_mul_public()
418 OPENSSL_memcpy(r->Y.words, p.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_points_mul_public()
419 OPENSSL_memcpy(r->Z.words, p.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_points_mul_public()
432 ecp_nistz256_mod_inverse_sqr_mont(z_inv2, point->Z.words); in ecp_nistz256_get_affine()
435 ecp_nistz256_mul_mont(x->words, z_inv2, point->X.words); in ecp_nistz256_get_affine()
440 ecp_nistz256_mul_mont(y->words, point->Y.words, point->Z.words); // y * z in ecp_nistz256_get_affine()
441 ecp_nistz256_mul_mont(y->words, y->words, z_inv2); // y * z^-3 in ecp_nistz256_get_affine()
450 OPENSSL_memcpy(a.X, a_->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
451 OPENSSL_memcpy(a.Y, a_->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
452 OPENSSL_memcpy(a.Z, a_->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
453 OPENSSL_memcpy(b.X, b_->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
454 OPENSSL_memcpy(b.Y, b_->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
455 OPENSSL_memcpy(b.Z, b_->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
457 OPENSSL_memcpy(r->X.words, a.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
458 OPENSSL_memcpy(r->Y.words, a.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
459 OPENSSL_memcpy(r->Z.words, a.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_add()
465 OPENSSL_memcpy(a.X, a_->X.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
466 OPENSSL_memcpy(a.Y, a_->Y.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
467 OPENSSL_memcpy(a.Z, a_->Z.words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
469 OPENSSL_memcpy(r->X.words, a.X, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
470 OPENSSL_memcpy(r->Y.words, a.Y, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
471 OPENSSL_memcpy(r->Z.words, a.Z, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_dbl()
505 OPENSSL_memcpy(table[i_1], in->words, P256_LIMBS * sizeof(BN_ULONG)); in ecp_nistz256_inv0_mod_ord()
538 ecp_nistz256_ord_sqr_mont(out->words, table[i_x32], 64); in ecp_nistz256_inv0_mod_ord()
539 ecp_nistz256_ord_mul_mont(out->words, out->words, table[i_x32]); in ecp_nistz256_inv0_mod_ord()
550 ecp_nistz256_ord_sqr_mont(out->words, out->words, kChain[i].p); in ecp_nistz256_inv0_mod_ord()
551 ecp_nistz256_ord_mul_mont(out->words, out->words, table[kChain[i].i]); in ecp_nistz256_inv0_mod_ord()
566 if (!beeu_mod_inverse_vartime(out->words, in->words, group->order.d)) { in ecp_nistz256_scalar_to_montgomery_inv_vartime()
589 ecp_nistz256_mul_mont(Z2_mont, p->Z.words, p->Z.words); in ecp_nistz256_cmp_x_coordinate()
590 ecp_nistz256_mul_mont(r_Z2, r->words, Z2_mont); in ecp_nistz256_cmp_x_coordinate()
591 ecp_nistz256_from_mont(X, p->X.words); in ecp_nistz256_cmp_x_coordinate()
601 if (bn_less_than_words(r->words, group->field_minus_order.words, in ecp_nistz256_cmp_x_coordinate()
604 bn_add_words(r_Z2, r->words, group->order.d, P256_LIMBS); in ecp_nistz256_cmp_x_coordinate()