/openssl/crypto/chacha/asm/ |
H A D | chacha-loongarch64.pl | 603 vxor.v @y[0],@y[0],@x[0] 604 vxor.v @y[1],@y[1],@x[1] 605 vxor.v @y[2],@y[2],@x[2] 606 vxor.v @y[3],@y[3],@x[3] 616 vxor.v @y[0],@y[0],@x[4] 617 vxor.v @y[1],@y[1],@x[5] 618 vxor.v @y[2],@y[2],@x[6] 619 vxor.v @y[3],@y[3],@x[7] 629 vxor.v @y[0],@y[0],@x[8] 1049 @y = (@y[0],@y[8],@y[1],@y[9],@y[2],@y[10],@y[3],@y[11], [all …]
|
H A D | chacha-ia64.pl | 22 my @y = map("r$_",(8..11)); 119 extr.u @y[2]=@x[$d2],16,16 143 or @x[$b3]=@x[$b3],@y[3] 149 extr.u @y[0]=@x[$d0],24,8 152 extr.u @y[1]=@x[$d1],24,8 158 extr.u @y[2]=@x[$d2],24,8 161 extr.u @y[3]=@x[$d3],24,8 164 or @x[$d3]=@x[$d3],@y[3] 184 or @x[$b3]=@x[$b3],@y[3] 189 or @x[$b3]=@x[$b3],@y[3] [all …]
|
/openssl/crypto/md5/asm/ |
H A D | md5-aarch64.pl | 240 bic x6, x8, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 242 and x13, x9, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 250 bic x6, x9, x8 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 252 and x13, x4, x8 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 260 bic x6, x4, x9 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 262 and x13, x17, x9 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 270 bic x6, x17, x4 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 272 and x13, x8, x4 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 280 bic x6, x8, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) 282 and x13, x9, x17 // Aux function round 2 G(x,y,z)=((x&z)|(~z&y)) [all …]
|
H A D | md5-x86_64.pl | 23 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 27 xor $y, %r11d /* y ^ ... */ 34 mov $y, %r11d /* (NEXT STEP) z' = $y */ 47 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 54 and $y, %r11d /* y & (not z) */ 57 mov $y, %r11d /* (NEXT STEP) z' = $y */ 59 mov $y, %r12d /* (NEXT STEP) z' = $y */ 73 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 104 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 112 xor $y, %r11d /* y ^ ... */ [all …]
|
H A D | md5-loongarch64.pl | 31 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 62 $code .= " xor $t1,$x,$y /* (NEXT STEP) y ^ z */\n"; 77 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 86 and $t1,$y,$t1 /* y & (not z) */ 96 $code .= " move $t0,$y /* (NEXT STEP) z' = $y */\n"; 97 $code .= " nor $t1,$zero,$y /* (NEXT STEP) not z' = not $y */\n"; 110 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 127 $code .= " xor $t1,$x,$y /* (NEXT STEP) y ^ z */\n"; 140 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 149 xor $t1,$y,$t1 /* y ^ ... */ [all …]
|
/openssl/crypto/aes/asm/ |
H A D | bsaes-armv7.pl | 247 veor @y[0], @y[0], @y[2] 248 veor @y[1], @y[1], @y[3] 264 veor @y[0], @y[0], @y[2] 265 veor @y[1], @y[1], @y[3] 494 veor @y[1], @y[1], @y[0] 505 veor @y[1], @y[1], @y[0] 535 veor @y[4], @y[4], @y[7] 544 veor @y[3], @y[3], @y[1] 553 veor @y[3], @y[3], @y[1] 563 veor @y[4], @y[4], @y[7] [all …]
|
H A D | bsaes-x86_64.pl | 296 pxor @y[2], @y[0] 297 pxor @y[3], @y[1] 315 pxor @y[2], @y[0] 316 pxor @y[3], @y[1] 563 pxor @y[0], @y[1] 572 pxor @y[0], @y[1] 605 pxor @y[7], @y[4] 613 pxor @y[1], @y[3] 622 pxor @y[1], @y[3] 632 pxor @y[7], @y[4] [all …]
|
/openssl/crypto/aes/ |
H A D | aes_core.c | 153 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 155 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 157 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 159 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 161 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 222 y = ((y & 0xFCFCFCFCu) >> 2) | ((y & 0x03030303u) << 6); in SubWord() 224 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 226 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 228 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() 230 y = ((y & 0xFEFEFEFEu) >> 1) | ((y & 0x01010101u) << 7); in SubWord() [all …]
|
/openssl/crypto/ec/ |
H A D | ecp_oct.c | 28 BIGNUM *tmp1, *tmp2, *x, *y; in ossl_ec_GFp_simple_set_compressed_coordinates() local 43 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates() 44 if (y == NULL) in ossl_ec_GFp_simple_set_compressed_coordinates() 124 if (BN_is_zero(y)) { in ossl_ec_GFp_simple_set_compressed_coordinates() 140 if (!BN_usub(y, group->field, y)) in ossl_ec_GFp_simple_set_compressed_coordinates() 166 BIGNUM *x, *y; in ossl_ec_GFp_simple_point2oct() local 210 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_point2oct() 211 if (y == NULL) in ossl_ec_GFp_simple_point2oct() 281 BIGNUM *x, *y; in ossl_ec_GFp_simple_oct2point() local 330 y = BN_CTX_get(ctx); in ossl_ec_GFp_simple_oct2point() [all …]
|
H A D | ec2_oct.c | 44 BIGNUM *tmp, *x, *y, *z; in ossl_ec_GF2m_simple_set_compressed_coordinates() local 61 y = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates() 99 if (!group->meth->field_mul(group, y, x, z, ctx)) in ossl_ec_GF2m_simple_set_compressed_coordinates() 102 if (!BN_GF2m_add(y, y, x)) in ossl_ec_GF2m_simple_set_compressed_coordinates() 132 BIGNUM *x, *y, *yxi; in ossl_ec_GF2m_simple_point2oct() local 181 y = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_point2oct() 217 skip = field_len - BN_num_bytes(y); in ossl_ec_GF2m_simple_point2oct() 226 skip = BN_bn2bin(y, buf + i); in ossl_ec_GF2m_simple_point2oct() 262 BIGNUM *x, *y, *yxi; in ossl_ec_GF2m_simple_oct2point() local 330 y = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_oct2point() [all …]
|
H A D | ecp_s390x_nistp.c | 54 BIGNUM *x, *y; in ec_GFp_s390x_nistp_mul() local 69 y = BN_CTX_get(ctx); in ec_GFp_s390x_nistp_mul() 70 if (x == NULL || y == NULL) { in ec_GFp_s390x_nistp_mul() 100 x, y, ctx) != 1 in ec_GFp_s390x_nistp_mul() 102 || BN_bn2binpad(y, param + S390X_OFF_SRC_Y(len), len) == -1 in ec_GFp_s390x_nistp_mul() 107 || BN_bin2bn(param + S390X_OFF_RES_Y(len), len, y) == NULL in ec_GFp_s390x_nistp_mul() 231 BIGNUM *x, *y; in ecdsa_s390x_nistp_verify_sig() local 257 y = BN_CTX_get(ctx); in ecdsa_s390x_nistp_verify_sig() 258 if (x == NULL || y == NULL) { in ecdsa_s390x_nistp_verify_sig() 268 x, y, ctx) != 1 in ecdsa_s390x_nistp_verify_sig() [all …]
|
/openssl/crypto/bn/ |
H A D | bn_sqrt.c | 24 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local 68 y = BN_CTX_get(ctx); in BN_mod_sqrt() 69 if (y == NULL) in BN_mod_sqrt() 148 if (!BN_mod_sqr(y, b, p, ctx)) in BN_mod_sqrt() 183 if (!BN_set_word(y, i)) in BN_mod_sqrt() 188 if (BN_ucmp(y, p) >= 0) { in BN_mod_sqrt() 189 if (!(p->neg ? BN_add : BN_sub) (y, y, p)) in BN_mod_sqrt() 193 if (BN_is_zero(y)) in BN_mod_sqrt() 227 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt() 229 if (BN_is_one(y)) { in BN_mod_sqrt() [all …]
|
/openssl/crypto/bn/asm/ |
H A D | sparcv8.S | 63 rd %y,%g1 74 rd %y,%g1 85 rd %y,%g1 95 rd %y,%g1 117 rd %y,%g1 128 rd %y,%g1 140 rd %y,%g1 176 rd %y,%g1 183 rd %y,%g1 191 rd %y,%g1 [all …]
|
/openssl/crypto/ec/curve448/ |
H A D | curve448.c | 54 gf_copy(y, t2); in gf_invert() 68 ossl_gf_sqr(a, q->y); in point_double_internal() 120 gf_add(e->y, n->b, n->a); in niels_to_pt() 142 ossl_gf_mul(d->y, a, c); in add_niels_to_pt() 163 ossl_gf_mul(d->y, a, c); in sub_niels_from_pt() 213 ossl_gf_sqr(b, p->y); in ossl_curve448_point_valid() 284 gf x, y, z, t; in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa() local 298 ossl_gf_sqr(y, z); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa() 299 gf_sub(y, y, u); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa() 313 ossl_gf_mul(x, y, z); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa() [all …]
|
H A D | field.h | 61 mask_t gf_eq(const gf x, const gf y); 82 static ossl_inline void gf_sqrn(gf_s * RESTRICT y, const gf x, int n) in gf_sqrn() argument 88 ossl_gf_sqr(y, x); in gf_sqrn() 92 ossl_gf_sqr(y, tmp); in gf_sqrn() 96 ossl_gf_sqr(tmp, y); in gf_sqrn() 97 ossl_gf_sqr(y, tmp); in gf_sqrn() 140 y[0].limb[i]); in gf_cond_sel() 144 y[0].limb[i]); in gf_cond_sel() 152 gf y; in gf_cond_neg() local 154 gf_sub(y, ZERO, x); in gf_cond_neg() [all …]
|
H A D | f_generic.c | 48 gf y; in gf_hibit() local 50 gf_add(y, x, x); in gf_hibit() 51 gf_strong_reduce(y); in gf_hibit() 52 return 0 - (y->limb[0] & 1); in gf_hibit() 58 gf y; in gf_lobit() local 60 gf_copy(y, x); in gf_lobit() 61 gf_strong_reduce(y); in gf_lobit() 62 return 0 - (y->limb[0] & 1); in gf_lobit()
|
/openssl/crypto/rc4/ |
H A D | rc4_enc.c | 31 register RC4_INT x, y, tx, ty; in RC4() local 35 y = key->y; in RC4() 41 y=(tx+y)&0xff; \ in RC4() 42 d[x]=ty=d[y]; \ in RC4() 43 d[y]=tx; \ in RC4() 90 key->y = y; in RC4()
|
/openssl/crypto/ripemd/ |
H A D | rmd_local.h | 50 #define F1(x,y,z) ((x) ^ (y) ^ (z)) argument 51 #define F2(x,y,z) ((((y) ^ (z)) & (x)) ^ (z)) argument 52 #define F3(x,y,z) (((~(y)) | (x)) ^ (z)) argument 53 #define F4(x,y,z) ((((x) ^ (y)) & (z)) ^ (y)) argument 54 #define F5(x,y,z) (((~(z)) | (y)) ^ (x)) argument
|
/openssl/crypto/sha/ |
H A D | keccak1600.c | 137 for (y = 1; y < 5; y++) { in Theta() 151 for (y = 0; y < 5; y++) { in Theta() 164 for (y = 0; y < 5; y++) { in Rho() 165 A[y][0] = ROL64(A[y][0], rhotates[y][0]); in Rho() 166 A[y][1] = ROL64(A[y][1], rhotates[y][1]); in Rho() 219 for (y = 0; y < 5; y++) { in Chi() 220 C[0] = A[y][0] ^ (~A[y][1] & A[y][2]); in Chi() 221 C[1] = A[y][1] ^ (~A[y][2] & A[y][3]); in Chi() 222 C[2] = A[y][2] ^ (~A[y][3] & A[y][4]); in Chi() 223 C[3] = A[y][3] ^ (~A[y][4] & A[y][0]); in Chi() [all …]
|
/openssl/util/ |
H A D | check-format-test-positives.c | 62 y,z /*@ no space after ',', reported unless sloppy-spc */ 72 for ( ; x; y) ; /*@2 space after '(' and before ';', unless sloppy-spc */ 88 char y[] = { /*@0 unclosed brace within initializer/enum expression */ 92 ? y /*@0 unclosed '? (conditional expression) */ 115 (y *=z) + /*@ missing space after '*=' reported unless sloppy-spc */
|
/openssl/crypto/aria/ |
H A D | aria.c | 920 o[i] = x[i] ^ y->c[i]; in xor128() 1010 o[i ] = sb3[x->c[i ] ^ y->c[i ]]; in sl2() 1011 o[i + 1] = sb4[x->c[i + 1] ^ y->c[i + 1]]; in sl2() 1012 o[i + 2] = sb1[x->c[i + 2] ^ y->c[i + 2]]; in sl2() 1021 static void a(ARIA_u128 *y, const ARIA_u128 *x) in a() argument 1065 ARIA_u128 y; in FO() local 1067 sl1(&y, d, rk); in FO() 1068 a(o, &y); in FO() 1079 ARIA_u128 y; in FE() local 1081 sl2(y.c, d, rk); in FE() [all …]
|
/openssl/test/ |
H A D | ectest.c | 551 || !TEST_true(BN_rshift1(y, y))) in prime_field_tests() 562 || !TEST_true(BN_rand(y, BN_num_bits(y), 0, 0)) in prime_field_tests() 600 BN_free(y); in prime_field_tests() 809 || !TEST_true(BN_hex2bn(&y, test->y)) in char2_curve_test() 879 || !TEST_true(BN_rshift1(y, y))) in char2_curve_test() 891 if (!TEST_true(BN_rand(y, BN_num_bits(y), 0, 0)) in char2_curve_test() 923 BN_free(y); in char2_curve_test() 1080 BN_free(y); in char2_field_tests() 1129 BN_free(y); in hybrid_point_encoding_test() 1441 BN_free(y); in nistp_single_test() [all …]
|
/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | dsa-onecolumn.pem | 27 y 35 y 44 y 76 y 91 y 247 y 264 y 269 y 319 y 336 y [all …]
|
/openssl/crypto/ |
H A D | o_time.c | 67 static long date_to_julian(int y, int m, int d); 68 static void julian_to_date(long jd, int *y, int *m, int *d); 179 static long date_to_julian(int y, int m, int d) in date_to_julian() argument 181 return (1461 * (y + 4800 + (m - 14) / 12)) / 4 + in date_to_julian() 183 (3 * ((y + 4900 + (m - 14) / 12) / 100)) / 4 + d - 32075; in date_to_julian() 186 static void julian_to_date(long jd, int *y, int *m, int *d) in julian_to_date() argument 199 *y = 100 * (n - 49) + i + L; in julian_to_date()
|
/openssl/ssl/quic/ |
H A D | uint_set.c | 91 static uint64_t u64_min(uint64_t x, uint64_t y) in u64_min() argument 93 return x < y ? x : y; in u64_min() 96 static uint64_t u64_max(uint64_t x, uint64_t y) in u64_max() argument 98 return x > y ? x : y; in u64_max() 260 UINT_SET_ITEM *z, *zprev, *y; in ossl_uint_set_remove() local 305 y = create_set_item(end + 1, z->range.end); in ossl_uint_set_remove() 306 ossl_list_uint_set_insert_after(s, z, y); in ossl_uint_set_remove()
|