| /crypto/chacha/asm/ |
| A D | chacha-c64xplus.pl | 162 || ADD @Y[$b1],@Y[$a1],@Y[$a1] 163 || ADD @Y[$b2],@Y[$a2],@Y[$a2] 164 ADD @Y[$b0],@Y[$a0],@Y[$a0] 165 || ADD @Y[$b3],@Y[$a3],@Y[$a3] 171 XOR @Y[$a0],@Y[$d0],@Y[$d0] 234 XOR @Y[$a0],@Y[$d0],@Y[$d0] 250 ADD @Y[$d1],@Y[$c1],@Y[$c1] 256 ADD @Y[$d0],@Y[$c0],@Y[$c0] 262 XOR @Y[$c0],@Y[$b0],@Y[$b0] 278 ADD @Y[$b2],@Y[$a2],@Y[$a2] [all …]
|
| /crypto/bn/ |
| A D | bn_gcd.c | 53 BN_zero(Y); in bn_mod_inverse_no_branch() 149 Y = X; in bn_mod_inverse_no_branch() 163 if (!BN_sub(Y, n, Y)) in bn_mod_inverse_no_branch() 170 if (!Y->neg && BN_ucmp(Y, n) < 0) { in bn_mod_inverse_no_branch() 242 BN_zero(Y); in int_bn_mod_inverse() 310 if (!BN_uadd(Y, Y, n)) in int_bn_mod_inverse() 314 if (!BN_rshift1(Y, Y)) in int_bn_mod_inverse() 346 if (!BN_uadd(Y, Y, X)) in int_bn_mod_inverse() 473 Y = X; in int_bn_mod_inverse() 488 if (!BN_sub(Y, n, Y)) in int_bn_mod_inverse() [all …]
|
| A D | bn_rsa_fips186_4.c | 275 int ossl_bn_rsa_fips186_4_derive_prime(BIGNUM *Y, BIGNUM *X, const BIGNUM *Xin, in ossl_bn_rsa_fips186_4_derive_prime() argument 363 if (!BN_mod_sub(Y, R, X, r1r2x2, ctx) || !BN_add(Y, Y, X)) in ossl_bn_rsa_fips186_4_derive_prime() 369 if (BN_num_bits(Y) > bits) { in ossl_bn_rsa_fips186_4_derive_prime() 378 if (BN_copy(y1, Y) == NULL in ossl_bn_rsa_fips186_4_derive_prime() 383 int rv = ossl_bn_check_generated_prime(Y, rounds, ctx, cb); in ossl_bn_rsa_fips186_4_derive_prime() 395 if (!BN_add(Y, Y, r1r2x2)) in ossl_bn_rsa_fips186_4_derive_prime()
|
| /crypto/ec/ |
| A D | ecp_sm2p256.c | 132 is_equal(a->Y, b->Y) && \ 208 ecp_sm2p256_add(R->Y, P->Y, P->Y); in ecp_sm2p256_point_double() 210 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double() 212 ecp_sm2p256_sqr(R->Y, R->Y); in ecp_sm2p256_point_double() 213 ecp_sm2p256_div_by_2(R->Y, R->Y); in ecp_sm2p256_point_double() 237 R->Y[i] = Q->Y[i]; in ecp_sm2p256_point_add_affine() 259 K.Y[i] = Q->Y[i]; in ecp_sm2p256_point_add_affine() 299 R->Y[i] = Q->Y[i]; in ecp_sm2p256_point_add() 307 R->Y[i] = P->Y[i]; in ecp_sm2p256_point_add() 322 ecp_sm2p256_mul(R->Y, P->Y, Q->Z); in ecp_sm2p256_point_add() [all …]
|
| A D | ec2_smpl.c | 225 point->Y = BN_new(); in ossl_ec_GF2m_simple_point_init() 230 BN_free(point->Y); in ossl_ec_GF2m_simple_point_init() 241 BN_free(point->Y); in ossl_ec_GF2m_simple_point_finish() 262 if (!BN_copy(dest->Y, src->Y)) in ossl_ec_GF2m_simple_point_copy() 493 return BN_GF2m_add(point->Y, point->X, point->Y); in ossl_ec_GF2m_simple_invert() 598 return ((BN_cmp(a->X, b->X) == 0) && BN_cmp(a->Y, b->Y) == 0) ? 0 : 1; in ossl_ec_GF2m_simple_cmp() 755 && !group->meth->field_encode(group, r->Y, r->Y, ctx)) in ec_GF2m_simple_ladder_pre() 790 || !group->meth->field_sqr(group, s->Y, s->Y, ctx) in ec_GF2m_simple_ladder_step() 791 || !group->meth->field_mul(group, s->Y, s->Y, group->b, ctx) in ec_GF2m_simple_ladder_step() 792 || !BN_GF2m_add(r->X, r->Y, s->Y)) in ec_GF2m_simple_ladder_step() [all …]
|
| A D | ecp_nistz256.c | 47 BN_ULONG Y[P256_LIMBS]; member 671 || !ecp_nistz256_bignum_to_field_elem(temp[0].Y, point[i]->Y) in ecp_nistz256_windowed_mul() 739 ecp_nistz256_neg(temp[1].Y, temp[0].Y); in ecp_nistz256_windowed_mul() 740 copy_conditional(temp[0].Y, temp[1].Y, (wvalue & 1)); in ecp_nistz256_windowed_mul() 763 ecp_nistz256_neg(temp[1].Y, temp[0].Y); in ecp_nistz256_windowed_mul() 764 copy_conditional(temp[0].Y, temp[1].Y, wvalue & 1); in ecp_nistz256_windowed_mul() 889 !ecp_nistz256_bignum_to_field_elem(temp.Y, P->Y)) { in ecp_nistz256_mult_precompute() 930 && (ret = bn_set_words(out->Y, in->Y, P256_LIMBS)) in ecp_nistz256_set_from_affine() 1064 p.p.Y[0] | p.p.Y[1] | p.p.Y[2] | p.p.Y[3]); in ecp_nistz256_points_mul() 1067 p.p.Y[4] | p.p.Y[5] | p.p.Y[6] | p.p.Y[7]); in ecp_nistz256_points_mul() [all …]
|
| A D | ecp_smpl.c | 325 point->Y = BN_new(); in ossl_ec_GFp_simple_point_init() 341 BN_free(point->Y); in ossl_ec_GFp_simple_point_finish() 357 if (!BN_copy(dest->Y, src->Y)) in ossl_ec_GFp_simple_point_copy() 404 if (!group->meth->field_encode(group, point->Y, point->Y, ctx)) in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() 947 return BN_usub(point->Y, group->field, point->Y); in ossl_ec_GFp_simple_invert() 1142 tmp1_ = a->Y; in ossl_ec_GFp_simple_cmp() 1150 tmp2_ = b->Y; in ossl_ec_GFp_simple_cmp() 1335 if (!group->meth->field_mul(group, p->Y, p->Y, tmp, ctx)) in ossl_ec_GFp_simple_points_make_affine() 1467 || !group->meth->field_mul(group, p->Y, p->Y, temp, ctx)) in ossl_ec_GFp_simple_blind_coordinates() 1503 t5 = s->Y; in ossl_ec_GFp_simple_ladder_pre() [all …]
|
| A D | ecp_nistputil.c | 83 #define Y(I) (&((char *)point_array)[(3*(I) + 1) * felem_size]) in ossl_ec_GFp_nistp_points_make_affine_internal() macro 126 felem_mul(Y(i), Y(i), Z(i)); /* Y/(Z^3) */ in ossl_ec_GFp_nistp_points_make_affine_internal() 128 felem_contract(Y(i), Y(i)); in ossl_ec_GFp_nistp_points_make_affine_internal()
|
| A D | curve25519.c | 1932 fe_copy(r->Y, p->Y); in ge_p3_to_p2() 1954 fe_mul(r->Y, p->Y, p->Z); in ge_p1p1_to_p2() 1962 fe_mul(r->Y, p->Y, p->Z); in ge_p1p1_to_p3() 1975 fe_add(r->Y, p->X, p->Y); in ge_p2_dbl() 1997 fe_sub(r->Y, p->Y, p->X); in ge_madd() 2003 fe_add(r->Y, r->Z, r->Y); in ge_madd() 2014 fe_sub(r->Y, p->Y, p->X); in ge_msub() 2020 fe_add(r->Y, r->Z, r->Y); in ge_msub() 2031 fe_sub(r->Y, p->Y, p->X); in ge_add() 2038 fe_add(r->Y, r->Z, r->Y); in ge_add() [all …]
|
| A D | ec_mult.c | 106 BN_set_flags((P)->Y, (flags)); \ 251 || (bn_wexpand(s->Y, group_top) == NULL) in ossl_ec_scalar_mul_ladder() 254 || (bn_wexpand(r->Y, group_top) == NULL) in ossl_ec_scalar_mul_ladder() 257 || (bn_wexpand(p->Y, group_top) == NULL) in ossl_ec_scalar_mul_ladder() 281 BN_consttime_swap(c, (a)->Y, (b)->Y, w); \ in ossl_ec_scalar_mul_ladder()
|
| A D | ecp_nistp224.c | 1343 if ((!BN_to_felem(x_in, point->X)) || (!BN_to_felem(y_in, point->Y)) || in ossl_ec_GFp_nistp224_point_get_affine_coordinates() 1525 (!BN_to_felem(y_out, p->Y)) || in ossl_ec_GFp_nistp224_points_mul() 1648 (!BN_to_felem(pre->g_pre_comp[0][1][1], group->generator->Y)) || in ossl_ec_GFp_nistp224_precompute_mult()
|
| A D | ecp_nistp384.c | 1676 if ((!BN_to_felem(x_in, point->X)) || (!BN_to_felem(y_in, point->Y)) || in ossl_ec_GFp_nistp384_point_get_affine_coordinates() 1858 (!BN_to_felem(y_out, p->Y)) || in ossl_ec_GFp_nistp384_points_mul() 1977 (!BN_to_felem(pre->g_pre_comp[1][1], group->generator->Y)) || in ossl_ec_GFp_nistp384_precompute_mult()
|
| A D | ecp_nistp521.c | 1845 if ((!BN_to_felem(x_in, point->X)) || (!BN_to_felem(y_in, point->Y)) || in ossl_ec_GFp_nistp521_point_get_affine_coordinates() 2031 (!BN_to_felem(y_out, p->Y)) || in ossl_ec_GFp_nistp521_points_mul() 2155 (!BN_to_felem(pre->g_pre_comp[1][1], group->generator->Y)) || in ossl_ec_GFp_nistp521_precompute_mult()
|
| A D | ecp_nistp256.c | 1956 if ((!BN_to_felem(x_in, point->X)) || (!BN_to_felem(y_in, point->Y)) || in ossl_ec_GFp_nistp256_point_get_affine_coordinates() 2141 (!BN_to_felem(y_out, p->Y)) || in ossl_ec_GFp_nistp256_points_mul() 2267 (!BN_to_felem(y_tmp, group->generator->Y)) || in ossl_ec_GFp_nistp256_precompute_mult()
|
| A D | ec_local.h | 320 BIGNUM *Y; member
|
| /crypto/sm3/ |
| A D | sm3_local.h | 89 #define FF0(X,Y,Z) (X ^ Y ^ Z) argument 90 #define GG0(X,Y,Z) (X ^ Y ^ Z) argument 92 #define FF1(X,Y,Z) ((X & Y) | ((X | Y) & Z)) argument 93 #define GG1(X,Y,Z) ((Z ^ (X & (Y ^ Z)))) argument
|
| /crypto/aria/ |
| A D | aria.c | 39 #define GET_U8_BE(X, Y) ((uint8_t)((X) >> ((3 - Y) * 8))) argument 442 #define _ARIA_GSRK(RK, X, Y, Q, R) \ argument 446 (((Y)[((Q) ) % 4]) >> (R)) ^ \ 447 (((Y)[((Q) + 3) % 4]) << (32 - (R))); \ 450 (((Y)[((Q) + 1) % 4]) >> (R)) ^ \ 451 (((Y)[((Q) ) % 4]) << (32 - (R))); \ 454 (((Y)[((Q) + 2) % 4]) >> (R)) ^ \ 455 (((Y)[((Q) + 1) % 4]) << (32 - (R))); \ 458 (((Y)[((Q) + 3) % 4]) >> (R)) ^ \ 459 (((Y)[((Q) + 2) % 4]) << (32 - (R))); \ [all …]
|
| /crypto/sm3/asm/ |
| A D | sm3-riscv64-zbb.pl | 92 my ($X, $Y, $Z) = @_; 94 xor $TMP1, $Y, $Z 101 my ($X, $Y, $Z) = @_; 103 or $TMP0, $X, $Y 105 and $TMP1, $X, $Y 112 my ($X, $Y, $Z) = @_; 114 xor $TMP1, $Y, $Z
|
| /crypto/bio/ |
| A D | bss_dgram.c | 130 # define BIO_MAX(X,Y) ((X) > (Y) ? (X) : (Y)) argument
|