/freebsd/sys/crypto/aesni/ |
H A D | aesni_ghash.c | 167 __m128i tmp0, tmp1, tmp2, tmp3; in reduce4() local 193 tmp1 = _mm_shuffle_epi32(H2, 78); in reduce4() 195 tmp1 = _mm_xor_si128(tmp1, H2); in reduce4() 207 tmp1 = _mm_clmulepi64_si128(tmp1, tmp5, 0x00); in reduce4() 213 tmp0 = _mm_xor_si128(tmp1, tmp0); in reduce4() 275 __m128i tmp1, tmp2, tmp3, tmp4; in AES_GCM_encrypt() local 294 tmp1 = _mm_xor_si128(X, KEY[0]); in AES_GCM_encrypt() 297 tmp1 = _mm_aesenc_si128(tmp1, KEY[j]); in AES_GCM_encrypt() 300 tmp1 = _mm_aesenc_si128(tmp1, KEY[j+1]); in AES_GCM_encrypt() 303 tmp1 = _mm_aesenc_si128(tmp1, KEY[nr-1]); in AES_GCM_encrypt() [all …]
|
/freebsd/contrib/arm-optimized-routines/string/arm/ |
H A D | strcmp.S | 66 #define tmp1 r4 macro 75 #define syndrome_a tmp1 93 clz tmp1, \synd 94 lsl r1, \d2, tmp1 100 lsl \d1, \d1, tmp1 113 clz tmp1, \synd 114 bic tmp1, tmp1, #7 115 lsr r1, \d2, tmp1 122 lsr \d1, \d1, tmp1 149 orr tmp1, src1, src2 [all …]
|
H A D | memcpy.S | 63 #define tmp1 r3 macro 133 and tmp1, count, #0x38 134 rsb tmp1, tmp1, #(56 - PC_OFFSET + INSN_SIZE) 135 add pc, pc, tmp1 152 ldrne tmp1, [src], #4 153 strne tmp1, [dst], #4 157 and tmp1, count, #0x3c 158 add dst, dst, tmp1 159 add src, src, tmp1 160 rsb tmp1, tmp1, #(60 - PC_OFFSET/2 + INSN_SIZE/2) [all …]
|
/freebsd/crypto/openssl/crypto/cast/asm/ |
H A D | cast-586.pl | 29 $tmp1="ecx"; 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); 101 &E_CAST( 6,$S,$L,$R,$K,@F1,$tmp1,$tmp2,$tmp3,$tmp4); 102 &E_CAST( 7,$S,$R,$L,$K,@F2,$tmp1,$tmp2,$tmp3,$tmp4); 103 &E_CAST( 8,$S,$L,$R,$K,@F3,$tmp1,$tmp2,$tmp3,$tmp4); [all …]
|
/freebsd/contrib/arm-optimized-routines/string/aarch64/ |
H A D | strchr-mte.S | 21 #define tmp1 x1 macro 51 fmov tmp1, dend 52 lsr tmp1, tmp1, tmp2 53 cbz tmp1, L(loop) 55 rbit tmp1, tmp1 56 clz tmp1, tmp1 59 tst tmp1, 2 60 add result, srcin, tmp1, lsr 2 70 fmov tmp1, dend 71 cbnz tmp1, L(end) [all …]
|
H A D | strchrnul-mte.S | 21 #define tmp1 x1 macro 48 fmov tmp1, dend 49 lsr tmp1, tmp1, tmp2 /* Mask padding bits. */ 50 cbz tmp1, L(loop) 52 rbit tmp1, tmp1 53 clz tmp1, tmp1 54 add result, srcin, tmp1, lsr 2 63 fmov tmp1, dend 64 cbnz tmp1, L(end) 69 fmov tmp1, dend [all …]
|
H A D | strchrnul.S | 23 #define tmp1 x3 macro 57 ands tmp1, srcin, #31 65 neg tmp1, tmp1 72 lsl tmp1, tmp1, #1 76 lsr tmp1, tmp3, tmp1 79 bic tmp1, tmp3, tmp1 // Mask padding bits. 80 cbnz tmp1, L(tail) 91 mov tmp1, vend1.d[0] 92 cbz tmp1, L(loop) 101 mov tmp1, vend1.d[0] [all …]
|
H A D | strchr.S | 23 #define tmp1 x3 macro 62 ands tmp1, srcin, #31 71 neg tmp1, tmp1 80 lsl tmp1, tmp1, #1 84 lsr tmp1, tmp3, tmp1 87 bic tmp1, tmp3, tmp1 // Mask padding bits. 88 cbnz tmp1, L(tail) 99 mov tmp1, vend1.d[0] 100 cbz tmp1, L(loop) 110 mov tmp1, vend1.d[0] [all …]
|
H A D | memcpy-advsimd.S | 29 #define tmp1 x14 macro 118 lsr tmp1, count, 1 121 ldrb B_lw, [src, tmp1] 123 strb B_lw, [dstin, tmp1] 134 sub tmp1, dstin, src 135 cmp tmp1, count 140 and tmp1, src, 15 142 sub dst, dstin, tmp1 143 add count, count, tmp1 /* Count is now 16 too large. */ 175 cbz tmp1, L(copy0) [all …]
|
/freebsd/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-mips.pl | 71 ($in0,$in1,$tmp0,$tmp1,$tmp2,$tmp3,$tmp4) = ($a4,$a5,$a6,$a7,$at,$t0,$t1); 121 and $tmp1,$in0,$tmp0 # byte swap 125 dsll $tmp1,24 130 or $tmp1,$tmp2 140 or $tmp1,$tmp2 142 or $in0,$tmp1 144 dsrl $tmp1,$in0,32 148 or $in0,$tmp1 240 and $tmp1,$in0,$tmp0 # byte swap 244 dsll $tmp1,24 [all …]
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-sparcv9a.pl | 56 $tmp1="%i4"; 160 srl $a,27,$tmp1 164 add $tmp1,$e,$e 165 andn $d,$b,$tmp1 169 or $tmp1,$tmp3,$tmp1 171 add $tmp1,$e,$e 179 srl $a,27,$tmp1 183 add $tmp1,$e,$e 185 andn $d,$b,$tmp1 189 or $tmp1,$tmp3,$tmp1 [all …]
|
H A D | sha512-mips.pl | 141 my ($T1,$tmp0,$tmp1,$tmp2)=(@X[4],@X[5],@X[6],@X[7]); 157 srl $tmp1,@X[0],8 160 andi $tmp1,0xFF00 163 or $tmp1,$tmp2 164 or @X[0],$tmp1 175 and $tmp1,@X[0],$tmp0 # byte swap($i) 177 dsll $tmp1,24 180 or $tmp1,$tmp2 185 or $tmp1,$tmp2 186 or @X[0],$tmp1 [all …]
|
H A D | sha512-sparcv9.pl | 120 $tmp1="%g4"; 152 srlx @X[$j+1],$tmp32,$tmp1 154 or $tmp1,@X[$j],@X[$j] 190 sllx @pair[0],$tmp0,$tmp1 193 or $tmp1,$tmp2,$tmp2 208 sllx @pair[0],$tmp0,$tmp1 211 or $tmp1,$tmp2,$tmp2 236 $SLL $e,`$SZ*8-@Sigma1[2]`,$tmp1 239 xor $tmp1,$h,$h 240 $SLL $e,`$SZ*8-@Sigma1[1]`,$tmp1 [all …]
|
H A D | sha1-sparcv9.pl | 57 $tmp1="%i4"; 67 srl $a,27,$tmp1 70 add $tmp1,$e,$e 72 andn $d,$b,$tmp1 74 or $tmp1,$tmp0,$tmp1 83 add $tmp1,$e,$e 95 srl $a,27,$tmp1 101 srlx @X[($j+7)%8],32,$tmp1 104 or $tmp1,$Xi,$Xi 111 srl $a,27,$tmp1 !! [all …]
|
H A D | sha1-586.pl | 160 $tmp1="ebp"; 175 if ($n==0) { &mov($tmp1,$a); } 176 else { &mov($a,$tmp1); } 177 &rotl($tmp1,5); # tmp1=ROTATE(a,5) 179 &add($tmp1,$e); # tmp1+=e; 186 &lea($tmp1,&DWP(0x5a827999,$tmp1,$e)); # tmp1+=K_00_19+xi 189 &add($f,$tmp1); } # f+=tmp1 190 else { &add($tmp1,$f); } # f becomes a in next round 191 &mov($tmp1,$a) if ($alt && $n==15); 203 &and($tmp1,$c); # tmp1 to hold F_00_19(b,c,d), b&=c^d [all …]
|
/freebsd/crypto/openssl/crypto/md5/asm/ |
H A D | md5-586.pl | 32 $tmp1="edi"; 61 &mov($tmp1,$C) if $pos < 0; 67 &xor($tmp1,$d); # F function - part 2 69 &and($tmp1,$b); # F function - part 3 72 &xor($tmp1,$d); # F function - part 4 75 &add($a,$tmp1); 79 &mov($tmp1,&Np($c)) if $pos < 1; # next tmp1 for R0 80 &mov($tmp1,&Np($c)) if $pos == 1; # next tmp1 for R1 91 &xor($tmp1,$b); # G function - part 2 92 &and($tmp1,$d); # G function - part 3 [all …]
|
/freebsd/crypto/openssl/crypto/bf/asm/ |
H A D | bf-586.pl | 24 $tmp1="eax"; 55 &xor( $tmp1, $tmp1); 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); 88 &BF_ENCRYPT($i,$R,$L,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 91 &BF_ENCRYPT($i-1,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,0); 98 &mov(&DWP(4,$tmp1,"",0),$L); 100 &mov(&DWP(0,$tmp1,"",0),$R); 106 local($i,$L,$R,$P,$tmp1,$tmp2,$tmp3,$tmp4,$enc)=@_; 116 &movb( &LB($tmp1), &HB($tmp2)); # A [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | milenage.c | 39 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/crypto/openssl/crypto/ripemd/asm/ |
H A D | rmd-586.pl | 28 $tmp1="eax"; 96 &xor($tmp1, $d) if $o == -1; 98 &xor($tmp1, $b); 101 &add($a, $tmp1); 102 &mov($tmp1, &Np($c)); # NEXT 109 &xor($tmp1, $d); 111 &xor($tmp1, $b); 112 &add($a, $tmp1); 113 &mov($tmp1, &Np($c)) if $o <= 0; 114 &mov($tmp1, -1) if $o == 1; [all …]
|
/freebsd/crypto/openssl/crypto/des/asm/ |
H A D | crypt586.pl | 86 local($r,$L,$R,$S,$trans,$u,$tmp1,$tmp2,$t)=@_; 97 &mov( $tmp1, $u); 98 &shl( $tmp1, 16); # 1 101 &xor( $u, $tmp1); # 2 103 &mov( $tmp1, &DWP(&n2a($S*4),$trans,"",0)); # 2 104 &xor( $u, $tmp1); 111 &xor( $tmp1, $tmp1); # 1 114 &movb( &LB($tmp1), &LB($u) ); 118 &xor( $L, &DWP(" ",$trans,$tmp1,0)); 119 &movb( &LB($tmp1), &LB($t) ); [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | bn-586.pl | 445 $tmp1="ecx"; 463 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 465 &add($tmp1,$c); 468 &add($tmp1,$tmp2); 470 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 488 &mov($tmp1,&DWP($i*4,$a,"",0)); # *a 490 &add($tmp1,$c); 493 &add($tmp1,$tmp2); 496 &mov(&DWP($i*4,$r,"",0),$tmp1); # *r 517 $tmp1="ecx"; [all …]
|
/freebsd/lib/libc/stdlib/ |
H A D | heapsort.c | 66 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument 68 tmp1 = a; \ 71 *tmp1++ = *tmp2++; \ 114 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument 122 COPY(par, child, count, size, tmp1, tmp2); \ 130 COPY(child, k, count, size, tmp1, tmp2); \ 133 COPY(child, par, count, size, tmp1, tmp2); \ 160 char tmp, *tmp1, *tmp2; in heapsort_b() local 189 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); in heapsort_b() 190 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2); in heapsort_b() [all …]
|
/freebsd/crypto/openssl/crypto/rc5/asm/ |
H A D | rc5-586.pl | 24 $tmp1="eax"; 67 &mov($tmp1, &DWP(12+$i*8,$S,"",0)); 70 &add($A, $tmp1); 73 &mov($tmp1, &DWP(16+$i*8,$S,"",0)); 76 &add($B, $tmp1); 93 &mov($tmp1, &DWP($i*8+8,$S,"",0)); 94 &sub($B, $tmp1); 99 &mov($tmp1, &DWP($i*8+4,$S,"",0)); 100 &sub($A, $tmp1);
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ipf_rb.h | 40 _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/sys/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/ |
H A D | x25519_ref10.c | 64 fe25519 tmp1; in crypto_scalarmult_curve25519_ref10() local 93 fe25519_sub(tmp1, x2, z2); in crypto_scalarmult_curve25519_ref10() 97 fe25519_mul(z2, z2, tmp1); in crypto_scalarmult_curve25519_ref10() 98 fe25519_sq(tmp0, tmp1); in crypto_scalarmult_curve25519_ref10() 99 fe25519_sq(tmp1, x2); in crypto_scalarmult_curve25519_ref10() 102 fe25519_mul(x2, tmp1, tmp0); in crypto_scalarmult_curve25519_ref10() 103 fe25519_sub(tmp1, tmp1, tmp0); in crypto_scalarmult_curve25519_ref10() 105 fe25519_scalar_product(z3, tmp1, 121666); in crypto_scalarmult_curve25519_ref10() 109 fe25519_mul(z2, tmp1, tmp0); in crypto_scalarmult_curve25519_ref10()
|