/freebsd-current/contrib/arm-optimized-routines/string/aarch64/ |
H A D | strchrnul-mte.S | 21 #define tmp1 x1 define 49 fmov tmp1, dend 50 lsr tmp1, tmp1, tmp2 /* Mask padding bits. */ 51 cbz tmp1, L(loop) 53 rbit tmp1, tmp1 54 clz tmp1, tmp1 55 add result, srcin, tmp1, ls [all...] |
H A D | strchr-mte.S | 21 #define tmp1 x1 define 52 fmov tmp1, dend 53 lsr tmp1, tmp1, tmp2 54 cbz tmp1, L(loop) 56 rbit tmp1, tmp1 57 clz tmp1, tmp1 60 tst tmp1, [all...] |
H A D | strchr.S | 23 #define tmp1 x3 define 63 ands tmp1, srcin, #31 72 neg tmp1, tmp1 81 lsl tmp1, tmp1, #1 85 lsr tmp1, tmp3, tmp1 88 bic tmp1, tmp3, tmp1 // Mas [all...] |
H A D | strchrnul.S | 23 #define tmp1 x3 define 58 ands tmp1, srcin, #31 66 neg tmp1, tmp1 73 lsl tmp1, tmp1, #1 77 lsr tmp1, tmp3, tmp1 80 bic tmp1, tmp3, tmp1 // Mas [all...] |
/freebsd-current/contrib/cortex-strings/src/arm/ |
H A D | strcmp.S | 86 #define tmp1 r4 define 95 #define syndrome_a tmp1 113 clz tmp1, \synd 114 lsl r1, \d2, tmp1 120 lsl \d1, \d1, tmp1 132 clz tmp1, \synd 133 bic tmp1, tmp1, #7 134 lsr r1, \d2, tmp1 141 lsr \d1, \d1, tmp1 [all...] |
H A D | memcpy.S | 85 #define tmp1 r3 define 163 and tmp1, count, #0x38 164 rsb tmp1, tmp1, #(56 - PC_OFFSET + INSN_SIZE) 165 add pc, pc, tmp1 182 ldrne tmp1, [src], #4 183 strne tmp1, [dst], #4 187 and tmp1, count, #0x3c 188 add dst, dst, tmp1 189 add src, src, tmp1 [all...] |
/freebsd-current/sys/crypto/aesni/ |
H A D | aesni_ghash.c | 167 __m128i tmp0, tmp1, tmp2, tmp3; local 193 tmp1 = _mm_shuffle_epi32(H2, 78); 195 tmp1 = _mm_xor_si128(tmp1, H2); 207 tmp1 = _mm_clmulepi64_si128(tmp1, tmp5, 0x00); 213 tmp0 = _mm_xor_si128(tmp1, tmp0); 275 __m128i tmp1, tmp2, tmp3, tmp4; local 294 tmp1 = _mm_xor_si128(X, KEY[0]); 297 tmp1 536 __m128i tmp1, tmp2, tmp3, tmp4; local [all...] |
/freebsd-current/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, [all...] |
/freebsd-current/contrib/cortex-strings/src/aarch64/ |
H A D | strchrnul.S | 43 #define tmp1 x3 define 85 ands tmp1, srcin, #31 93 neg tmp1, tmp1 102 lsl tmp1, tmp1, #1 106 lsr tmp1, tmp3, tmp1 109 bic tmp1, tmp3, tmp1 // Mas [all...] |
H A D | strlen.S | 46 #define tmp1 x4 define 104 and tmp1, srcin, MIN_PAGE_SIZE - 1 106 cmp tmp1, MIN_PAGE_SIZE - 16 117 sub tmp1, data1, zeroones 121 bics has_nul1, tmp1, tmp2 130 clz tmp1, has_nul1 132 add len, len, tmp1, lsr 3 145 sub tmp1, data1, zeroones 147 orr tmp2, tmp1, tmp3 151 sub tmp1, data [all...] |
H A D | strcmp.S | 57 #define tmp1 x7 define 65 eor tmp1, src1, src2 67 tst tmp1, #7 69 ands tmp1, src1, #7 78 sub tmp1, data1, zeroones 81 bic has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */ 117 sub tmp1, tmp3, zeroones 119 bic has_nul, tmp1, tmp2 142 lsl tmp1, tmp1, # [all...] |
H A D | strnlen.S | 46 #define tmp1 x8 define 82 ands tmp1, srcin, #15 100 sub tmp1, data1, zeroones 104 bic has_nul1, tmp1, tmp2 107 orr tmp1, has_nul1, has_nul2 108 ccmp tmp1, #0, #0, pl /* NZCV = 0000 */ 112 orr tmp1, has_nul1, has_nul2 113 cbz tmp1, .Lhit_limit /* No null in final Qword. */ 133 sub tmp1, data2, zeroones 135 bic has_nul2, tmp1, tmp [all...] |
H A D | memmove.S | 74 #define tmp1 x5 define 84 #define E_h tmp1 93 sub tmp1, dstin, src 95 ccmp tmp1, count, 2, hi 98 cbz tmp1, 3f 107 and tmp1, dstend, 15 109 sub srcend, srcend, tmp1 110 sub count, count, tmp1 116 sub dstend, dstend, tmp1
|
H A D | strchr.S | 43 #define tmp1 x3 define 96 ands tmp1, srcin, #31 105 neg tmp1, tmp1 116 lsl tmp1, tmp1, #1 120 lsr tmp1, tmp3, tmp1 123 bic tmp1, tmp3, tmp1 // Mas [all...] |
H A D | strcpy.S | 54 #define tmp1 x8 define 125 neg tmp1, to_align 141 sub tmp1, tmp2, zeroones 143 bics has_nul1, tmp1, tmp2 149 sub tmp1, data1, zeroones 151 bics has_nul1, tmp1, tmp2 235 sub tmp1, data1, zeroones 239 bic has_nul1, tmp1, tmp2 255 sub tmp1, data1, zeroones 257 bic has_nul1, tmp1, tmp [all...] |
/freebsd-current/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); 75 # &mov($tmp1,&wparam(0)); In last loop 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); 93 # &mov($tmp1,&wparam(0)); In last loop 98 &mov(&DWP(4,$tmp1,"", [all...] |
/freebsd-current/contrib/arm-optimized-routines/string/arm/ |
H A D | strcmp.S | 66 #define tmp1 r4 define 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 [all...] |
H A D | memcpy.S | 63 #define tmp1 r3 define 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 [all...] |
/freebsd-current/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-current/contrib/wpa/src/crypto/ |
H A D | milenage.c | 39 u8 tmp1[16], tmp2[16], tmp3[16]; local 42 /* tmp1 = TEMP = E_K(RAND XOR OP_C) */ 44 tmp1[i] = _rand[i] ^ opc[i]; 45 if (aes_128_encrypt_block(k, tmp1, tmp1)) 60 tmp3[i] ^= tmp1[i]; 64 if (aes_128_encrypt_block(k, tmp3, tmp1)) 67 tmp1[i] ^= opc[i]; 69 os_memcpy(mac_a, tmp1, 8); /* f1 */ 71 os_memcpy(mac_s, tmp1 91 u8 tmp1[16], tmp2[16], tmp3[16]; local [all...] |
/freebsd-current/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 fo [all...] |
/freebsd-current/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, [all...] |
/freebsd-current/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,2 [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/hash/ |
H A D | t_hmac.c | 43 uint8_t tmp1[EVP_MAX_MD_SIZE]; local 87 memset(tmp1, 0, sizeof(tmp1)); 89 e1 = HMAC(evps[t], key, i, data, j, tmp1, &tmp1len); 96 if (tmp1[k] != tmp2[k]) { 99 k, tmp1[k], tmp2[k]);
|
/freebsd-current/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 [all...] |