Home
last modified time | relevance | path

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

12345

/freebsd/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/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/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/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/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/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 …]
H A Dstrlen-armv6t2.S46 #define tmp2 r5 macro
115 and tmp2, tmp1, #3
117 lsl tmp2, tmp2, #3 /* Bytes -> bits. */
120 S2HI tmp2, const_m1, tmp2
121 orn data1a, data1a, tmp2
123 ornne data1b, data1b, tmp2
/freebsd/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/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/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/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/crypto/libecc/src/curves/
H A Daff_pt_montgomery.c296 fp tmp, tmp2, a, b; in curve_montgomery_to_shortw() local
298 tmp.magic = tmp2.magic = a.magic = b.magic = WORD(0); in curve_montgomery_to_shortw()
303 ret = fp_init(&tmp2, montgomery_crv->A.ctx); EG(ret, err); in curve_montgomery_to_shortw()
309 ret = fp_set_word_value(&tmp2, WORD(3)); EG(ret, err); in curve_montgomery_to_shortw()
311 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in curve_montgomery_to_shortw()
316 ret = fp_sqr(&tmp2, &(montgomery_crv->A)); EG(ret, err); in curve_montgomery_to_shortw()
318 ret = fp_sub(&tmp2, &a, &tmp2); EG(ret, err); in curve_montgomery_to_shortw()
320 ret = fp_mul(&a, &tmp2, &tmp); EG(ret, err); in curve_montgomery_to_shortw()
325 ret = fp_set_word_value(&tmp2, WORD(27)); EG(ret, err); in curve_montgomery_to_shortw()
327 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in curve_montgomery_to_shortw()
[all …]
H A Dec_shortw.c43 fp tmp, tmp2; in ec_shortw_crv_init() local
45 tmp.magic = tmp2.magic = WORD(0); in ec_shortw_crv_init()
55 ret = fp_init(&tmp2, a->ctx); EG(ret, err); in ec_shortw_crv_init()
58 ret = fp_set_word_value(&tmp2, WORD(4)); EG(ret, err); in ec_shortw_crv_init()
59 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in ec_shortw_crv_init()
61 ret = fp_set_word_value(&tmp2, WORD(27)); EG(ret, err); in ec_shortw_crv_init()
62 ret = fp_mul(&tmp2, &tmp2, b); EG(ret, err); in ec_shortw_crv_init()
63 ret = fp_mul(&tmp2, &tmp2, b); EG(ret, err); in ec_shortw_crv_init()
65 ret = fp_add(&tmp, &tmp, &tmp2); EG(ret, err); in ec_shortw_crv_init()
94 fp_uninit(&tmp2); in ec_shortw_crv_init()
H A Daff_pt_edwards.c108 fp x2, y2, tmp1, tmp2; in is_on_edwards_curve() local
110 x2.magic = y2.magic = tmp1.magic = tmp2.magic = WORD(0); in is_on_edwards_curve()
127 ret = fp_init(&tmp2, x->ctx); EG(ret, err); in is_on_edwards_curve()
133 ret = fp_mul(&tmp2, &x2, &(curve->a)); EG(ret, err); in is_on_edwards_curve()
134 ret = fp_add(&tmp2, &tmp2, &y2); EG(ret, err); in is_on_edwards_curve()
136 ret = fp_cmp(&tmp1, &tmp2, &cmp); in is_on_edwards_curve()
146 fp_uninit(&tmp2); in is_on_edwards_curve()
312 fp tmp1, tmp2, A, B; in curve_edwards_to_montgomery() local
314 tmp1.magic = tmp2.magic = A.magic = B.magic = WORD(0); in curve_edwards_to_montgomery()
321 ret = fp_init(&tmp2, edwards_crv->a.ctx); EG(ret, err); in curve_edwards_to_montgomery()
[all …]
/freebsd/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/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/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/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
234 ldp tmp1, tmp2, [src2], #16
[all …]
/freebsd/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/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 …]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dbn-586.pl446 $tmp2="edx";
464 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
468 &add($tmp1,$tmp2);
489 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
493 &add($tmp1,$tmp2);
518 $tmp2="edx";
536 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
540 &sub($tmp1,$tmp2);
561 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
565 &sub($tmp1,$tmp2);
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Dmilenage.c39 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f1() local
49 os_memcpy(tmp2, sqn, 6); in milenage_f1()
50 os_memcpy(tmp2 + 6, amf, 2); in milenage_f1()
51 os_memcpy(tmp2 + 8, tmp2, 8); in milenage_f1()
57 tmp3[(i + 8) % 16] = tmp2[i] ^ opc[i]; in milenage_f1()
91 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f2345() local
97 if (aes_128_encrypt_block(k, tmp1, tmp2)) in milenage_f2345()
108 tmp1[i] = tmp2[i] ^ opc[i]; in milenage_f2345()
124 tmp1[(i + 12) % 16] = tmp2[i] ^ opc[i]; in milenage_f2345()
136 tmp1[(i + 8) % 16] = tmp2[i] ^ opc[i]; in milenage_f2345()
[all …]

12345