| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/cast/asm/ |
| D | cast-586.pl | 30 $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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/bf/asm/ |
| D | bf-586.pl | 25 $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 …]
|
| /netbsd/src/external/gpl3/gcc/dist/contrib/ |
| D | compare_tests | 41 tmp2=$TMPDIR/$tool-testing.$$b 51 tmps="$tmp1 $tmp2 $now_s $before_s $lst1 $lst2 $lst3 $lst4 $lst5 $sum1 $sum2" 112 …et = $3} { if (target != "unix") { sub(/: /, "&"target": " ); }; print $0; }' | cut -c1-2000 >$tmp2 115 now=$tmp2 128 grep '^PASS' "$before_s" | sed 's/^[^:]*:[ ]//' | comm -12 $tmp1 - >$tmp2 130 grep -s . $tmp2 >/dev/null 132 num=`cat $tmp2 | wc -l` 135 cat $tmp2 141 grep '^FAIL' "$before_s" | sed 's/^[^:]*:[ ]//' | comm -12 $tmp1 - >$tmp2 143 grep -s . $tmp2 >/dev/null [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/sha/asm/ |
| D | sha512-sparcv9.pl | 121 $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 …]
|
| D | sha512-mips.pl | 141 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 …]
|
| D | sha1-sparcv9a.pl | 57 $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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ripemd/asm/ |
| D | rmd-586.pl | 29 $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 …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
| D | bn_mp_toom_mul.c | 29 mp_int w0, w1, w2, w3, w4, tmp1, tmp2, a0, a1, a2, b0, b1, b2; in mp_toom_mul() local 35 &b2, &tmp1, &tmp2, NULL)) != MP_OKAY) { in mp_toom_mul() 98 if ((res = mp_mul_2(&b0, &tmp2)) != MP_OKAY) { in mp_toom_mul() 101 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 104 if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) { in mp_toom_mul() 107 if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) { in mp_toom_mul() 111 if ((res = mp_mul(&tmp1, &tmp2, &w1)) != MP_OKAY) { in mp_toom_mul() 129 if ((res = mp_mul_2(&b2, &tmp2)) != MP_OKAY) { in mp_toom_mul() 132 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 135 if ((res = mp_mul_2(&tmp2, &tmp2)) != MP_OKAY) { in mp_toom_mul() [all …]
|
| /netbsd/src/external/lgpl3/mpfr/dist/src/ |
| D | gamma.c | 115 mpfr_t xp, GammaTrial, tmp, tmp2; in mpfr_gamma() local 338 mpfr_init2 (tmp2, 53); in mpfr_gamma() 355 mpfr_set_prec (tmp2, w); in mpfr_gamma() 358 mpfr_const_pi (tmp2, MPFR_RNDN); in mpfr_gamma() 359 mpfr_mul (tmp2, tmp2, tmp, MPFR_RNDN); /* Pi*(2-x) */ in mpfr_gamma() 360 mpfr_sin (tmp, tmp2, MPFR_RNDN); /* sin(Pi*(2-x)) */ in mpfr_gamma() 363 mpfr_mul_ui (tmp2, tmp2, 3, MPFR_RNDU); /* 3Pi(2-x) */ in mpfr_gamma() 364 mpfr_add_ui (tmp2, tmp2, 1, MPFR_RNDU); /* 3Pi(2-x)+1 */ in mpfr_gamma() 365 mpfr_div_2ui (tmp2, tmp2, mpfr_get_prec (tmp), MPFR_RNDU); in mpfr_gamma() 367 if (mpfr_cmp (tmp2, tmp) < 0) in mpfr_gamma() [all …]
|
| D | log.c | 46 mpfr_t tmp1, tmp2; in mpfr_log() local 119 MPFR_GROUP_INIT_2 (group, p, tmp1, tmp2); in mpfr_log() 147 mpfr_agm (tmp2, __gmpfr_one, tmp1, MPFR_RNDN); /* AG(1,4/s),err<=3 ulps */ in mpfr_log() 148 mpfr_mul_2ui (tmp2, tmp2, 1, MPFR_RNDN); /* 2*AG(1,4/s), err<=3 ulps */ in mpfr_log() 150 mpfr_div (tmp2, tmp1, tmp2, MPFR_RNDN); /* pi/2*AG(1,4/s), err<=5ulps */ in mpfr_log() 153 mpfr_sub (tmp1, tmp2, tmp1, MPFR_RNDN); /* log(a), err<=7ulps+cancel */ in mpfr_log() 155 if (MPFR_LIKELY (MPFR_IS_PURE_FP (tmp1) && MPFR_IS_PURE_FP (tmp2))) in mpfr_log() 157 cancel = MPFR_GET_EXP (tmp2) - MPFR_GET_EXP (tmp1); in mpfr_log() 182 MPFR_GROUP_REPREC_2 (group, p, tmp1, tmp2); in mpfr_log()
|
| D | atan2.c | 121 mpfr_t tmp2; in mpfr_atan2() local 126 mpfr_init2 (tmp2, prec2); in mpfr_atan2() 130 mpfr_const_pi (tmp2, MPFR_RNDN); in mpfr_atan2() 131 mpfr_mul_ui (tmp2, tmp2, 3, MPFR_RNDN); /* Error <= 2 */ in mpfr_atan2() 132 mpfr_div_2ui (tmp2, tmp2, 2, MPFR_RNDN); in mpfr_atan2() 133 if (MPFR_CAN_ROUND (tmp2, MPFR_PREC (tmp2) - 2, in mpfr_atan2() 137 mpfr_set_prec (tmp2, prec2); in mpfr_atan2() 141 MPFR_CHANGE_SIGN (tmp2); in mpfr_atan2() 142 inexact = mpfr_set (dest, tmp2, rnd_mode); in mpfr_atan2() 143 mpfr_clear (tmp2); in mpfr_atan2()
|
| D | gammaonethird.c | 137 mpfr_t tmp, tmp2, tmp3; in mpfr_gamma_one_third() local 140 mpfr_init2 (tmp2, prec + 9); in mpfr_gamma_one_third() 149 mpfr_Browns_const (tmp2, prec + 9); in mpfr_gamma_one_third() 150 mpfr_mul (tmp, tmp, tmp2, MPFR_RNDN); in mpfr_gamma_one_third() 152 mpfr_set_ui (tmp2, 10, MPFR_RNDN); in mpfr_gamma_one_third() 153 mpfr_sqrt (tmp2, tmp2, MPFR_RNDN); in mpfr_gamma_one_third() 154 mpfr_div (tmp, tmp, tmp2, MPFR_RNDN); in mpfr_gamma_one_third() 160 mpfr_clear (tmp2); in mpfr_gamma_one_third()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/des/asm/ |
| D | crypt586.pl | 86 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 …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/sh/ |
| D | sh-mem.cc | 210 rtx tmp2 = gen_reg_rtx (SImode); in sh_expand_cmpstr() local 253 emit_move_insn (tmp2, tmp3); in sh_expand_cmpstr() 266 emit_insn (gen_cmpeqsi_t (tmp1, tmp2)); in sh_expand_cmpstr() 280 rtx low_2 = gen_lowpart (HImode, tmp2); in sh_expand_cmpstr() 285 emit_insn (gen_rotlsi3_16 (tmp2, tmp2)); in sh_expand_cmpstr() 304 emit_insn (gen_extendqisi2 (tmp2, addr2)); in sh_expand_cmpstr() 310 emit_insn (gen_cmpeqsi_t (tmp2, const0_rtx)); in sh_expand_cmpstr() 314 emit_insn (gen_cmpeqsi_t (tmp1, tmp2)); in sh_expand_cmpstr() 316 emit_insn (gen_zero_extendqisi2 (tmp2, gen_lowpart (QImode, tmp2))); in sh_expand_cmpstr() 324 emit_insn (gen_zero_extendqisi2 (tmp2, gen_lowpart (QImode, tmp2))); in sh_expand_cmpstr() [all …]
|
| /netbsd/src/external/gpl3/gcc/lib/libgcc/libgcc/ |
| D | Makefile | 55 CLEANFILES+= ${SOBJS:=.tmp1} ${SOBJS:=.tmp2} 62 … ${CC} ${COPTS} -r -nostdinc -nostdlib ${CPUFLAGS} -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler - 63 ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}.tmp2 65 mv ${.TARGET}.tmp2 ${.TARGET} 67 ${LD} -r ${.TARGET}.tmp2 -o ${.TARGET} 68 rm -f ${.TARGET}.tmp2 77 ${CC} ${COPTS} -r -nostdinc -nostdlib -o ${.TARGET}.tmp2 ${.TARGET}.tmp1 -xassembler - 78 ${OBJCOPY} ${OBJCOPYLIBFLAGS} ${.TARGET}.tmp2 80 mv ${.TARGET}.tmp2 ${.TARGET} 82 ${LD} -r ${.TARGET}.tmp2 -o ${.TARGET} [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| D | ecp_oct.c | 28 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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/md5/asm/ |
| D | md5-586.pl | 33 $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 …]
|
| /netbsd/src/common/lib/libc/stdlib/ |
| D | heapsort.c | 95 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument 98 tmp2 = b; \ 100 *tmp1++ = *tmp2++; \ 144 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument 153 COPY(par, child, count, size, tmp1, tmp2); \ 161 COPY(child, k, count, size, tmp1, tmp2); \ 164 COPY(child, par, count, size, tmp1, tmp2); \ 187 char tmp, *tmp1, *tmp2; local 226 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); 227 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/aes/ |
| D | aes_ige.c | 89 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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/bn/asm/ |
| D | bn-586.pl | 446 $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 …]
|
| /netbsd/src/external/lgpl3/gmp/dist/mpq/ |
| D | aors.c | 43 mpz_t tmp1, tmp2; in mpq_aors() local 53 MPZ_TMP_INIT (tmp2, op2_num_size + op1_den_size); in mpq_aors() 69 mpz_divexact_gcd (tmp2, DEN(op1), gcd); in mpq_aors() 72 mpz_mul (t, NUM(op2), tmp2); in mpq_aors() 80 mpz_mul (DEN(rop), DEN(op2), tmp2); in mpq_aors() 86 mpz_mul (DEN(rop), tmp1, tmp2); in mpq_aors() 94 mpz_mul (tmp2, NUM(op2), DEN(op1)); in mpq_aors() 95 (*fun) (NUM(rop), tmp1, tmp2); in mpq_aors()
|
| /netbsd/src/tests/lib/libc/hash/ |
| D | t_hmac.c | 44 uint8_t tmp2[EVP_MAX_MD_SIZE]; in test() local 96 memset(tmp2, 0, sizeof(tmp2)); in test() 100 tmp2len = hmac(names[t], key, i, data, j, tmp2, in test() 101 sizeof(tmp2)); in test() 105 if (tmp1[k] != tmp2[k]) { in test() 108 k, tmp1[k], tmp2[k]); in test()
|
| /netbsd/src/external/bsd/wpa/dist/src/crypto/ |
| D | milenage.c | 39 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 …]
|
| /netbsd/src/sys/dev/isa/ |
| D | ad1848_isa.c | 182 u_char tmp, tmp1 = 0xff, tmp2 = 0xff; in ad1848_isa_probe() local 218 tmp2 = ad_read(sc, 1); in ad1848_isa_probe() 220 if (tmp1 != 0x8a || tmp2 != 0x45) { in ad1848_isa_probe() 221 DPRINTF(("ad_detect_B (%x/%x)\n", tmp1, tmp2)); in ad1848_isa_probe() 228 tmp2 = ad_read(sc, 1); in ad1848_isa_probe() 230 if (tmp1 != 0x65 || tmp2 != 0xaa) { in ad1848_isa_probe() 231 DPRINTF(("ad_detect_C (%x/%x)\n", tmp1, tmp2)); in ad1848_isa_probe() 301 if ((tmp1 = ad_read(sc, i)) != (tmp2 = ad_read(sc, i + 16))) { in ad1848_isa_probe() 303 DPRINTF(("ad_detect_F(%d/%x/%x)\n", i, tmp1, tmp2)); in ad1848_isa_probe() 324 if ((tmp2 = ad_read(sc, 18)) != 0x45) { /* No change -> CS4231? */ in ad1848_isa_probe() [all …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/aes/asm/ |
| D | aesv8-armx.pl | 420 my ($dat0,$dat1,$in0,$in1,$tmp0,$tmp1,$tmp2,$rndlast)=map("q$_",(0..7)); 430 my ($dat2,$in2,$tmp2)=map("q$_",(10,11,9)); 716 veor $tmp2,$rndlast,$dat2 725 vst1.8 {$tmp2},[$out],#16 746 veor $tmp2,$rndlast,$dat2 750 vst1.8 {$tmp2},[$out],#16 875 veor $tmp2,$rndlast,$dat2 877 vst1.8 {$tmp2},[$out],#16 1036 veor $tmp2,$rndlast,$dat2 1045 vst1.8 {$tmp2},[$out],#16 [all …]
|