Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd-10-stable/crypto/openssl/crypto/cast/asm/
Dcast-586.pl17 $tmp1="ecx";
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);
87 &E_CAST( 6,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4);
88 &E_CAST( 7,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4);
89 &E_CAST( 8,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4);
[all …]
/freebsd-10-stable/crypto/openssl/crypto/sha/asm/
Dsha512-sparcv9.pl109 $tmp1="%g4";
141 srlx @X[$j+1],$tmp32,$tmp1
143 or $tmp1,@X[$j],@X[$j]
178 sllx @pair[0],$tmp0,$tmp1
181 or $tmp1,$tmp2,$tmp2
196 sllx @pair[0],$tmp0,$tmp1
199 or $tmp1,$tmp2,$tmp2
224 $SLL $e,`$SZ*8-@Sigma1[2]`,$tmp1
227 xor $tmp1,$h,$h
228 $SLL $e,`$SZ*8-@Sigma1[1]`,$tmp1
[all …]
Dsha1-sparcv9a.pl50 $tmp1="%i4";
154 srl $a,27,$tmp1
158 add $tmp1,$e,$e
159 andn $d,$b,$tmp1
163 or $tmp1,$tmp3,$tmp1
165 add $tmp1,$e,$e
173 srl $a,27,$tmp1
177 add $tmp1,$e,$e
179 andn $d,$b,$tmp1
183 or $tmp1,$tmp3,$tmp1
[all …]
Dsha1-sparcv9.pl49 $tmp1="%i4";
59 srl $a,27,$tmp1
62 add $tmp1,$e,$e
64 andn $d,$b,$tmp1
66 or $tmp1,$tmp0,$tmp1
75 add $tmp1,$e,$e
87 srl $a,27,$tmp1
93 srlx @X[($j+7)%8],32,$tmp1
96 or $tmp1,$Xi,$Xi
103 srl $a,27,$tmp1 !!
[all …]
Dsha1-586.pl131 $tmp1="ebp";
146 if ($n==0) { &mov($tmp1,$a); }
147 else { &mov($a,$tmp1); }
148 &rotl($tmp1,5); # tmp1=ROTATE(a,5)
150 &add($tmp1,$e); # tmp1+=e;
157 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi
160 &add($f,$tmp1); } # f+=tmp1
161 else { &add($tmp1,$f); } # f becomes a in next round
162 &mov($tmp1,$a) if ($alt && $n==15);
174 &and($tmp1,$c); # tmp1 to hold F_00_19(b,c,d), b&=c^d
[all …]
Dsha512-mips.pl120 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]);
128 srl $tmp1,@X[0],8
131 andi $tmp1,0xFF00
134 or $tmp1,$tmp2
135 or @X[0],$tmp1
141 and $tmp1,@X[0],$tmp0 # byte swap($i)
143 dsll $tmp1,24
146 or $tmp1,$tmp2
151 or $tmp1,$tmp2
152 or @X[0],$tmp1
[all …]
/freebsd-10-stable/crypto/openssl/crypto/md5/asm/
Dmd5-586.pl20 $tmp1="edi";
47 &mov($tmp1,$C) if $pos < 0;
53 &xor($tmp1,$d); # F function - part 2
55 &and($tmp1,$b); # F function - part 3
58 &xor($tmp1,$d); # F function - part 4
60 &add($a,$tmp1);
61 &mov($tmp1,&Np($c)) if $pos < 1; # next tmp1 for R0
62 &mov($tmp1,&Np($c)) if $pos == 1; # next tmp1 for R1
79 &xor($tmp1,$b); # G function - part 2
80 &and($tmp1,$d); # G function - part 3
[all …]
/freebsd-10-stable/crypto/openssl/crypto/bf/asm/
Dbf-586.pl15 $tmp1="eax";
44 &xor( $tmp1, $tmp1);
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);
77 &BF_ENCRYPT($i,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,0);
80 &BF_ENCRYPT($i-1,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,0);
87 &mov(&DWP(4,$tmp1,"",0),$L);
89 &mov(&DWP(0,$tmp1,"",0),$R);
95 local($i,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,$enc)=@_;
105 &movb( &LB($tmp1), &HB($tmp2)); # A
[all …]
Dbf-686.pl15 $tmp1="eax";
43 &xor( $tmp1, $tmp1);
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)=@_;
98 &movb( &LB($tmp1), &HB($R));
104 &mov( $tot, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4));
107 &movb( &LB($tmp1), &HB($R));
[all …]
/freebsd-10-stable/contrib/wpa/src/crypto/
Dmilenage.c39 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f1() local
44 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f1()
45 if (aes_128_encrypt_block(k, tmp1, tmp1)) in milenage_f1()
60 tmp3[i] ^= tmp1[i]; in milenage_f1()
64 if (aes_128_encrypt_block(k, tmp3, tmp1)) in milenage_f1()
67 tmp1[i] ^= opc[i]; in milenage_f1()
69 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1()
71 os_memcpy(mac_s, tmp1 + 8, 8); /* f1* */ in milenage_f1()
91 u8 tmp1[16], tmp2[16], tmp3[16]; in milenage_f2345() local
96 tmp1[i] = _rand[i] ^ opc[i]; in milenage_f2345()
[all …]
/freebsd-10-stable/crypto/openssl/crypto/ripemd/asm/
Drmd-586.pl19 $tmp1="eax";
85 &xor($tmp1, $d) if $o == -1;
87 &xor($tmp1, $b);
90 &add($a, $tmp1);
91 &mov($tmp1, &Np($c)); # NEXT
98 &xor($tmp1, $d);
100 &xor($tmp1, $b);
101 &add($a, $tmp1);
102 &mov($tmp1, &Np($c)) if $o <= 0;
103 &mov($tmp1, -1) if $o == 1;
[all …]
/freebsd-10-stable/crypto/openssl/crypto/des/asm/
Dcrypt586.pl79 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_;
90 &mov( $tmp1, $u);
91 &shl( $tmp1, 16); # 1
94 &xor( $u, $tmp1); # 2
96 &mov( $tmp1, &DWP(&n2a($S*4),$trans,"",0)); # 2
97 &xor( $u, $tmp1);
104 &xor( $tmp1, $tmp1); # 1
107 &movb( &LB($tmp1), &LB($u) );
111 &xor( $L, &DWP(" ",$trans,$tmp1,0));
112 &movb( &LB($tmp1), &LB($t) );
[all …]
/freebsd-10-stable/crypto/openssl/crypto/bn/asm/
Dbn-586.pl434 $tmp1="ecx";
452 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
454 &add($tmp1,$c);
457 &add($tmp1,$tmp2);
459 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r
477 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
479 &add($tmp1,$c);
482 &add($tmp1,$tmp2);
485 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r
506 $tmp1="ecx";
[all …]
Dsparcv9-mont.pl65 $tmp1="%g5";
130 mulx $npj,$mul1,$tmp1
142 mov $tmp1,$acc1
149 mulx $npj,$mul1,$tmp1
160 add $tmp1,$car1,$car1
178 ld [$tp],$tmp1 ! tp[0]
184 add $tmp1,$car0,$car0
201 mulx $npj,$mul1,$tmp1
215 mov $tmp1,$acc1
222 mulx $npj,$mul1,$tmp1
[all …]
/freebsd-10-stable/sys/mips/cavium/cryptocteon/
Dcavium_crypto.c592 uint64_t tmp1, tmp2; in octo_null_md5_encrypt() local
646 CVMX_ES64(tmp1, ((alen + 64) << 3)); in octo_null_md5_encrypt()
647 CVM_LOAD_MD5_UNIT(tmp1, next); in octo_null_md5_encrypt()
650 CVMX_MF_HSH_IV(tmp1, 0); in octo_null_md5_encrypt()
657 CVMX_MT_HSH_DAT(tmp1, 0); in octo_null_md5_encrypt()
664 CVMX_ES64(tmp1, ((64 + 16) << 3)); in octo_null_md5_encrypt()
665 CVMX_MT_HSH_STARTMD5(tmp1); in octo_null_md5_encrypt()
675 CVMX_MF_HSH_IV(tmp1, 1); in octo_null_md5_encrypt()
676 *(uint32_t *)data = (uint32_t) (tmp1 >> 32); in octo_null_md5_encrypt()
694 uint64_t tmp1, tmp2, tmp3; in octo_null_sha1_encrypt() local
[all …]
/freebsd-10-stable/crypto/openssl/crypto/bn/asm/x86/
Dadd.pl15 $tmp1="ecx";
33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
35 &add($tmp1,$c);
38 &add($tmp1,$tmp2);
40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r
58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
60 &add($tmp1,$c);
63 &add($tmp1,$tmp2);
66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
Dsub.pl15 $tmp1="ecx";
33 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
35 &sub($tmp1,$c);
38 &sub($tmp1,$tmp2);
40 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r
58 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a
60 &sub($tmp1,$c);
63 &sub($tmp1,$tmp2);
66 &mov(&DWP($i*4,$r,"",0),$tmp1); # *a
/freebsd-10-stable/lib/libc/stdlib/
Dheapsort.c60 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument
62 tmp1 = a; \
65 *tmp1++ = *tmp2++; \
108 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument
116 COPY(par, child, count, size, tmp1, tmp2); \
124 COPY(child, k, count, size, tmp1, tmp2); \
127 COPY(child, par, count, size, tmp1, tmp2); \
145 char tmp, *tmp1, *tmp2; local
174 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2);
175 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2);
[all …]
/freebsd-10-stable/crypto/openssl/crypto/rc5/asm/
Drc5-586.pl15 $tmp1="eax";
56 &mov($tmp1, &DWP(12+$i*8,$S,"",0));
59 &add($A, $tmp1);
62 &mov($tmp1, &DWP(16+$i*8,$S,"",0));
65 &add($B, $tmp1);
82 &mov($tmp1, &DWP($i*8+8,$S,"",0));
83 &sub($B, $tmp1);
88 &mov($tmp1, &DWP($i*8+4,$S,"",0));
89 &sub($A, $tmp1);
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
Dipf_rb.h40 _t *parent, *tmp1, *tmp2; \
43 tmp1 = node->_f.right; \
44 tmp2 = tmp1->_f.left; \
49 head->top._f.right = tmp1; \
51 parent->_f.right = tmp1; \
53 parent->_f.left = tmp1; \
54 tmp1->_f.left = node; \
55 tmp1->_f.parent = parent; \
56 node->_f.parent = tmp1; \
62 _t *parent, *tmp1, *tmp2; \
[all …]
/freebsd-10-stable/contrib/ipfilter/
Dipf_rb.h40 _t *parent, *tmp1, *tmp2; \
43 tmp1 = node->_f.right; \
44 tmp2 = tmp1->_f.left; \
49 head->top._f.right = tmp1; \
51 parent->_f.right = tmp1; \
53 parent->_f.left = tmp1; \
54 tmp1->_f.left = node; \
55 tmp1->_f.parent = parent; \
56 node->_f.parent = tmp1; \
62 _t *parent, *tmp1, *tmp2; \
[all …]
/freebsd-10-stable/crypto/openssl/crypto/ec/
Decp_oct.c77 BIGNUM *tmp1, *tmp2, *x, *y; in ec_GFp_simple_set_compressed_coordinates() local
92 tmp1 = BN_CTX_get(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()
117 if (!BN_mod_mul(tmp1, tmp2, x_, &group->field, ctx)) 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()
141 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
149 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
152 if (!BN_mod_add_quick(tmp1, tmp1, &group->b, &group->field)) in ec_GFp_simple_set_compressed_coordinates()
156 if (!BN_mod_sqrt(y, tmp1, &group->field, ctx)) { in ec_GFp_simple_set_compressed_coordinates()
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/hash/
Dt_hmac.c43 uint8_t tmp1[EVP_MAX_MD_SIZE]; in test() local
87 memset(tmp1, 0, sizeof(tmp1)); in test()
89 e1 = HMAC(evps[t], key, i, data, j, tmp1, &tmp1len); in test()
96 if (tmp1[k] != tmp2[k]) { in test()
99 k, tmp1[k], tmp2[k]); in test()
/freebsd-10-stable/contrib/gcc/
Dsreal.c454 unsigned HOST_WIDE_INT tmp1, tmp2, tmp3; in sreal_mul() local
465 tmp1 = a->sig_lo * b->sig_lo; in sreal_mul()
467 tmp3 = a->sig_hi * b->sig_lo + (tmp1 >> SREAL_PART_BITS); in sreal_mul()
473 tmp1 = tmp2 + tmp3; in sreal_mul()
475 r->sig_lo = tmp1 & (((uhwi) 1 << SREAL_PART_BITS) - 1); in sreal_mul()
476 r->sig_hi += tmp1 >> SREAL_PART_BITS; in sreal_mul()
502 unsigned HOST_WIDE_INT tmp, tmp1, tmp2; in sreal_div() local
516 tmp1 = (a->sig_hi << SREAL_PART_BITS) + a->sig_lo; in sreal_div()
523 tmp = tmp1 / tmp2; in sreal_div()
524 tmp1 = (tmp1 % tmp2) << (SREAL_PART_BITS / 2); in sreal_div()
[all …]
/freebsd-10-stable/usr.bin/usbhidctl/
Dusbhid.c72 char hname[1000], *tmp1, *tmp2; in parceargs() local
90 tmp1 = strrchr(colls, '.'); in parceargs()
91 if (tmp1 != NULL) { in parceargs()
92 cp -= strlen(tmp1); in parceargs()
93 tmp1[0] = 0; in parceargs()
118 tmp1 = tmp2 = strdup(names[i]); in parceargs()
120 var->name = strsep(&tmp1, "#"); in parceargs()
121 if (tmp1 != NULL) in parceargs()
122 var->instance = atoi(tmp1); in parceargs()
144 tmp1 = strrchr(colls, '.'); in parceargs()
[all …]

1234