Home
last modified time | relevance | path

Searched refs:x3 (Results 1 – 25 of 788) sorted by relevance

12345678910>>...32

/freebsd/crypto/openssl/crypto/seed/
H A Dseed.c449 seed_word x1, x2, x3, x4; in SEED_set_key() local
454 char2word(rawkey + 8, x3); in SEED_set_key()
457 t0 = (x1 + x3 - KC0) & 0xffffffff; in SEED_set_key()
460 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC1); in SEED_set_key()
464 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC2); in SEED_set_key()
466 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC3); in SEED_set_key()
468 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC4); in SEED_set_key()
470 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC5); in SEED_set_key()
472 KEYSCHEDULE_UPDATE0(t0, t1, x1, x2, x3, x4, KC6); in SEED_set_key()
474 KEYSCHEDULE_UPDATE1(t0, t1, x1, x2, x3, x4, KC7); in SEED_set_key()
[all …]
/freebsd/contrib/bearssl/src/symcipher/
H A Daes_x86ni_cbcdec.c66 __m128i x0, x1, x2, x3, e0, e1, e2, e3; in br_aes_x86ni_cbcdec_run() local
72 x3 = _mm_loadu_si128((void *)(buf + 48)); in br_aes_x86ni_cbcdec_run()
80 x3 = x2; in br_aes_x86ni_cbcdec_run()
83 x3 = x1; in br_aes_x86ni_cbcdec_run()
88 x3 = x0; in br_aes_x86ni_cbcdec_run()
94 e3 = x3; in br_aes_x86ni_cbcdec_run()
98 x3 = _mm_xor_si128(x3, sk[0]); in br_aes_x86ni_cbcdec_run()
102 x3 = _mm_aesdec_si128(x3, sk[1]); in br_aes_x86ni_cbcdec_run()
106 x3 = _mm_aesdec_si128(x3, sk[2]); in br_aes_x86ni_cbcdec_run()
110 x3 = _mm_aesdec_si128(x3, sk[3]); in br_aes_x86ni_cbcdec_run()
[all …]
H A Daes_x86ni_ctr.c69 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctr_run() local
74 x3 = _mm_insert_epi32(ivx, br_bswap32(cc + 3), 3); in br_aes_x86ni_ctr_run()
78 x3 = _mm_xor_si128(x3, sk[0]); in br_aes_x86ni_ctr_run()
82 x3 = _mm_aesenc_si128(x3, sk[1]); in br_aes_x86ni_ctr_run()
86 x3 = _mm_aesenc_si128(x3, sk[2]); in br_aes_x86ni_ctr_run()
90 x3 = _mm_aesenc_si128(x3, sk[3]); in br_aes_x86ni_ctr_run()
94 x3 = _mm_aesenc_si128(x3, sk[4]); in br_aes_x86ni_ctr_run()
98 x3 = _mm_aesenc_si128(x3, sk[5]); in br_aes_x86ni_ctr_run()
102 x3 = _mm_aesenc_si128(x3, sk[6]); in br_aes_x86ni_ctr_run()
106 x3 = _mm_aesenc_si128(x3, sk[7]); in br_aes_x86ni_ctr_run()
[all …]
H A Daes_pwr8_ctrcbc.c231 #define BLOCK_ENCRYPT_X4_128(x0, x1, x2, x3) \ argument
235 vxor(x3, x3, 0) \
239 vcipher(x3, x3, 1) \
243 vcipher(x3, x3, 2) \
247 vcipher(x3, x3, 3) \
251 vcipher(x3, x3, 4) \
255 vcipher(x3, x3, 5) \
259 vcipher(x3, x3, 6) \
263 vcipher(x3, x3, 7) \
267 vcipher(x3, x3, 8) \
[all …]
H A Daes_x86ni_ctrcbc.c92 __m128i x0, x1, x2, x3; in br_aes_x86ni_ctrcbc_ctr() local
101 x3 = _mm_shuffle_epi8(ivx3, erev); in br_aes_x86ni_ctrcbc_ctr()
106 x3 = _mm_xor_si128(x3, sk[0]); in br_aes_x86ni_ctrcbc_ctr()
110 x3 = _mm_aesenc_si128(x3, sk[1]); in br_aes_x86ni_ctrcbc_ctr()
114 x3 = _mm_aesenc_si128(x3, sk[2]); in br_aes_x86ni_ctrcbc_ctr()
118 x3 = _mm_aesenc_si128(x3, sk[3]); in br_aes_x86ni_ctrcbc_ctr()
122 x3 = _mm_aesenc_si128(x3, sk[4]); in br_aes_x86ni_ctrcbc_ctr()
126 x3 = _mm_aesenc_si128(x3, sk[5]); in br_aes_x86ni_ctrcbc_ctr()
130 x3 = _mm_aesenc_si128(x3, sk[6]); in br_aes_x86ni_ctrcbc_ctr()
134 x3 = _mm_aesenc_si128(x3, sk[7]); in br_aes_x86ni_ctrcbc_ctr()
[all …]
H A Daes_ct64.c41 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; in br_aes_ct64_bitslice_Sbox() local
59 x3 = q[4]; in br_aes_ct64_bitslice_Sbox()
68 y14 = x3 ^ x5; in br_aes_ct64_bitslice_Sbox()
70 y9 = x0 ^ x3; in br_aes_ct64_bitslice_Sbox()
74 y4 = y1 ^ x3; in br_aes_ct64_bitslice_Sbox()
240 uint64_t x0, x1, x2, x3; in br_aes_ct64_interleave_in() local
245 x3 = w[3]; in br_aes_ct64_interleave_in()
249 x3 |= (x3 << 16); in br_aes_ct64_interleave_in()
253 x3 &= (uint64_t)0x0000FFFF0000FFFF; in br_aes_ct64_interleave_in()
257 x3 |= (x3 << 8); in br_aes_ct64_interleave_in()
[all …]
/freebsd/lib/libc/aarch64/string/
H A Dtimingsafe_memcmp.S57 bfi x3, x5, #32, #32 // join words in little endian
59 rev x3, x3 // swap word order
61 cmp x3, x4
66 .L0916: ldr x3, [x0]
71 cmp x3, x4 // mismatch in first pair?
72 csel x3, x3, x5, ne // use second pair if first pair equal
74 rev x3, x3
76 cmp x3, x4
82 .Lgt16: ldp x3, x4, [x0], #16
84 cmp x3, x5 // mismatch in first pair?
[all …]
H A Dstrncmp.S33 add x3, x0, #16 // end of head
35 eor x3, x3, x0
37 orr x3, x3, x4 // in either str1 or str2
47 lsl x3, x13, x14 // string head
62 tst x5, x3
121 lsl x3, x13, x14 // string head
147 tst x5, x3
185 rbit x3, x5
186 clz x3, x3 // index of mismatch
187 lsr x3, x3, #2
[all …]
H A Dmemccpy.S14 subs x3, x3, #1
36 adds x12, x12, x3 // distance from alignment boundary - 32
86 mov x3, x12
91 subs x3, x3, #16 // enough left for another round?
106 cmp x3, #16 // more than a full chunk left?
120 subs x3, x3, #32
125 add x3, x3, #16
134 lsl x5, x3, #2 // shift 0xf to the limits position
163 lsr x3, x8, #2
165 add x0, x0, x3 // restore dst pointer
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dpopcountti2.c21 tu_int x3 = (tu_int)a; in __popcountti2() local
22 x3 = x3 - ((x3 >> 1) & in __popcountti2()
25 x3 = ((x3 >> 2) & in __popcountti2()
27 (x3 & (((tu_int)0x3333333333333333uLL << 64) | 0x3333333333333333uLL)); in __popcountti2()
29 x3 = (x3 + (x3 >> 4)) & in __popcountti2()
32 du_int x2 = (du_int)(x3 + (x3 >> 64)); in __popcountti2()
H A Dparityti2.c24 su_int x3 = x2.s.high ^ x2.s.low; in __parityti2() local
25 x3 ^= x3 >> 16; in __parityti2()
26 x3 ^= x3 >> 8; in __parityti2()
27 x3 ^= x3 >> 4; in __parityti2()
28 return (0x6996 >> (x3 & 0xF)) & 1; in __parityti2()
/freebsd/crypto/openssl/crypto/rc2/
H A Drc2_cbc.c98 register RC2_INT x0, x1, x2, x3, t; in RC2_encrypt() local
106 x3 = (RC2_INT) (l >> 16L); in RC2_encrypt()
113 t = (x0 + (x1 & ~x3) + (x2 & x3) + *(p0++)) & 0xffff; in RC2_encrypt()
115 t = (x1 + (x2 & ~x0) + (x3 & x0) + *(p0++)) & 0xffff; in RC2_encrypt()
117 t = (x2 + (x3 & ~x1) + (x0 & x1) + *(p0++)) & 0xffff; in RC2_encrypt()
119 t = (x3 + (x0 & ~x2) + (x1 & x2) + *(p0++)) & 0xffff; in RC2_encrypt()
120 x3 = (t << 5) | (t >> 11); in RC2_encrypt()
127 x0 += p1[x3 & 0x3f]; in RC2_encrypt()
130 x3 += p1[x2 & 0x3f]; in RC2_encrypt()
137 (unsigned long)(x2 & 0xffff) | ((unsigned long)(x3 & 0xffff) << 16L); in RC2_encrypt()
[all …]
/freebsd/sys/arm64/arm64/
H A Dbus_space_asm.S65 strb w1, [x3], #1
86 strh w1, [x3], #2
107 str w1, [x3], #4
128 str x1, [x3], #8
149 strb w1, [x3], #1
170 strh w1, [x3], #2
191 str w1, [x3], #4
212 str x1, [x3], #8
236 str x3, [x1, x2]
252 1: ldrb w1, [x3], #1
[all …]
H A Dcpufunc_asm.S57 adrp x3, dcache_line_size /* Load the D cache line size */
58 ldr x3, [x3, :lo12:dcache_line_size]
60 adrp x3, idcache_line_size /* Load the I & D cache line size */
61 ldr x3, [x3, :lo12:idcache_line_size]
63 sub x4, x3, #1 /* Get the address mask */
73 add x0, x0, x3 /* Move to the next line */
74 subs x1, x1, x3 /* Reduce the size */
80 add x2, x2, x3 /* Move to the next line */
81 subs x4, x4, x3 /* Reduce the size */
H A Dcopyinout.S117 3: cbz x3, 4f /* Check if done != NULL */
118 str x5, [x3] /* done = count */
152 orr x3, x0, x1
153 ands x3, x3, 0x07
173 ldp x3, x4, [x0], #0x10
177 stp x3, x4, [x1], #0x10
191 ldp x3, x4, [x0], #0x10
192 stp x3, x4, [x1], #0x10
199 ldr x3, [x0], #0x08
200 str x3, [x1], #0x08
/freebsd/contrib/bearssl/src/rsa/
H A Drsa_pkcs1_sig_pad.c33 size_t u, x3, xlen; in br_rsa_pkcs1_sig_pad() local
72 x3 = hash_oid[0]; in br_rsa_pkcs1_sig_pad()
78 if (xlen < (x3 + hash_len + 21)) { in br_rsa_pkcs1_sig_pad()
83 u = xlen - x3 - hash_len - 11; in br_rsa_pkcs1_sig_pad()
87 x[u + 2] = x3 + hash_len + 8; in br_rsa_pkcs1_sig_pad()
89 x[u + 4] = x3 + 4; in br_rsa_pkcs1_sig_pad()
91 memcpy(x + u + 6, hash_oid, x3 + 1); in br_rsa_pkcs1_sig_pad()
92 u += x3 + 7; in br_rsa_pkcs1_sig_pad()
H A Drsa_pkcs1_sig_unpad.c38 size_t u, x2, x3, pad_len, zlen; in br_rsa_pkcs1_sig_unpad() local
94 x3 = hash_oid[0]; in br_rsa_pkcs1_sig_unpad()
95 pad_len = x3 + 9; in br_rsa_pkcs1_sig_unpad()
99 x2 = x3 + 2; in br_rsa_pkcs1_sig_unpad()
101 x2 = x3 + 4; in br_rsa_pkcs1_sig_unpad()
112 memcpy(pad2 + 6, hash_oid, x3 + 1); in br_rsa_pkcs1_sig_unpad()
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dmpc8548cds.dtsi123 reg = <0x3>;
174 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
175 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
180 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0
185 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
186 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
192 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
193 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
198 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
199 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
[all …]
H A Dmpc8572ds.dtsi169 reg = <0x3>;
251 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
252 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
257 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
258 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
263 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
264 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
269 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
270 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
275 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
[all …]
H A Dmpc8540ads.dts173 reg = <0x3>;
274 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
280 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
281 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
284 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
286 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
291 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
292 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
298 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
304 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
[all …]
H A Dmpc8560ads.dts167 reg = <0x3>;
313 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
316 /* IDSEL 0x3 */
319 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
320 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
323 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
325 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
330 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
331 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
337 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
[all …]
/freebsd/contrib/arm-optimized-routines/string/aarch64/experimental/
H A Dmemchr-sve.S21 mov x3, 0 /* initialize off */
24 0: whilelo p1.b, x3, x2 /* make sure off < max */
29 ldff1b z0.b, p1/z, [x0, x3]
35 incb x3 /* speculate increment */
38 decb x3 /* undo speculate */
42 add x0, x0, x3 /* form partial pointer */
53 incp x3, p0.b
/freebsd/sys/powerpc/fpu/
H A Dfpu_sqrt.c191 u_int x0, x1, x2, x3; in fpu_sqrt() local
239 FPU_ADDS(x3, x3, x3); FPU_ADDCS(x2, x2, x2); \ in fpu_sqrt()
245 x2 = (x2 << 1) | (x3 >> 31); x3 <<= 1; \ in fpu_sqrt()
258 x3 = x->fp_mant[3]; in fpu_sqrt()
378 FPU_SUBS(d3, x3, t3); in fpu_sqrt()
383 x0 = d0, x1 = d1, x2 = d2; x3 = d3; in fpu_sqrt()
391 FPU_SUBS(d3, x3, t3); in fpu_sqrt()
396 x0 = d0, x1 = d1, x2 = d2; x3 = d3; in fpu_sqrt()
408 x->fp_sticky = x0 | x1 | x2 | x3; in fpu_sqrt()
/freebsd/contrib/bearssl/src/ec/
H A Dec_c25519_m62.c380 uint64_t x1[5], x2[5], z2[5], x3[5], z3[5]; in api_mul() local
413 memcpy(x3, x1, sizeof x1); in api_mul()
435 f255_cswap(x2, x3, swap); in api_mul()
466 f255_add(c, x3, z3); in api_mul()
469 f255_sub(d, x3, z3); in api_mul()
478 f255_add(x3, da, cb); in api_mul()
479 f255_mul(x3, x3, x3); in api_mul()
495 f255_cswap(x2, x3, swap); in api_mul()
507 memcpy(x3, x1, sizeof x1); in api_mul()
512 f255_mul(x3, x3, x3); in api_mul()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/
H A Dx25519_ref10.c61 fe25519 x3; in crypto_scalarmult_curve25519_ref10() local
81 fe25519_copy(x3, x1); in crypto_scalarmult_curve25519_ref10()
89 fe25519_cswap(x2, x3, swap); in crypto_scalarmult_curve25519_ref10()
92 fe25519_sub(tmp0, x3, z3); in crypto_scalarmult_curve25519_ref10()
95 fe25519_add(z2, x3, z3); in crypto_scalarmult_curve25519_ref10()
100 fe25519_add(x3, z3, z2); in crypto_scalarmult_curve25519_ref10()
106 fe25519_sq(x3, x3); in crypto_scalarmult_curve25519_ref10()
111 fe25519_cswap(x2, x3, swap); in crypto_scalarmult_curve25519_ref10()

12345678910>>...32