Home
last modified time | relevance | path

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

12345

/NextBSD/crypto/openssl/crypto/cast/asm/
HDcast-586.pl18 $tmp2="ebx";
58 &mov($tmp2,&wparam(0));
64 &mov($L,&DWP(0,$tmp2,"",0));
65 &mov($R,&DWP(4,$tmp2,"",0));
81 &E_CAST( 0,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
82 &E_CAST( 1,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
83 &E_CAST( 2,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
84 &E_CAST( 3,$S,$R,$L,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
85 &E_CAST( 4,$S,$L,$R,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
86 &E_CAST( 5,$S,$R,$L,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
[all …]
/NextBSD/crypto/openssl/crypto/bf/asm/
HDbf-586.pl16 $tmp2="ebx";
35 &mov($tmp2,&wparam(0));
41 &mov($L,&DWP(0,$tmp2,"",0));
42 &mov($R,&DWP(4,$tmp2,"",0));
50 &mov($tmp2,&DWP(0,$P,"",0));
53 &xor($L,$tmp2);
58 &BF_ENCRYPT($i+1,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,1);
62 &BF_ENCRYPT($i+2,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,1);
69 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0));
72 &xor($L,$tmp2);
[all …]
HDbf-686.pl16 $tmp2="ebx";
44 &xor( $tmp2, $tmp2);
55 &BF_ENCRYPT($i+1,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3);
59 &BF_ENCRYPT($i+2,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3);
75 &BF_ENCRYPT($i,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3);
78 &BF_ENCRYPT($i-1,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3);
93 local($i,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3)=@_;
99 &movb( &LB($tmp2), &LB($R));
105 &mov( $tmp3, &DWP(&n2a($BF_OFF+0x0400),$P,$tmp2,4));
108 &movb( &LB($tmp2), &LB($R));
[all …]
/NextBSD/crypto/openssl/crypto/sha/asm/
HDsha512-sparcv9.pl112 $tmp2="%g5";
179 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
184 or $tmp1,$tmp2,$tmp2
185 or @pair[1],$tmp2,$tmp2
187 add $h,$tmp2,$T1
188 $ST $tmp2,[%sp+STACK_BIAS+STACK_FRAME+`$i*$SZ`]
196 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
202 or $tmp1,$tmp2,$tmp2
204 or @pair[1],$tmp2,$tmp2
206 add $h,$tmp2,$T1
[all …]
HDsha512-mips.pl126 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]);
139 andi $tmp2,@X[0],0xFF00
142 sll $tmp2,$tmp2,8
144 or $tmp1,$tmp2
154 dsll $tmp2,$tmp0,32
155 or $tmp0,$tmp2 # 0x000000FF000000FF
157 dsrl $tmp2,@X[0],24
159 and $tmp2,$tmp0
161 or $tmp1,$tmp2
162 and $tmp2,@X[0],$tmp0
[all …]
HDsha1-sparcv9a.pl51 $tmp2="%i5";
157 sll $b,30,$tmp2
164 or $tmp2,$b,$b
176 sll $b,30,$tmp2
185 or $tmp2,$b,$b
211 sll $b,30,$tmp2
216 or $tmp2,$b,$b
230 sll $b,30,$tmp2
236 or $tmp2,$b,$b
248 sll $b,30,$tmp2
[all …]
HDsha1-sparcv9.pl52 $tmp2="%i5";
65 sll $b,30,$tmp2
69 or $tmp2,$b,$b
125 sll $b,30,$tmp2
130 or $tmp2,$b,$b
149 sll $b,30,$tmp2
153 or $tmp2,$b,$b
172 sll $b,30,$tmp2
178 or $tmp2,$b,$b
311 subcc %g0,$tmp1,$tmp2 ! should be 64-$tmp1, but -$tmp1 works too
[all …]
/NextBSD/sys/crypto/aesni/
HDaesni_ghash.c112 __m128i tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in gfmul() local
147 tmp2 = _mm_srli_epi32(tmp3, 1); in gfmul()
150 tmp2 = _mm_xor_si128(tmp2, tmp4); in gfmul()
151 tmp2 = _mm_xor_si128(tmp2, tmp5); in gfmul()
152 tmp2 = _mm_xor_si128(tmp2, tmp8); in gfmul()
153 tmp3 = _mm_xor_si128(tmp3, tmp2); in gfmul()
169 __m128i tmp0, tmp1, tmp2, tmp3; in reduce4() local
199 tmp2 = _mm_shuffle_epi32(H3, 78); in reduce4()
201 tmp2 = _mm_xor_si128(tmp2, H3); in reduce4()
210 tmp2 = _mm_clmulepi64_si128(tmp2, tmp6, 0x00); in reduce4()
[all …]
/NextBSD/crypto/openssl/crypto/ripemd/asm/
HDrmd-586.pl20 $tmp2="edx";
86 &mov($tmp2, &Xv($pos));
88 &add($a, $tmp2);
99 &mov($tmp2, &Xv($pos));
106 &add($a, $tmp2);
108 &mov($tmp2, &Xv($pos2)) if $o == 1;
109 &mov($tmp2, &wparam(0)) if $o == 2;
126 &add($a, $tmp2);
127 &mov($tmp2, $c);
129 &and($tmp2, $b);
[all …]
/NextBSD/crypto/openssl/crypto/des/asm/
HDcrypt586.pl79 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_;
84 &mov( $tmp2, &wparam(3)); # 2
88 &and( $t, $tmp2); # 2
92 &mov( $tmp2, $t);
93 &shl( $tmp2, 16); # 1
95 &xor( $t, $tmp2); # 2
98 &mov( $tmp2, &DWP(&n2a(($S+1)*4),$trans,"",0)); # 2
101 &xor( $t, $tmp2);
106 &xor( $tmp2, $tmp2);
108 &movb( &LB($tmp2), &HB($u) );
[all …]
HDdes-586.pl206 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t,$wp1)=@_;
208 &mov( $u, &DWP(&n2a($S*4),$tmp2,"",0));
210 &mov( $t, &DWP(&n2a(($S+1)*4),$tmp2,"",0));
212 &xor( $tmp2, $tmp2);
217 &movb( &LB($tmp2), &HB($u) );
221 &xor( $L, &DWP("0x200",$trans,$tmp2,0));
222 &movb( &LB($tmp2), &HB($t) );
227 &xor( $L, &DWP("0x300",$trans,$tmp2,0));
228 &movb( &LB($tmp2), &HB($t) );
232 &xor( $L, &DWP("0x700",$trans,$tmp2,0));
[all …]
/NextBSD/lib/libc/stdlib/
HDheapsort.c70 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument
73 tmp2 = b; \
75 *tmp1++ = *tmp2++; \
118 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument
126 COPY(par, child, count, size, tmp1, tmp2); \
134 COPY(child, k, count, size, tmp1, tmp2); \
137 COPY(child, par, count, size, tmp1, tmp2); \
164 char tmp, *tmp1, *tmp2; in heapsort_b() local
193 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); in heapsort_b()
194 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); in heapsort_b()
[all …]
/NextBSD/crypto/openssl/crypto/ec/
HDecp_oct.c77 BIGNUM *tmp1, *tmp2, *x, *y; in ec_GFp_simple_set_compressed_coordinates() local
93 tmp2 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates()
110 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates()
112 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates()
115 if (!BN_mod_sqr(tmp2, x_, &group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates()
117 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates()
123 if (!BN_mod_lshift1_quick(tmp2, x, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
125 if (!BN_mod_add_quick(tmp2, tmp2, x, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
127 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
131 if (!group->meth->field_decode(group, tmp2, &group->a, ctx)) in ec_GFp_simple_set_compressed_coordinates()
[all …]
/NextBSD/crypto/openssl/crypto/md5/asm/
HDmd5-586.pl21 $tmp2="ebp";
48 &mov($tmp2,&DWP($xo[$ki]*4,$K,"",0)) if $pos < 0; # very first one
56 &lea($a,&DWP($t,$a,$tmp2,1));
66 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
77 &lea($a,&DWP($t,$a,$tmp2,1));
82 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
108 &lea($a,&DWP($t,$a,$tmp2,1));
114 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0));
123 &lea($a,&DWP($t,$a,$tmp2,1));
129 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2);
[all …]
/NextBSD/crypto/openssl/crypto/aes/
HDaes_ige.c119 aes_block_t tmp, tmp2; in AES_ige_encrypt() local
129 tmp2.data[n] = tmp.data[n] ^ iv.data[n]; in AES_ige_encrypt()
130 AES_encrypt((unsigned char *)tmp2.data, in AES_ige_encrypt()
131 (unsigned char *)tmp2.data, key); in AES_ige_encrypt()
133 tmp2.data[n] ^= iv2.data[n]; in AES_ige_encrypt()
134 store_block(out, tmp2); in AES_ige_encrypt()
135 iv = tmp2; in AES_ige_encrypt()
172 aes_block_t tmp, tmp2; in AES_ige_encrypt() local
181 tmp2 = tmp; in AES_ige_encrypt()
189 iv = tmp2; in AES_ige_encrypt()
[all …]
/NextBSD/crypto/openssl/crypto/bn/asm/
HDbn-586.pl435 $tmp2="edx";
453 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
457 &add($tmp1,$tmp2);
478 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
482 &add($tmp1,$tmp2);
507 $tmp2="edx";
525 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
529 &sub($tmp1,$tmp2);
550 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
554 &sub($tmp1,$tmp2);
[all …]
/NextBSD/contrib/wpa/src/crypto/
HDmilenage.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 …]
/NextBSD/sys/arm/include/
HDatomic-v6.h98 uint32_t tmp = 0, tmp2 = 0; in atomic_add_32() local
107 : "=&r" (tmp), "+r" (tmp2) in atomic_add_32()
147 uint32_t tmp = 0, tmp2 = 0; in ATOMIC_ACQ_REL_LONG() local
156 : "=&r" (tmp), "+r" (tmp2), "+r" (address), "+r" (setmask) in ATOMIC_ACQ_REL_LONG()
308 uint32_t tmp = 0, tmp2 = 0, ret = 0; in atomic_fetchadd_32() local
317 : "+r" (ret), "=&r" (tmp), "+r" (tmp2), "+r" (p), "+r" (val) in atomic_fetchadd_32()
405 uint32_t ret, tmp = 0, tmp2 = 0; in atomic_readandclear_32() local
414 : "=r" (ret), "=&r" (tmp), "+r" (tmp2), "+r" (p) in atomic_readandclear_32()
452 uint32_t tmp = 0, tmp2 = 0; in atomic_set_32() local
461 : "=&r" (tmp), "+r" (tmp2), "+r" (address), "+r" (setmask) in atomic_set_32()
[all …]
/NextBSD/crypto/openssl/crypto/aes/asm/
HDaesv8-armx.pl494 my ($dat2,$in2,$tmp2)=map("q$_",(10,11,9));
546 veor $tmp2,$in1,$rndlast
580 veor $dat2,$dat2,$tmp2
630 veor $tmp2,$in1,$rndlast
635 veor $tmp2,$tmp2,$dat2
638 vst1.8 {$tmp2},[$out],#16
670 my ($dat2,$in2,$tmp2)=map("q$_",(10,11,9));
762 aesmc $tmp2,$dat2
771 aese $tmp2,q12
772 aesmc $tmp2,$tmp2
[all …]
/NextBSD/sys/contrib/ipfilter/netinet/
HDipf_rb.h40 _t *parent, *tmp1, *tmp2; \
44 tmp2 = tmp1->_f.left; \
45 node->_f.right = tmp2; \
46 if (tmp2 != & _n##_rb_zero) \
47 tmp2->_f.parent = node; \
62 _t *parent, *tmp1, *tmp2; \
66 tmp2 = tmp1->_f.right; \
67 node->_f.left = tmp2; \
68 if (tmp2 != &_n##_rb_zero) \
69 tmp2->_f.parent = node; \
[all …]
/NextBSD/contrib/ipfilter/
HDipf_rb.h40 _t *parent, *tmp1, *tmp2; \
44 tmp2 = tmp1->_f.left; \
45 node->_f.right = tmp2; \
46 if (tmp2 != & _n##_rb_zero) \
47 tmp2->_f.parent = node; \
62 _t *parent, *tmp1, *tmp2; \
66 tmp2 = tmp1->_f.right; \
67 node->_f.left = tmp2; \
68 if (tmp2 != &_n##_rb_zero) \
69 tmp2->_f.parent = node; \
[all …]
/NextBSD/crypto/openssl/crypto/bn/asm/x86/
HDadd.pl16 $tmp2="edx";
34 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
38 &add($tmp1,$tmp2);
59 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
63 &add($tmp1,$tmp2);
HDsub.pl16 $tmp2="edx";
34 &mov($tmp2,&DWP($i*4,$b,"",0)); # *b
38 &sub($tmp1,$tmp2);
59 &mov($tmp2,&DWP($i*4,$b,"",0));# *b
63 &sub($tmp1,$tmp2);
/NextBSD/contrib/apr-util/crypto/
HDcrypt_blowfish.c459 tmp2 = L >> 8; \
460 tmp2 &= 0xFF; \
465 tmp2 = data.ctx.S[2][tmp2]; \
468 tmp3 ^= tmp2; \
479 tmp2 = L >> 6; \
480 tmp2 &= 0x3FC; \
486 tmp2 = BF_INDEX(data.ctx.S[2], tmp2); \
489 tmp3 ^= tmp2; \
663 BF_word tmp1, tmp2, tmp3, tmp4; in BF_crypt() local
739 tmp2 = data.binary.salt[1]; in BF_crypt()
[all …]
/NextBSD/contrib/gcc/
HDsreal.c454 unsigned HOST_WIDE_INT tmp1, tmp2, tmp3; in sreal_mul() local
466 tmp2 = a->sig_lo * b->sig_hi; in sreal_mul()
470 r->sig_hi += (tmp2 >> SREAL_PART_BITS) + (tmp3 >> SREAL_PART_BITS); in sreal_mul()
471 tmp2 &= ((uhwi) 1 << SREAL_PART_BITS) - 1; in sreal_mul()
473 tmp1 = tmp2 + tmp3; in sreal_mul()
502 unsigned HOST_WIDE_INT tmp, tmp1, tmp2; in sreal_div() local
517 tmp2 = ((b->sig_hi << (SREAL_PART_BITS / 2)) in sreal_div()
520 tmp2++; in sreal_div()
523 tmp = tmp1 / tmp2; in sreal_div()
524 tmp1 = (tmp1 % tmp2) << (SREAL_PART_BITS / 2); in sreal_div()
[all …]

12345