| /freebsd-13-stable/crypto/openssl/crypto/cast/asm/ |
| HD | cast-586.pl | 31 $tmp2="ebx"; 73 &mov($tmp2,&wparam(0)); 79 &mov($L,&DWP(0,$tmp2,"",0)); 80 &mov($R,&DWP(4,$tmp2,"",0)); 96 &E_CAST( 0,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 97 &E_CAST( 1,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 98 &E_CAST( 2,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); 99 &E_CAST( 3,$S,$R,$L,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 100 &E_CAST( 4,$S,$L,$R,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 101 &E_CAST( 5,$S,$R,$L,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); [all …]
|
| /freebsd-13-stable/crypto/openssl/crypto/poly1305/asm/ |
| HD | poly1305-mips.pl | 67 ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1); 114 dsll $tmp2,$tmp0,32 115 or $tmp0,$tmp2 # 0x000000FF000000FF 119 dsrl $tmp2,$in0,24 123 and $tmp2,$tmp0 126 or $tmp1,$tmp2 128 and $tmp2,$in0,$tmp0 132 dsll $tmp2,8 136 or $tmp1,$tmp2 233 dsll $tmp2,$tmp0,32 [all …]
|
| /freebsd-13-stable/contrib/cortex-strings/src/aarch64/ |
| HD | strcpy.S | 55 #define tmp2 x9 macro 121 and tmp2, srcin, #(MIN_PAGE_SIZE - 1) 124 cmp tmp2, #(MIN_PAGE_SIZE - 16) 140 rev tmp2, data1 141 sub tmp1, tmp2, zeroones 142 orr tmp2, tmp2, #REP8_7f 143 bics has_nul1, tmp1, tmp2 150 orr tmp2, data1, #REP8_7f 151 bics has_nul1, tmp1, tmp2 165 mov tmp2, #56 [all …]
|
| HD | strlen.S | 47 #define tmp2 x5 macro 118 orr tmp2, data1, REP8_7f 121 bics has_nul1, tmp1, tmp2 147 orr tmp2, tmp1, tmp3 148 tst tmp2, zeroones, lsl 7 153 orr tmp2, tmp1, tmp3 154 tst tmp2, zeroones, lsl 7 159 orr tmp2, data1, REP8_7f 161 bics has_nul1, tmp1, tmp2 176 orr tmp2, data1, REP8_7f [all …]
|
| HD | strcmp.S | 58 #define tmp2 x8 macro 79 orr tmp2, data1, #REP8_7f 81 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */ 118 orr tmp2, tmp3, #REP8_7f 119 bic has_nul, tmp1, tmp2 146 mov tmp2, #~0 149 lsl tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */ 152 lsr tmp2, tmp2, tmp1 /* Shift (tmp1 & 63). */ 154 orr data1, data1, tmp2 155 orr data2, data2, tmp2
|
| HD | strnlen.S | 47 #define tmp2 x9 macro 101 orr tmp2, data1, #REP8_7f 104 bic has_nul1, tmp1, tmp2 134 orr tmp2, data2, #REP8_7f 135 bic has_nul2, tmp1, tmp2 160 mov tmp2, #~0 168 lsl tmp2, tmp2, tmp4 /* Shift (tmp1 & 63). */ 171 lsr tmp2, tmp2, tmp4 /* Shift (tmp1 & 63). */ 175 orr data1, data1, tmp2 176 orr data2a, data2, tmp2
|
| HD | strncmp.S | 59 #define tmp2 x9 macro 94 orr tmp2, data1, #REP8_7f 97 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */ 157 orr tmp2, tmp3, #REP8_7f 158 bic has_nul, tmp1, tmp2 186 mov tmp2, #~0 190 lsl tmp2, tmp2, tmp3 /* Shift (tmp1 & 63). */ 193 lsr tmp2, tmp2, tmp3 /* Shift (tmp1 & 63). */ 200 orr data1, data1, tmp2 201 orr data2, data2, tmp2
|
| /freebsd-13-stable/crypto/openssl/crypto/bf/asm/ |
| HD | bf-586.pl | 26 $tmp2="ebx"; 47 &mov($tmp2,&wparam(0)); 53 &mov($L,&DWP(0,$tmp2,"",0)); 54 &mov($R,&DWP(4,$tmp2,"",0)); 62 &mov($tmp2,&DWP(0,$P,"",0)); 65 &xor($L,$tmp2); 70 &BF_ENCRYPT($i+1,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 74 &BF_ENCRYPT($i+2,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,1); 81 &mov($tmp2,&DWP(($BF_ROUNDS+1)*4,$P,"",0)); 84 &xor($L,$tmp2); [all …]
|
| /freebsd-13-stable/sys/arm64/arm64/ |
| HD | memset.S | 41 #define tmp2 x4 macro 108 neg tmp2, dst 109 ands tmp2, tmp2, #15 114 sub count, count, tmp2 116 add dst, dst, tmp2 141 neg tmp2, dst 142 ands tmp2, tmp2, #15 144 sub count, count, tmp2 146 add dst, dst, tmp2 155 adrp tmp2, dczva_line_size [all …]
|
| /freebsd-13-stable/crypto/openssl/crypto/sha/asm/ |
| HD | sha512-sparcv9.pl | 119 $tmp2="%g5"; 186 sllx @pair[1],$tmp31,$tmp2 ! Xload($i) 191 or $tmp1,$tmp2,$tmp2 192 or @pair[1],$tmp2,$tmp2 194 add $h,$tmp2,$T1 195 $ST $tmp2,[%sp+STACK_BIAS+STACK_FRAME+`$i*$SZ`] 203 sllx @pair[1],$tmp31,$tmp2 ! Xload($i) 209 or $tmp1,$tmp2,$tmp2 211 or @pair[1],$tmp2,$tmp2 213 add $h,$tmp2,$T1 [all …]
|
| HD | sha512-mips.pl | 135 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]); 152 andi $tmp2,@X[0],0xFF00 155 sll $tmp2,$tmp2,8 157 or $tmp1,$tmp2 167 dsll $tmp2,$tmp0,32 168 or $tmp0,$tmp2 # 0x000000FF000000FF 170 dsrl $tmp2,@X[0],24 172 and $tmp2,$tmp0 174 or $tmp1,$tmp2 175 and $tmp2,@X[0],$tmp0 [all …]
|
| HD | sha1-sparcv9a.pl | 58 $tmp2="%i5"; 164 sll $b,30,$tmp2 171 or $tmp2,$b,$b 183 sll $b,30,$tmp2 192 or $tmp2,$b,$b 218 sll $b,30,$tmp2 223 or $tmp2,$b,$b 237 sll $b,30,$tmp2 243 or $tmp2,$b,$b 255 sll $b,30,$tmp2 [all …]
|
| /freebsd-13-stable/contrib/cortex-strings/src/arm/ |
| HD | memcpy.S | 87 #define tmp2 r10 macro 242 str tmp2, [sp, #-FRAME_SIZE]! 243 and tmp2, src, #7 245 cmp tmp1, tmp2 258 lsls tmp2, dst, #29 260 rsbs tmp2, tmp2, #0 261 sub count, count, tmp2, lsr #29 264 lsls tmp2, tmp2, #2 266 ldrbne tmp2, [src], #1 268 strbne tmp2, [dst], #1 [all …]
|
| /freebsd-13-stable/sys/crypto/aesni/ |
| HD | aesni_ghash.c | 110 __m128i tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp8, tmp9; in gfmul() local 145 tmp2 = _mm_srli_epi32(tmp3, 1); in gfmul() 148 tmp2 = _mm_xor_si128(tmp2, tmp4); in gfmul() 149 tmp2 = _mm_xor_si128(tmp2, tmp5); in gfmul() 150 tmp2 = _mm_xor_si128(tmp2, tmp8); in gfmul() 151 tmp3 = _mm_xor_si128(tmp3, tmp2); in gfmul() 167 __m128i tmp0, tmp1, tmp2, tmp3; in reduce4() local 197 tmp2 = _mm_shuffle_epi32(H3, 78); in reduce4() 199 tmp2 = _mm_xor_si128(tmp2, H3); in reduce4() 208 tmp2 = _mm_clmulepi64_si128(tmp2, tmp6, 0x00); in reduce4() [all …]
|
| /freebsd-13-stable/crypto/openssl/crypto/ripemd/asm/ |
| HD | rmd-586.pl | 30 $tmp2="edx"; 98 &mov($tmp2, &Xv($pos)); 100 &add($a, $tmp2); 111 &mov($tmp2, &Xv($pos)); 118 &add($a, $tmp2); 120 &mov($tmp2, &Xv($pos2)) if $o == 1; 121 &mov($tmp2, &wparam(0)) if $o == 2; 138 &add($a, $tmp2); 139 &mov($tmp2, $c); 141 &and($tmp2, $b); [all …]
|
| /freebsd-13-stable/contrib/unbound/contrib/ |
| HD | update-anchor.sh | 58 tmp2=$tmpfile.2 87 echo 'trusted-keys {' > "$tmp2" 94 sed -e 's/^\.\././' | sort >> "$tmp2" 100 sed -e 's/^\.\././' | sort >> "$tmp2" 102 echo '};' >> "$tmp2" 111 sed -e 's/^\.\././' | sort > "$tmp2" 117 sed -e 's/^\.\././' | sort > "$tmp2" 122 diff $tmp2 $keyfile >/dev/null 2>&1 124 cat $tmp2 > $keyfile 131 rm -f $tmpfile $tmp2 $tmp3
|
| /freebsd-13-stable/crypto/openssl/crypto/des/asm/ |
| HD | crypt586.pl | 87 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_; 92 &mov( $tmp2, &wparam(3)); # 2 96 &and( $t, $tmp2); # 2 100 &mov( $tmp2, $t); 101 &shl( $tmp2, 16); # 1 103 &xor( $t, $tmp2); # 2 106 &mov( $tmp2, &DWP(&n2a(($S+1)*4),$trans,"",0)); # 2 109 &xor( $t, $tmp2); 114 &xor( $tmp2, $tmp2); 116 &movb( &LB($tmp2), &HB($u) ); [all …]
|
| /freebsd-13-stable/crypto/libecc/src/curves/ |
| HD | ec_shortw.c | 43 fp tmp, tmp2; in ec_shortw_crv_init() local 45 tmp.magic = tmp2.magic = WORD(0); in ec_shortw_crv_init() 55 ret = fp_init(&tmp2, a->ctx); EG(ret, err); in ec_shortw_crv_init() 58 ret = fp_set_word_value(&tmp2, WORD(4)); EG(ret, err); in ec_shortw_crv_init() 59 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in ec_shortw_crv_init() 61 ret = fp_set_word_value(&tmp2, WORD(27)); EG(ret, err); in ec_shortw_crv_init() 62 ret = fp_mul(&tmp2, &tmp2, b); EG(ret, err); in ec_shortw_crv_init() 63 ret = fp_mul(&tmp2, &tmp2, b); EG(ret, err); in ec_shortw_crv_init() 65 ret = fp_add(&tmp, &tmp, &tmp2); EG(ret, err); in ec_shortw_crv_init() 94 fp_uninit(&tmp2); in ec_shortw_crv_init()
|
| HD | aff_pt_montgomery.c | 296 fp tmp, tmp2, a, b; in curve_montgomery_to_shortw() local 298 tmp.magic = tmp2.magic = a.magic = b.magic = WORD(0); in curve_montgomery_to_shortw() 303 ret = fp_init(&tmp2, montgomery_crv->A.ctx); EG(ret, err); in curve_montgomery_to_shortw() 309 ret = fp_set_word_value(&tmp2, WORD(3)); EG(ret, err); in curve_montgomery_to_shortw() 311 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in curve_montgomery_to_shortw() 316 ret = fp_sqr(&tmp2, &(montgomery_crv->A)); EG(ret, err); in curve_montgomery_to_shortw() 318 ret = fp_sub(&tmp2, &a, &tmp2); EG(ret, err); in curve_montgomery_to_shortw() 320 ret = fp_mul(&a, &tmp2, &tmp); EG(ret, err); in curve_montgomery_to_shortw() 325 ret = fp_set_word_value(&tmp2, WORD(27)); EG(ret, err); in curve_montgomery_to_shortw() 327 ret = fp_mul(&tmp, &tmp, &tmp2); EG(ret, err); in curve_montgomery_to_shortw() [all …]
|
| HD | aff_pt_edwards.c | 108 fp x2, y2, tmp1, tmp2; in is_on_edwards_curve() local 110 x2.magic = y2.magic = tmp1.magic = tmp2.magic = WORD(0); in is_on_edwards_curve() 127 ret = fp_init(&tmp2, x->ctx); EG(ret, err); in is_on_edwards_curve() 133 ret = fp_mul(&tmp2, &x2, &(curve->a)); EG(ret, err); in is_on_edwards_curve() 134 ret = fp_add(&tmp2, &tmp2, &y2); EG(ret, err); in is_on_edwards_curve() 136 ret = fp_cmp(&tmp1, &tmp2, &cmp); in is_on_edwards_curve() 146 fp_uninit(&tmp2); in is_on_edwards_curve() 312 fp tmp1, tmp2, A, B; in curve_edwards_to_montgomery() local 314 tmp1.magic = tmp2.magic = A.magic = B.magic = WORD(0); in curve_edwards_to_montgomery() 321 ret = fp_init(&tmp2, edwards_crv->a.ctx); EG(ret, err); in curve_edwards_to_montgomery() [all …]
|
| /freebsd-13-stable/lib/libc/stdlib/ |
| HD | heapsort.c | 70 #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 …]
|
| /freebsd-13-stable/crypto/openssl/crypto/ec/ |
| HD | ecp_oct.c | 22 BIGNUM *tmp1, *tmp2, *x, *y; in ec_GFp_simple_set_compressed_coordinates() local 38 tmp2 = BN_CTX_get(ctx); in ec_GFp_simple_set_compressed_coordinates() 55 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates() 57 if (!group->meth->field_mul(group, tmp1, tmp2, x_, ctx)) in ec_GFp_simple_set_compressed_coordinates() 60 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates() 62 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ec_GFp_simple_set_compressed_coordinates() 68 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ec_GFp_simple_set_compressed_coordinates() 70 if (!BN_mod_add_quick(tmp2, tmp2, x, group->field)) in ec_GFp_simple_set_compressed_coordinates() 72 if (!BN_mod_sub_quick(tmp1, tmp1, tmp2, group->field)) in ec_GFp_simple_set_compressed_coordinates() 76 if (!group->meth->field_decode(group, tmp2, group->a, ctx)) in ec_GFp_simple_set_compressed_coordinates() [all …]
|
| /freebsd-13-stable/crypto/openssl/crypto/md5/asm/ |
| HD | md5-586.pl | 31 $tmp2="ebp"; 60 &mov($tmp2,&DWP($xo[$ki]*4,$K,"",0)) if $pos < 0; # very first one 68 &lea($a,&DWP($t,$a,$tmp2,1)); 71 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); 91 &lea($a,&DWP($t,$a,$tmp2,1)); 94 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); 119 &lea($a,&DWP($t,$a,$tmp2,1)); 122 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)); 137 &lea($a,&DWP($t,$a,$tmp2,1)); 140 &mov($tmp2,&DWP($xo[$ki+1]*4,$K,"",0)) if ($pos != 2); [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/libc/hash/ |
| HD | t_hmac.c | 44 uint8_t tmp2[EVP_MAX_MD_SIZE]; in test() local 88 memset(tmp2, 0, sizeof(tmp2)); in test() 91 tmp2len = hmac(names[t], key, i, data, j, tmp2, in test() 92 sizeof(tmp2)); in test() 96 if (tmp1[k] != tmp2[k]) { in test() 99 k, tmp1[k], tmp2[k]); in test()
|
| /freebsd-13-stable/crypto/openssl/crypto/aes/ |
| HD | aes_ige.c | 84 aes_block_t tmp, tmp2; in AES_ige_encrypt() local 94 tmp2.data[n] = tmp.data[n] ^ iv.data[n]; in AES_ige_encrypt() 95 AES_encrypt((unsigned char *)tmp2.data, in AES_ige_encrypt() 96 (unsigned char *)tmp2.data, key); in AES_ige_encrypt() 98 tmp2.data[n] ^= iv2.data[n]; in AES_ige_encrypt() 99 store_block(out, tmp2); in AES_ige_encrypt() 100 iv = tmp2; in AES_ige_encrypt() 137 aes_block_t tmp, tmp2; in AES_ige_encrypt() local 146 tmp2 = tmp; in AES_ige_encrypt() 154 iv = tmp2; in AES_ige_encrypt() [all …]
|