Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 43) sorted by relevance

12

/openssl/crypto/seed/
H A Dseed.c449 seed_word x1, x2, x3, x4; in SEED_set_key() local
452 char2word(rawkey, x1); in SEED_set_key()
457 t0 = (x1 + x3 - KC0) & 0xffffffff; in SEED_set_key()
509 seed_word x1, x2, x3, x4; in SEED_encrypt() local
512 char2word(s, x1); in SEED_encrypt()
518 E_SEED(t0, t1, x1, x2, x3, x4, 0); in SEED_encrypt()
519 E_SEED(t0, t1, x3, x4, x1, x2, 2); in SEED_encrypt()
546 word2char(x1, d + 8); in SEED_encrypt()
554 seed_word x1, x2, x3, x4; in SEED_decrypt() local
557 char2word(s, x1); in SEED_decrypt()
[all …]
/openssl/crypto/modes/asm/
H A Dghash-riscv64.pl157 ld $x1, 8($Xi)
197 sd $x1, 8($Xi)
214 ld $x1, 8($Xi)
216 @{[brev8 $x1, $x1]}
252 @{[brev8 $x1, $x1]}
254 sd $x1, 8($Xi)
303 xor $x1, $x1, $t1
355 @{[brev8 $x1, $x1]}
374 xor $x1, $x1, $t1
405 @{[brev8 $x1, $x1]}
[all …]
H A Dghash-c64xplus.pl38 ($xip,$x0,$x1,$xib)=map("B$_",(6..9)); # $xip zaps $len
70 || LDBU *++${xip}[15],$x1 ; Xi[15]
132 || [B0] MV $xia,$x1
140 || ADD $x1,$x1,$xib ; SHL $x1,1,$xib
141 || SHL $x1,1,$xia
236 || [B0] MV $xia,$x1
/openssl/crypto/rc2/
H A Drc2_cbc.c98 register RC2_INT x0, x1, x2, x3, t; in RC2_encrypt() local
103 x1 = (RC2_INT) (l >> 16L); in RC2_encrypt()
116 x1 = (t << 2) | (t >> 14); in RC2_encrypt()
117 t = (x2 + (x3 & ~x1) + (x0 & x1) + *(p0++)) & 0xffff; in RC2_encrypt()
128 x1 += p1[x0 & 0x3f]; in RC2_encrypt()
129 x2 += p1[x1 & 0x3f]; in RC2_encrypt()
144 register RC2_INT x0, x1, x2, x3, t; in RC2_decrypt() local
149 x1 = (RC2_INT) (l >> 16L); in RC2_decrypt()
163 x2 = (t - (x3 & ~x1) - (x0 & x1) - *(p0--)) & 0xffff; in RC2_decrypt()
164 t = ((x1 << 14) | (x1 >> 2)) & 0xffff; in RC2_decrypt()
[all …]
/openssl/crypto/aes/asm/
H A Dbsaes-armv8.pl1144 str q1, [x1]
1167 str q0, [x1]
1187 str q0, [x1]
1204 str q2, [x1]
1218 str q1, [x1]
1229 str q0, [x1]
1424 mov x20, x1
1500 mov x21, x1
1507 mov x1, sp
1700 mov x10, x1
[all …]
H A Dbsaes-armv7.pl194 veor $x0, $x0, $x1
195 vand $t1, $x1, $y0
197 veor $x1, $t1, $t0
204 my ($x0,$x1,$y0,$y1,$t0)=@_;
208 veor $x0, $x0, $x1
209 vand $x1, $x1, $y0
211 veor $x1, $x1, $x0
218 my ($x0,$x1,$y0,$y1,$t0,
225 veor $x0, $x0, $x1
227 vand $x1, $x1, $y0
[all …]
H A Dbsaes-x86_64.pl238 pxor $x1, $x0
239 pand $y0, $x1
241 pxor $x1, $x0
242 pxor $t0, $x1
253 pxor $x1, $x0
254 pand $y0, $x1
256 pxor $x0, $x1
263 my ($x0,$x1,$y0,$y1,$t0,
272 pxor $x1, $x0
274 pand $y0, $x1
[all …]
/openssl/crypto/poly1305/
H A Dpoly1305_ieee754.c231 double x0, x1, x2, x3; in poly1305_blocks() local
301 x1 = in1.d - TWO(52)*TWO32; in poly1305_blocks()
306 x1 += h1lo; in poly1305_blocks()
320 x1 = in1.d - TWO(52)*TWO32; in poly1305_blocks()
329 h0hi += x1; in poly1305_blocks()
349 x1 = (h1lo - c1lo) + c0lo; in poly1305_blocks()
354 x1 += (h1hi - c1hi) + c0hi; in poly1305_blocks()
365 h0lo = s3lo * x1 + s2lo * x2 + s1lo * x3 + r0lo * x0; in poly1305_blocks()
396 x1 = (h1lo - c1lo) + c0lo; in poly1305_blocks()
401 x1 += (h1hi - c1hi) + c0hi; in poly1305_blocks()
[all …]
/openssl/crypto/idea/
H A Di_cbc.c99 register unsigned long x1, x2, x3, x4, t0, t1, ul; in IDEA_encrypt() local
102 x1 = (x2 >> 16); in IDEA_encrypt()
117 x1 &= 0xffff; in IDEA_encrypt()
118 idea_mul(x1, x1, *p, ul); in IDEA_encrypt()
127 d[0] = (t0 & 0xffff) | ((x1 & 0xffff) << 16); in IDEA_encrypt()
H A Didea_local.h86 x1&=0xffff; \
87 idea_mul(x1,x1,*p,ul); p++; \
92 t0=(x1^x3)&0xffff; \
97 x1^=t1; \
/openssl/crypto/poly1305/asm/
H A Dpoly1305-ppcfp.pl319 mtfsf 255,$x1
342 fsub $x1,$x1,$two32
348 fadd $x1,$x1,$h1lo
419 fadd $x1,$h1lo,$h1hi
428 fmul $h0lo,$s3lo,$x1
429 fmul $h0hi,$s3hi,$x1
430 fmul $h2lo,$r1lo,$x1
431 fmul $h2hi,$r1hi,$x1
432 fmul $h1lo,$r0lo,$x1
433 fmul $h1hi,$r0hi,$x1
[all …]
H A Dpoly1305-sparcv9.pl707 fsubd $x1,$two32,$x1
726 faddd $h1lo,$x1,$x1
801 faddd $h1lo,$h1hi,$x1
811 fmuld $x1,$s3lo,$h0lo
812 fmuld $x1,$s3hi,$h0hi
813 fmuld $x1,$r1lo,$h2lo
814 fmuld $x1,$r1hi,$h2hi
815 fmuld $x1,$r0lo,$h1lo
816 fmuld $x1,$r0hi,$h1hi
817 fmuld $x1,$r2lo,$h3lo
[all …]
/openssl/crypto/sm2/
H A Dsm2_sign.c219 BIGNUM *x1 = NULL; in sm2_sig_gen() local
237 x1 = BN_CTX_get(ctx); in sm2_sig_gen()
272 || !EC_POINT_get_affine_coordinates(group, kG, x1, NULL, in sm2_sig_gen()
274 || !BN_mod_add(r, e, x1, order, ctx)) { in sm2_sig_gen()
335 BIGNUM *x1 = NULL; in sm2_sig_verify() local
347 x1 = BN_CTX_get(ctx); in sm2_sig_verify()
348 if (x1 == NULL) { in sm2_sig_verify()
390 || !EC_POINT_get_affine_coordinates(group, pt, x1, NULL, ctx)) { in sm2_sig_verify()
395 if (!BN_mod_add(t, e, x1, order, ctx)) { in sm2_sig_verify()
H A Dsm2_crypt.c116 BIGNUM *x1 = NULL; in ossl_sm2_encrypt() local
165 x1 = BN_CTX_get(ctx); in ossl_sm2_encrypt()
194 || !EC_POINT_get_affine_coordinates(group, kG, x1, y1, ctx) in ossl_sm2_encrypt()
236 ctext_struct.C1x = x1; in ossl_sm2_encrypt()
/openssl/crypto/sha/asm/
H A Dsha512-ppc.pl469 my ($x0,$x1)=("r3","r4"); # zaps $ctx and $inp
563 lwz $x1,`$XOFF+4+$SZ*(($i+1)%16)`($sp)
594 adde $x1,$x1,$a1
609 adde $x1,$x1,$a1
611 adde $x1,$x1,$s1
613 ($t0,$t1,$x0,$x1) = ($x0,$x1,$t0,$t1);
/openssl/test/
H A Dec_internal_test.c252 BIGNUM *x1 = NULL, *y1 = NULL, *z1 = NULL, *x2 = NULL, *y2 = NULL; in underflow_test() local
267 x1 = BN_CTX_get(ctx); in underflow_test()
283 if (!TEST_int_gt(BN_hex2bn(&x1, x1str), 0) in underflow_test()
287 || !TEST_true(ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp(grp, P, x1, in underflow_test()
290 || !TEST_true(EC_POINT_get_affine_coordinates(grp, Q, x1, y1, ctx)) in underflow_test()
295 if (!TEST_int_eq(BN_cmp(x1, x2), 0) in underflow_test()
H A Dcrltest.c301 static STACK_OF(X509_CRL) *make_CRL_stack(X509_CRL *x1, X509_CRL *x2) in STACK_OF()
305 sk_X509_CRL_push(sk, x1); in STACK_OF()
306 X509_CRL_up_ref(x1); in STACK_OF()
/openssl/crypto/ec/
H A Dec2_smpl.c359 BIGNUM *x0, *y0, *x1, *y1, *x2, *y2, *s, *t; in ossl_ec_GF2m_simple_add() local
388 x1 = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_add()
407 if (!BN_copy(x1, b->X)) in ossl_ec_GF2m_simple_add()
412 if (!EC_POINT_get_affine_coordinates(group, b, x1, y1, ctx)) in ossl_ec_GF2m_simple_add()
416 if (BN_GF2m_cmp(x0, x1)) { in ossl_ec_GF2m_simple_add()
417 if (!BN_GF2m_add(t, x0, x1)) in ossl_ec_GF2m_simple_add()
432 if (BN_GF2m_cmp(y0, y1) || BN_is_zero(x1)) { in ossl_ec_GF2m_simple_add()
438 if (!group->meth->field_div(group, s, y1, x1, ctx)) in ossl_ec_GF2m_simple_add()
440 if (!BN_GF2m_add(s, s, x1)) in ossl_ec_GF2m_simple_add()
451 if (!BN_GF2m_add(y2, x1, x2)) in ossl_ec_GF2m_simple_add()
H A Decp_sm2p256.c144 ALIGN32 BN_ULONG x1[4] = {1, 0, 0, 0}; \
154 mod_div(x1, x1); \
162 mod_sub(x1, x1, x2); \
165 mod_sub(x2, x2, x1); \
169 memcpy(out, x1, 32); \
H A Decp_nistp224.c907 const felem x1, const felem y1, const felem z1, in point_add() argument
930 felem_mul(tmp2, ftmp2, x1); in point_add()
941 felem_assign(ftmp2, x1); in point_add()
1006 point_double(x3, y3, z3, x1, y1, z1); in point_add()
1088 copy_conditional(x_out, x1, z2_is_zero); in point_add()
/openssl/crypto/ec/curve448/
H A Dcurve448.c391 gf x1, x2, z2, x3, z3, t1, t2; in ossl_x448_int() local
396 (void)gf_deserialize(x1, base, 1, 0); in ossl_x448_int()
399 gf_copy(x3, x1); in ossl_x448_int()
433 ossl_gf_mul(z3, x1, z2); /* z3 = x1(DA-CB)^2 */ in ossl_x448_int()
451 ossl_gf_mul(x1, x2, z2); in ossl_x448_int()
452 gf_serialize(out, x1, 1); in ossl_x448_int()
453 nz = ~gf_eq(x1, ZERO); in ossl_x448_int()
455 OPENSSL_cleanse(x1, sizeof(x1)); in ossl_x448_int()
/openssl/crypto/chacha/asm/
H A Dchacha-armv8-sve.pl331 my $x1 = @sx[$idx1];
558 my $x1 = @sx[$idx1];
569 dup @mx[$idx1].s,$x1
570 dup @bak[$idx1].s,$x1
579 my $x1 = @sx[$idx1];
589 dup @mx[$idx1].s,$x1
/openssl/include/openssl/
H A Dasn1t.h.in82 # define ASN1_ITYPE_SEQUENCE 0x1
524 # define ASN1_TFLG_OPTIONAL (0x1)
527 # define ASN1_TFLG_SET_OF (0x1 << 1)
548 # define ASN1_TFLG_IMPTAG (0x1 << 3)
570 # define ASN1_TFLG_APPLICATION (0x1<<6)
586 # define ASN1_TFLG_ADB_OID (0x1<<8)
588 # define ASN1_TFLG_ADB_INT (0x1<<9)
595 # define ASN1_TFLG_NDEF (0x1<<11)
598 # define ASN1_TFLG_EMBED (0x1 << 12)
H A Dx509v3.h.in95 # define X509V3_CTX_TEST 0x1
118 # define X509V3_EXT_DYNAMIC 0x1
361 # define IDP_PRESENT 0x1
409 # define EXFLAG_BCONS 0x1
453 # define XKU_SSL_SERVER 0x1
463 # define X509_PURPOSE_DYNAMIC 0x1
766 # define X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT 0x1
/openssl/test/certs/
H A Dcyrillic_crl.utf82 Version 2 (0x1)

Completed in 65 milliseconds

12