Home
last modified time | relevance | path

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

12345

/trueos/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 …]
/trueos/crypto/openssl/crypto/sha/asm/
HDsha512-sparcv9.pl110 $tmp2="%g5";
176 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
181 or $tmp1,$tmp2,$tmp2
182 or @pair[1],$tmp2,$tmp2
184 add $h,$tmp2,$T1
185 $ST $tmp2,[%sp+`$bias+$frame+$i*$SZ`]
193 sllx @pair[1],$tmp31,$tmp2 ! Xload($i)
199 or $tmp1,$tmp2,$tmp2
201 or @pair[1],$tmp2,$tmp2
203 add $h,$tmp2,$T1
[all …]
HDsha512-mips.pl120 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]);
129 andi $tmp2,@X[0],0xFF00
132 sll $tmp2,$tmp2,8
134 or $tmp1,$tmp2
139 dsll $tmp2,$tmp0,32
140 or $tmp0,$tmp2 # 0x000000FF000000FF
142 dsrl $tmp2,@X[0],24
144 and $tmp2,$tmp0
146 or $tmp1,$tmp2
147 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.pl50 $tmp2="%i5";
63 sll $b,30,$tmp2
67 or $tmp2,$b,$b
123 sll $b,30,$tmp2
128 or $tmp2,$b,$b
147 sll $b,30,$tmp2
151 or $tmp2,$b,$b
170 sll $b,30,$tmp2
176 or $tmp2,$b,$b
224 subcc %g0,$tmp1,$tmp2 ! should be 64-$tmp1, but -$tmp1 works too
[all …]
/trueos/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 …]
/trueos/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 …]
/trueos/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.pl205 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t,$wp1)=@_;
207 &mov( $u, &DWP(&n2a($S*4),$tmp2,"",0));
209 &mov( $t, &DWP(&n2a(($S+1)*4),$tmp2,"",0));
211 &xor( $tmp2, $tmp2);
216 &movb( &LB($tmp2), &HB($u) );
220 &xor( $L, &DWP("0x200",$trans,$tmp2,0));
221 &movb( &LB($tmp2), &HB($t) );
226 &xor( $L, &DWP("0x300",$trans,$tmp2,0));
227 &movb( &LB($tmp2), &HB($t) );
231 &xor( $L, &DWP("0x700",$trans,$tmp2,0));
[all …]
/trueos/lib/libc/stdlib/
HDheapsort.c60 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument
63 tmp2 = b; \
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 …]
/trueos/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 …]
/trueos/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 …]
/trueos/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 …]
/trueos/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 …]
/trueos/sys/arm/include/
HDatomic.h133 uint32_t tmp = 0, tmp2 = 0; in atomic_set_32() local
141 : "=&r" (tmp), "+r" (tmp2) in atomic_set_32()
171 u_long tmp = 0, tmp2 = 0; in atomic_set_long() local
179 : "=&r" (tmp), "+r" (tmp2) in atomic_set_long()
187 uint32_t tmp = 0, tmp2 = 0; in atomic_clear_32() local
195 : "=&r" (tmp), "+r" (tmp2) in atomic_clear_32()
224 u_long tmp = 0, tmp2 = 0; in atomic_clear_long() local
232 : "=&r" (tmp), "+r" (tmp2) in atomic_clear_long()
364 uint32_t tmp = 0, tmp2 = 0; in atomic_add_32() local
372 : "=&r" (tmp), "+r" (tmp2) in atomic_add_32()
[all …]
/trueos/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 …]
/trueos/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);
/trueos/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 …]
/trueos/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 …]
/trueos/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 …]
/trueos/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 …]
/trueos/sys/contrib/octeon-sdk/
HDcvmx-helper-ilk.c99 static cvmx_ilk_cal_entry_t *calent = NULL, *tmp2; in __cvmx_helper_ilk_probe() local
222 tmp2 = calent; in __cvmx_helper_ilk_probe()
225 tmp2->pipe_bpid = tmp1->pknd; in __cvmx_helper_ilk_probe()
226 tmp2->ent_ctrl = PIPE_BPID; in __cvmx_helper_ilk_probe()
228 tmp2++; in __cvmx_helper_ilk_probe()
244 tmp2 = calent; in __cvmx_helper_ilk_probe()
247 tmp2->pipe_bpid = tmp->pipe; in __cvmx_helper_ilk_probe()
248 tmp2->ent_ctrl = PIPE_BPID; in __cvmx_helper_ilk_probe()
250 tmp2++; in __cvmx_helper_ilk_probe()
/trueos/crypto/openssl/engines/ccgost/
HDgost_sign.c55 BIGNUM *k = NULL, *tmp = NULL, *tmp2 = NULL; in gost_do_sign() local
72 tmp2 = BN_CTX_get(ctx); in gost_do_sign()
73 if(!tmp || !k || !tmp2) { in gost_do_sign()
101 BN_mod_mul(tmp2, k, md, dsa->q, ctx); in gost_do_sign()
109 BN_mod_add(newsig->s, tmp, tmp2, dsa->q, ctx); in gost_do_sign()
168 BIGNUM *tmp2 = NULL, *tmp3 = NULL; in gost_do_verify() local
188 tmp2 = BN_CTX_get(ctx); in gost_do_verify()
191 if(!tmp || !v || !q2 || !z1 || !z2 || !tmp2 || !tmp3 || !u) { in gost_do_verify()
207 BN_mod_exp(tmp2, dsa->pub_key, z2, dsa->p, ctx); in gost_do_verify()
208 BN_mod_mul(tmp3, tmp, tmp2, dsa->p, ctx); in gost_do_verify()

12345