Home
last modified time | relevance | path

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

/openssl/crypto/cast/asm/
H A Dcast-586.pl30 $tmp2="ebx";
72 &mov($tmp2,&wparam(0));
78 &mov($L,&DWP(0,$tmp2,"",0));
158 &mov( $tmp2, 0xff);
161 &and( $tmp2, $tmp4);
166 &mov( $tmp2, $tmp4); # B
170 &and( $tmp2, 0xff);
177 &mov( $tmp2, &DWP($S2,"",$tmp2,4));
179 &$OP2( $tmp1, $tmp2);
182 &$OP3( $tmp1, $tmp2);
[all …]
/openssl/crypto/poly1305/asm/
H A Dpoly1305-mips.pl127 and $tmp2,$tmp0
130 or $tmp1,$tmp2
136 dsll $tmp2,8
140 or $tmp1,$tmp2
249 or $tmp1,$tmp2
255 dsll $tmp2,8
259 or $tmp1,$tmp2
299 sltu $tmp2,$d1,$tmp2
316 sltu $tmp2,$d1,$tmp2
371 daddu $tmp2,$tmp2,$tmp3
[all …]
/openssl/crypto/bf/asm/
H A Dbf-586.pl25 $tmp2="ebx";
46 &mov($tmp2,&wparam(0));
64 &xor($L,$tmp2);
83 &xor($L,$tmp2);
110 &mov( $tmp2, $R);
113 &shr( $tmp2, 16);
123 &mov( $tmp2, &DWP(&n2a($BF_OFF+0x0400),$P,$tmp2,4));
125 &add( $tmp2, $tmp1);
128 &xor( $tmp2, $tmp1);
131 &add( $tmp2, $tmp4);
[all …]
/openssl/crypto/sha/asm/
H A Dsha512-sparcv9.pl193 or $tmp1,$tmp2,$tmp2
194 or @pair[1],$tmp2,$tmp2
211 or $tmp1,$tmp2,$tmp2
237 and $e,$tmp2,$tmp2
308 xor $tmp1,$tmp2,$tmp2
310 xor $tmp0,$tmp2,$tmp2
312 xor $tmp1,$tmp2,$tmp2
366 or %l7,$tmp2,$tmp2
387 or %l1,$tmp2,$tmp2
757 or %l5,$tmp2,$tmp2
[all …]
H A Dsha512-mips.pl161 sll $tmp2,$tmp2,8
163 or $tmp1,$tmp2
178 and $tmp2,$tmp0
180 or $tmp1,$tmp2
183 dsll $tmp2,8
185 or $tmp1,$tmp2
198 and $tmp2,$e
206 $ADDU $T1,$tmp2
217 xor $tmp2,$f,$g
219 and $tmp2,$e
[all …]
H A Dsha1-sparcv9a.pl57 $tmp2="%i5";
170 or $tmp2,$b,$b
191 or $tmp2,$b,$b
222 or $tmp2,$b,$b
242 or $tmp2,$b,$b
259 or $tmp2,$b,$b
273 or $tmp2,$b,$b
304 or $tmp2,$b,$b
325 or $tmp2,$b,$b
352 or $tmp2,$b,$b
[all …]
H A Dsha1-sparcv9.pl58 $tmp2="%i5";
71 sll $b,30,$tmp2
75 or $tmp2,$b,$b
131 sll $b,30,$tmp2
136 or $tmp2,$b,$b
155 sll $b,30,$tmp2
159 or $tmp2,$b,$b
178 sll $b,30,$tmp2
184 or $tmp2,$b,$b
330 srlx @X[$i+1],$tmp2,$Xi
[all …]
/openssl/crypto/ripemd/asm/
H A Drmd-586.pl29 $tmp2="edx";
99 &add($a, $tmp2);
117 &add($a, $tmp2);
137 &add($a, $tmp2);
138 &mov($tmp2, $c);
140 &and($tmp2, $b);
157 &sub($tmp2, $b);
191 &or($tmp2, $b);
193 &xor($tmp2, $d);
279 &or($tmp2, $c);
[all …]
/openssl/crypto/des/asm/
H A Dcrypt586.pl91 &mov( $tmp2, &wparam(3)); # 2
95 &and( $t, $tmp2); # 2
99 &mov( $tmp2, $t);
100 &shl( $tmp2, 16); # 1
102 &xor( $t, $tmp2); # 2
108 &xor( $t, $tmp2);
113 &xor( $tmp2, $tmp2);
115 &movb( &LB($tmp2), &HB($u) );
120 &xor( $L, &DWP("0x200",$trans,$tmp2,0));
121 &movb( &LB($tmp2), &HB($t) );
[all …]
H A Ddes-586.pl215 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t,$wp1)=@_;
217 &mov( $u, &DWP(&n2a($S*4),$tmp2,"",0));
219 &mov( $t, &DWP(&n2a(($S+1)*4),$tmp2,"",0));
221 &xor( $tmp2, $tmp2);
226 &movb( &LB($tmp2), &HB($u) );
230 &xor( $L, &DWP("0x200",$trans,$tmp2,0));
231 &movb( &LB($tmp2), &HB($t) );
236 &xor( $L, &DWP("0x300",$trans,$tmp2,0));
237 &movb( &LB($tmp2), &HB($t) );
241 &xor( $L, &DWP("0x700",$trans,$tmp2,0));
[all …]
/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()
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()
81 if (!BN_mod_mul(tmp2, tmp2, x, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
89 if (!BN_mod_add_quick(tmp1, tmp1, tmp2, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
[all …]
H A Decp_sm2p256.c215 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_double()
273 ecp_sm2p256_sqr(tmp2, tmp0); in ecp_sm2p256_point_add_affine()
275 ecp_sm2p256_mul(tmp2, tmp2, P->X); in ecp_sm2p256_point_add_affine()
276 ecp_sm2p256_add(tmp0, tmp2, tmp2); in ecp_sm2p256_point_add_affine()
280 ecp_sm2p256_sub(tmp2, tmp2, R->X); in ecp_sm2p256_point_add_affine()
281 ecp_sm2p256_mul(tmp2, tmp2, tmp1); in ecp_sm2p256_point_add_affine()
324 ecp_sm2p256_sqr(tmp2, Q->Z); in ecp_sm2p256_point_add()
330 ecp_sm2p256_sqr(tmp2, tmp0); in ecp_sm2p256_point_add()
332 ecp_sm2p256_mul(tmp2, tmp2, R->X); in ecp_sm2p256_point_add()
337 ecp_sm2p256_sub(tmp2, tmp2, R->X); in ecp_sm2p256_point_add()
[all …]
H A Decp_nistp224.c494 limb tmp0, tmp1, tmp2; in felem_square() local
497 tmp2 = 2 * in[2]; in felem_square()
821 widefelem tmp, tmp2; in point_double() local
879 felem_square(tmp2, gamma); in point_double()
881 widefelem_scalar(tmp2, 8); in point_double()
883 widefelem_diff(tmp, tmp2); in point_double()
912 widefelem tmp, tmp2; in point_add() local
1041 felem_square(tmp2, ftmp3); in point_add()
1059 felem_reduce(x_out, tmp2); in point_add()
1075 widefelem_diff(tmp2, tmp); in point_add()
[all …]
H A Decp_nistp384.c1005 widefelem tmp, tmp2; in point_double() local
1045 felem_square(tmp2, gamma); /* tmp2[i] < 2^115 */ in point_double()
1046 felem_scalar128(tmp2, 8); /* tmp2[i] < 2^118 */ in point_double()
1047 felem_diff128(tmp, tmp2); /* tmp[i] < 2^127 + 2^119 + 2^111 */ in point_double()
1077 widefelem tmp, tmp2; in point_add() local
1197 felem_mul(tmp2, ftmp6, ftmp2); /* tmp2[i] < 2^115 */ in point_add()
1198 felem_scalar128(tmp2, 2); /* tmp2[i] < 2^116 */ in point_add()
1199 felem_diff128(tmp, tmp2); /* tmp[i] < 2^127 + 2^116 + 2^111 */ in point_add()
H A Decp_nistp521.c1090 largefelem tmp, tmp2; in point_double() local
1163 felem_square(tmp2, gamma); in point_double()
1168 felem_scalar128(tmp2, 8); in point_double()
1174 felem_diff128(tmp, tmp2); in point_double()
1211 largefelem tmp, tmp2; in point_add() local
1371 felem_mul(tmp2, ftmp6, ftmp2); in point_add()
1373 felem_scalar128(tmp2, 2); in point_add()
1375 felem_diff128(tmp, tmp2); in point_add()
H A Decp_nistp256.c1109 longfelem tmp, tmp2; in point_double() local
1173 smallfelem_square(tmp2, small1); in point_double()
1175 longfelem_scalar(tmp2, 8); in point_double()
1177 longfelem_diff(tmp, tmp2); in point_double()
1243 longfelem tmp, tmp2; in point_add() local
1399 felem_mul(tmp2, ftmp6, ftmp2); in point_add()
1400 longfelem_scalar(tmp2, 2); in point_add()
1402 longfelem_diff(tmp, tmp2); in point_add()
H A Decp_smpl.c1073 BIGNUM *tmp1, *tmp2, *Za23, *Zb23; in ossl_ec_GFp_simple_cmp() local
1099 tmp2 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_cmp()
1123 if (!field_mul(group, tmp2, b->X, Za23, ctx)) in ossl_ec_GFp_simple_cmp()
1125 tmp2_ = tmp2; in ossl_ec_GFp_simple_cmp()
1146 if (!field_mul(group, tmp2, b->Y, Za23, ctx)) in ossl_ec_GFp_simple_cmp()
/openssl/crypto/md5/asm/
H A Dmd5-586.pl33 $tmp2="ebp";
70 &lea($a,&DWP($t,$a,$tmp2,1));
93 &lea($a,&DWP($t,$a,$tmp2,1));
121 &lea($a,&DWP($t,$a,$tmp2,1));
139 &lea($a,&DWP($t,$a,$tmp2,1));
164 &lea($a,&DWP($t,$a,$tmp2,1));
295 &mov($tmp1, &DWP( 8,$tmp2,"",0));
301 &mov(&DWP( 0,$tmp2,"",0),$A);
303 &mov(&DWP( 4,$tmp2,"",0),$B);
306 &mov(&DWP( 8,$tmp2,"",0),$C);
[all …]
/openssl/crypto/aes/
H A Daes_ige.c89 aes_block_t tmp, tmp2; in AES_ige_encrypt() local
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()
194 unsigned char tmp2[AES_BLOCK_SIZE]; in AES_bi_ige_encrypt() local
269 memcpy(tmp2, in, AES_BLOCK_SIZE); in AES_bi_ige_encrypt()
275 memcpy(tmp3, tmp2, AES_BLOCK_SIZE); in AES_bi_ige_encrypt()
[all …]
/openssl/crypto/bn/asm/
H A Dbn-586.pl446 $tmp2="edx";
468 &add($tmp1,$tmp2);
493 &add($tmp1,$tmp2);
518 $tmp2="edx";
540 &sub($tmp1,$tmp2);
565 &sub($tmp1,$tmp2);
590 $tmp2="edx";
657 &mov($tmp2,0);
658 &sub($tmp2,$num);
659 &mov($num,$tmp2);
[all …]
/openssl/crypto/aes/asm/
H A Daesv8-armx.pl1558 veor $tmp2,$tmp2,$dat2
1591 veor $tmp2,$tmp2,$dat2
1726 veor $tmp2,$tmp2,$dat2
2371 aesmc $tmp2,$tmp2
2381 aesmc $tmp2,$tmp2
2394 aesmc $tmp2,$tmp2
2822 aesmc $tmp2,$tmp2
2834 aesmc $tmp2,$tmp2
2840 aesmc $tmp2,$tmp2
2860 aesmc $tmp2,$tmp2
[all …]
H A Daes-x86_64.pl254 my $tmp2=$acc2;
260 $tmp2=$s[3];
274 $code.=" shr \$24,$tmp2\n";
290 my $tmp2=$acc2;
296 $tmp2=$s[3];
308 $code.=" shr \$24,$tmp2\n";
312 $code.=" mov 2($sbox,$tmp2,8),$tmp2\n";
322 $code.=" xor $tmp2,$out\n";
847 my $tmp2=$acc2;
879 my $tmp2=$acc2;
[all …]
/openssl/crypto/srp/
H A Dsrp_lib.c216 BIGNUM *tmp = NULL, *tmp2 = NULL, *tmp3 = NULL, *k = NULL, *K = NULL; in SRP_Calc_client_key_ex() local
225 (tmp2 = BN_new()) == NULL || in SRP_Calc_client_key_ex()
236 if (!BN_mod_mul(tmp2, tmp, k, N, bn_ctx)) in SRP_Calc_client_key_ex()
238 if (!BN_mod_sub(tmp, B, tmp2, N, bn_ctx)) in SRP_Calc_client_key_ex()
242 if (!BN_add(tmp2, a, tmp3)) in SRP_Calc_client_key_ex()
245 if (K != NULL && !BN_mod_exp(K, tmp, tmp2, N, bn_ctx)) { in SRP_Calc_client_key_ex()
254 BN_clear_free(tmp2); in SRP_Calc_client_key_ex()
H A Dsrp_vfy.c625 unsigned char tmp2[MAX_LEN]; in SRP_create_verifier_ex() local
657 if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0) in SRP_create_verifier_ex()
660 s = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL); in SRP_create_verifier_ex()
662 if ((len = t_fromb64(tmp2, sizeof(tmp2), *salt)) <= 0) in SRP_create_verifier_ex()
664 s = BN_bin2bn(tmp2, len, NULL); in SRP_create_verifier_ex()
687 if (!t_tob64(tmp_salt, tmp2, SRP_RANDOM_SALT_LEN)) { in SRP_create_verifier_ex()
730 unsigned char tmp2[MAX_LEN]; in SRP_create_verifier_BN_ex() local
740 if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0) in SRP_create_verifier_BN_ex()
743 salttmp = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL); in SRP_create_verifier_BN_ex()
/openssl/crypto/rsa/
H A Drsa_gen.c261 BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *tmp, *tmp2, *prime; in rsa_multiprime_keygen() local
579 tmp2 = BN_copy(pinfo->d, tmp); in rsa_multiprime_keygen()
581 if (tmp2 == NULL) in rsa_multiprime_keygen()
584 tmp2 = BN_copy(pinfo->t, tmp); in rsa_multiprime_keygen()
586 if (tmp2 == NULL) in rsa_multiprime_keygen()

Completed in 76 milliseconds