Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 25 of 129) sorted by relevance

123456

/freebsd-src/crypto/openssl/crypto/cast/asm/
H A Dcast-586.pl30 $tmp2="ebx";
72 &mov($tmp2,&wparam(0));
78 &mov($L,&DWP(0,$tmp2,"",0));
79 &mov($R,&DWP(4,$tmp2,"",0));
95 &E_CAST( 0,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
96 &E_CAST( 1,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
97 &E_CAST( 2,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
98 &E_CAST( 3,$S,$R,$L,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
99 &E_CAST( 4,$S,$L,$R,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
100 &E_CAST( 5,$S,$R,$L,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
[all …]
/freebsd-src/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-mips.pl71 ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1);
118 dsll $tmp2,$tmp0,32
119 or $tmp0,$tmp2 # 0x000000FF000000FF
123 dsrl $tmp2,$in0,24
127 and $tmp2,$tmp0
130 or $tmp1,$tmp2
132 and $tmp2,$in0,$tmp0
136 dsll $tmp2,8
140 or $tmp1,$tmp2
237 dsll $tmp2,$tmp0,32
[all …]
/freebsd-src/contrib/cortex-strings/src/aarch64/
H A Dstrcpy.S55 #define tmp2 x9 macro
121 and tmp2, srcin, #(MIN_PAGE_SIZE - 1)
124 cmp tmp2, #(MIN_PAGE_SIZE - 16)
140 rev tmp2, data1
141 sub tmp1, tmp2, zeroones
142 orr tmp2, tmp2, #REP8_7f
143 bics has_nul1, tmp1, tmp2
150 orr tmp2, data1, #REP8_7f
151 bics has_nul1, tmp1, tmp2
165 mov tmp2, #56
[all …]
H A Dstrlen.S47 #define tmp2 x5 macro
118 orr tmp2, data1, REP8_7f
121 bics has_nul1, tmp1, tmp2
147 orr tmp2, tmp1, tmp3
148 tst tmp2, zeroones, lsl 7
153 orr tmp2, tmp1, tmp3
154 tst tmp2, zeroones, lsl 7
159 orr tmp2, data1, REP8_7f
161 bics has_nul1, tmp1, tmp2
176 orr tmp2, data1, REP8_7f
[all …]
H A Dstrcmp.S58 #define tmp2 x8 macro
79 orr tmp2, data1, #REP8_7f
81 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
118 orr tmp2, tmp3, #REP8_7f
119 bic has_nul, tmp1, tmp2
146 mov tmp2, #~0
149 lsl tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */
152 lsr tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */
154 orr data1, data1, tmp2
155 orr data2, data2, tmp2
H A Dstrnlen.S47 #define tmp2 x9 macro
101 orr tmp2, data1, #REP8_7f
104 bic has_nul1, tmp1, tmp2
134 orr tmp2, data2, #REP8_7f
135 bic has_nul2, tmp1, tmp2
160 mov tmp2, #~0
168 lsl tmp2, tmp2, tmp4 /* Shift (tmp1 & 63). */
171 lsr tmp2, tmp2, tmp4 /* Shift (tmp1 & 63). */
175 orr data1, data1, tmp2
176 orr data2a, data2, tmp2
H A Dstrncmp.S59 #define tmp2 x9 macro
94 orr tmp2, data1, #REP8_7f
97 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
157 orr tmp2, tmp3, #REP8_7f
158 bic has_nul, tmp1, tmp2
186 mov tmp2, #~0
190 lsl tmp2, tmp2, tmp3 /* Shift (tmp1 & 63). */
193 lsr tmp2, tmp2, tmp3 /* Shift (tmp1 & 63). */
200 orr data1, data1, tmp2
201 orr data2, data2, tmp2
/freebsd-src/crypto/openssl/crypto/bf/asm/
H A Dbf-586.pl25 $tmp2="ebx";
46 &mov($tmp2,&wparam(0));
52 &mov($L,&DWP(0,$tmp2,"",0));
53 &mov($R,&DWP(4,$tmp2,"",0));
61 &mov($tmp2,&DWP(0,$P,"",0));
64 &xor($L,$tmp2);
69 &BF_ENCRYPT($i+1,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,1);
73 &BF_ENCRYPT($i+2,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,1);
80 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
83 &xor($L,$tmp2);
[all …]
/freebsd-src/sys/arm64/arm64/
H A Dmemset.S43 #define tmp2 x4 macro
110 neg tmp2, dst
111 ands tmp2, tmp2, #15
116 sub count, count, tmp2
118 add dst, dst, tmp2
143 neg tmp2, dst
144 ands tmp2, tmp2, #15
146 sub count, count, tmp2
148 add dst, dst, tmp2
157 adrp tmp2, dczva_line_size
[all …]
H A Dstrncmp.S38 #define tmp2 x9 macro
80 orr tmp2, data1, #REP8_7f
83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
139 orr tmp2, tmp3, #REP8_7f
140 bic has_nul, tmp1, tmp2
169 mov tmp2, #~0
170 LS_FW tmp2, tmp2, tmp3 /* Shift (count & 63). */
174 orr data1, data1, tmp2
175 orr data2, data2, tmp2
238 ldp tmp1, tmp2, [src2], #16
[all …]
/freebsd-src/crypto/openssl/crypto/sha/asm/
H A Dsha512-sparcv9.pl121 $tmp2="%g5";
188 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
193 or $tmp1,$tmp2,$tmp2
194 or @pair[1],$tmp2,$tmp2
196 add $h,$tmp2,$T1
197 $ST $tmp2,[%sp+STACK_BIAS+STACK_FRAME+`$i*$SZ`]
205 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
211 or $tmp1,$tmp2,$tmp2
213 or @pair[1],$tmp2,$tmp2
215 add $h,$tmp2,$T1
[all …]
H A Dsha512-mips.pl141 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]);
158 andi $tmp2,@X[0],0xFF00
161 sll $tmp2,$tmp2,8
163 or $tmp1,$tmp2
173 dsll $tmp2,$tmp0,32
174 or $tmp0,$tmp2 # 0x000000FF000000FF
176 dsrl $tmp2,@X[0],24
178 and $tmp2,$tmp0
180 or $tmp1,$tmp2
181 and $tmp2,@X[0],$tmp0
[all …]
H A Dsha1-sparcv9a.pl57 $tmp2="%i5";
163 sll $b,30,$tmp2
170 or $tmp2,$b,$b
182 sll $b,30,$tmp2
191 or $tmp2,$b,$b
217 sll $b,30,$tmp2
222 or $tmp2,$b,$b
236 sll $b,30,$tmp2
242 or $tmp2,$b,$b
254 sll $b,30,$tmp2
[all …]
/freebsd-src/contrib/cortex-strings/src/arm/
H A Dmemcpy.S87 #define tmp2 r10 macro
242 str tmp2, [sp, #-FRAME_SIZE]!
243 and tmp2, src, #7
245 cmp tmp1, tmp2
258 lsls tmp2, dst, #29
260 rsbs tmp2, tmp2, #0
261 sub count, count, tmp2, lsr #29
264 lsls tmp2, tmp2, #2
266 ldrbne tmp2, [src], #1
268 strbne tmp2, [dst], #1
[all …]
/freebsd-src/contrib/arm-optimized-routines/string/arm/
H A Dmemcpy.S65 #define tmp2 r10 macro
212 str tmp2, [sp, #-FRAME_SIZE]!
213 and tmp2, src, #7
215 cmp tmp1, tmp2
228 lsls tmp2, dst, #29
230 rsbs tmp2, tmp2, #0
231 sub count, count, tmp2, lsr #29
234 lsls tmp2, tmp2, #2
236 ldrbne tmp2, [src], #1
238 strbne tmp2, [dst], #1
[all …]
/freebsd-src/sys/crypto/aesni/
H A Daesni_ghash.c110 __m128i tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in gfmul() local
145 tmp2 = _mm_srli_epi32(tmp3, 1); in gfmul()
148 tmp2 = _mm_xor_si128(tmp2, tmp4); in gfmul()
149 tmp2 = _mm_xor_si128(tmp2, tmp5); in gfmul()
150 tmp2 = _mm_xor_si128(tmp2, tmp8); in gfmul()
151 tmp3 = _mm_xor_si128(tmp3, tmp2); in gfmul()
167 __m128i tmp0, tmp1, tmp2, tmp3; in reduce4() local
197 tmp2 = _mm_shuffle_epi32(H3, 78); in reduce4()
199 tmp2 = _mm_xor_si128(tmp2, H3); in reduce4()
208 tmp2 = _mm_clmulepi64_si128(tmp2, tmp6, 0x00); in reduce4()
[all …]
/freebsd-src/crypto/openssl/crypto/ripemd/asm/
H A Drmd-586.pl29 $tmp2="edx";
97 &mov($tmp2, &Xv($pos));
99 &add($a, $tmp2);
110 &mov($tmp2, &Xv($pos));
117 &add($a, $tmp2);
119 &mov($tmp2, &Xv($pos2)) if $o == 1;
120 &mov($tmp2, &wparam(0)) if $o == 2;
137 &add($a, $tmp2);
138 &mov($tmp2, $c);
140 &and($tmp2, $b);
[all …]
/freebsd-src/contrib/unbound/contrib/
H A Dupdate-anchor.sh58 tmp2=$tmpfile.2
87 echo 'trusted-keys {' > "$tmp2"
94 sed -e 's/^\.\././' | sort >> "$tmp2"
100 sed -e 's/^\.\././' | sort >> "$tmp2"
102 echo '};' >> "$tmp2"
111 sed -e 's/^\.\././' | sort > "$tmp2"
117 sed -e 's/^\.\././' | sort > "$tmp2"
122 diff $tmp2 $keyfile >/dev/null 2>&1
124 cat $tmp2 > $keyfile
131 rm -f $tmpfile $tmp2 $tmp3
/freebsd-src/crypto/openssl/crypto/des/asm/
H A Dcrypt586.pl86 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_;
91 &mov( $tmp2, &wparam(3)); # 2
95 &and( $t, $tmp2); # 2
99 &mov( $tmp2, $t);
100 &shl( $tmp2, 16); # 1
102 &xor( $t, $tmp2); # 2
105 &mov( $tmp2, &DWP(&n2a(($S+1)*4),$trans,"",0)); # 2
108 &xor( $t, $tmp2);
113 &xor( $tmp2, $tmp2);
115 &movb( &LB($tmp2), &HB($u) );
[all …]
/freebsd-src/lib/libc/stdlib/
H A Dheapsort.c66 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument
69 tmp2 = b; \
71 *tmp1++ = *tmp2++; \
114 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument
122 COPY(par, child, count, size, tmp1, tmp2); \
130 COPY(child, k, count, size, tmp1, tmp2); \
133 COPY(child, par, count, size, tmp1, tmp2); \
160 char tmp, *tmp1, *tmp2; in heapsort_b() local
189 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); in heapsort_b()
190 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); in heapsort_b()
[all …]
/freebsd-src/crypto/openssl/crypto/ec/
H A Decp_oct.c28 BIGNUM *tmp1, *tmp2, *x, *y; in ossl_ec_GFp_simple_set_compressed_coordinates() local
41 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
58 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
60 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
63 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
71 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
73 if (!BN_mod_add_quick(tmp2, tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
75 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
79 if (!group->meth->field_decode(group, tmp2, group->a, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
[all …]
/freebsd-src/crypto/openssl/crypto/md5/asm/
H A Dmd5-586.pl33 $tmp2="ebp";
62 &mov($tmp2,&DWP($xo[$ki]*4,$K,"",0)) if $pos < 0; # very first one
70 &lea($a,&DWP($t,$a,$tmp2,1));
73 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
93 &lea($a,&DWP($t,$a,$tmp2,1));
96 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
121 &lea($a,&DWP($t,$a,$tmp2,1));
124 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0));
139 &lea($a,&DWP($t,$a,$tmp2,1));
142 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
[all …]
/freebsd-src/contrib/netbsd-tests/lib/libc/hash/
H A Dt_hmac.c44 uint8_t tmp2[EVP_MAX_MD_SIZE]; in test() local
88 memset(tmp2, 0, sizeof(tmp2)); in test()
91 tmp2len = hmac(names[t], key, i, data, j, tmp2, in test()
92 sizeof(tmp2)); in test()
96 if (tmp1[k] != tmp2[k]) { in test()
99 k, tmp1[k], tmp2[k]); in test()
/freebsd-src/contrib/arm-optimized-routines/string/aarch64/
H A Dstrncmp.S34 #define tmp2 x9 macro
76 orr tmp2, data1, #REP8_7f
79 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
135 orr tmp2, tmp3, #REP8_7f
136 bic has_nul, tmp1, tmp2
165 mov tmp2, #~0
166 LS_FW tmp2, tmp2, tmp3 /* Shift (count & 63). */
170 orr data1, data1, tmp2
171 orr data2, data2, tmp2
[all...]
/freebsd-src/crypto/openssl/crypto/aes/
H A Daes_ige.c89 aes_block_t tmp, tmp2; in AES_ige_encrypt() local
99 tmp2.data[n] = tmp.data[n] ^ iv.data[n]; in AES_ige_encrypt()
100 AES_encrypt((unsigned char *)tmp2.data, in AES_ige_encrypt()
101 (unsigned char *)tmp2.data, key); in AES_ige_encrypt()
103 tmp2.data[n] ^= iv2.data[n]; in AES_ige_encrypt()
104 store_block(out, tmp2); in AES_ige_encrypt()
105 iv = tmp2; in AES_ige_encrypt()
142 aes_block_t tmp, tmp2; in AES_ige_encrypt() local
151 tmp2 = tmp; in AES_ige_encrypt()
159 iv = tmp2; in AES_ige_encrypt()
[all …]

123456