| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/asm/ |
| H A D | ghash-x86_64.pl | 138 $Xi="%rdi"; 261 movzb 15($Xi),$Zlo 264 &loop ($Xi); 266 mov $Zlo,8($Xi) 267 mov $Zhi,($Xi) 343 &mov ($Zlo,"8($Xi)"); 344 &mov ($Zhi,"0($Xi)"); 354 &mov ("($Xi)",$Zhi); 355 &mov ("8($Xi)","%rdx"); 390 &mov ($dat,"$j($Xi)") if (--$j%4==0); [all …]
|
| H A D | ghash-x86.pl | 838 ($Xi,$Xhi)=("xmm0","xmm1"); $Hkey="xmm2"; 845 my ($Xhi,$Xi,$Hkey,$HK)=@_; 847 &movdqa ($Xhi,$Xi); # 848 &pshufd ($T1,$Xi,0b01001110); 850 &pxor ($T1,$Xi); # 854 &pclmulqdq ($Xi,$Hkey,0x00); ####### 857 &xorps ($T1,$Xi); # 864 &pxor ($Xi,$T2); # 873 my ($Xhi,$Xi,$Hkey)=@_; 875 &movdqa ($T1,$Xi); # [all …]
|
| H A D | aesni-gcm-x86_64.pl | 83 $Z0,$Z1,$Z2,$Z3,$Xi) = map("%xmm$_",(0..8)); 141 vpxor $Z0,$Xi,$Xi # modulo-scheduled 152 vpxor 16+8(%rsp),$Xi,$Xi # modulo-scheduled [vpxor $Z3,$Xi,$Xi] 216 vpxor 0x70+8(%rsp),$Xi,$Xi # accumulate I[0] 230 vpclmulqdq \$0x10,$Hkey,$Xi,$Z1 233 vpclmulqdq \$0x01,$Hkey,$Xi,$T1 237 vpclmulqdq \$0x00,$Hkey,$Xi,$T2 240 vpclmulqdq \$0x11,$Hkey,$Xi,$Xi 255 vpxor $Xi,$Z3,$Z3 345 vmovdqu $Z3,16+8(%rsp) # postpone vpxor $Z3,$Xi,$Xi [all …]
|
| H A D | ghash-s390x.pl | 67 $Xi="%r2"; # argument block 103 la %r1,0($Xi) # H lies right after Xi in gcm128_context 115 aghi $Xi,-1 120 lg $Zlo,8+1($Xi) # Xi 136 la %r1,0($Xi) # H lies right after Xi in gcm128_context 149 aghi $Xi,-1 154 lg $Zlo,8+1($Xi) # Xi 155 lg $Zhi,0+1($Xi) 161 stg $Zlo,8+1($Xi) 162 stg $Zhi,0+1($Xi) [all …]
|
| H A D | ghash-armv4.pl | 98 $Xi="r0"; # argument block 126 str $_,[$Xi,#$i] 128 str $_,[$Xi,#$i] 131 strb $_,[$Xi,#$i+3] 133 strb $Tlh,[$Xi,#$i+2] 135 strb $Thl,[$Xi,#$i+1] 136 strb $Thh,[$Xi,#$i] 197 ldrb $nhi,[$Xi,#15] 215 ldrb $nhi,[$Xi,#14] 254 ldrplb $Tll,[$Xi,$cnt] [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/asm/ |
| H A D | ghash-x86_64.pl | 136 $Xi="%rdi"; 258 movzb 15($Xi),$Zlo 261 &loop ($Xi); 263 mov $Zlo,8($Xi) 264 mov $Zhi,($Xi) 339 &mov ($Zlo,"8($Xi)"); 340 &mov ($Zhi,"0($Xi)"); 350 &mov ("($Xi)",$Zhi); 351 &mov ("8($Xi)","%rdx"); 386 &mov ($dat,"$j($Xi)") if (--$j%4==0); [all …]
|
| H A D | ghash-x86.pl | 839 ($Xi,$Xhi)=("xmm0","xmm1"); $Hkey="xmm2"; 846 my ($Xhi,$Xi,$Hkey,$HK)=@_; 848 &movdqa ($Xhi,$Xi); # 849 &pshufd ($T1,$Xi,0b01001110); 851 &pxor ($T1,$Xi); # 855 &pclmulqdq ($Xi,$Hkey,0x00); ####### 858 &xorps ($T1,$Xi); # 865 &pxor ($Xi,$T2); # 874 my ($Xhi,$Xi,$Hkey)=@_; 876 &movdqa ($T1,$Xi); # [all …]
|
| H A D | aesni-gcm-x86_64.pl | 81 $Z0,$Z1,$Z2,$Z3,$Xi) = map("%xmm$_",(0..8)); 139 vpxor $Z0,$Xi,$Xi # modulo-scheduled 150 vpxor 16+8(%rsp),$Xi,$Xi # modulo-scheduled [vpxor $Z3,$Xi,$Xi] 214 vpxor 0x70+8(%rsp),$Xi,$Xi # accumulate I[0] 228 vpclmulqdq \$0x10,$Hkey,$Xi,$Z1 231 vpclmulqdq \$0x01,$Hkey,$Xi,$T1 235 vpclmulqdq \$0x00,$Hkey,$Xi,$T2 238 vpclmulqdq \$0x11,$Hkey,$Xi,$Xi 253 vpxor $Xi,$Z3,$Z3 343 vmovdqu $Z3,16+8(%rsp) # postpone vpxor $Z3,$Xi,$Xi [all …]
|
| H A D | ghash-s390x.pl | 65 $Xi="%r2"; # argument block 101 la %r1,0($Xi) # H lies right after Xi in gcm128_context 113 aghi $Xi,-1 118 lg $Zlo,8+1($Xi) # Xi 134 la %r1,0($Xi) # H lies right after Xi in gcm128_context 147 aghi $Xi,-1 152 lg $Zlo,8+1($Xi) # Xi 153 lg $Zhi,0+1($Xi) 159 stg $Zlo,8+1($Xi) 160 stg $Zhi,0+1($Xi) [all …]
|
| H A D | ghash-armv4.pl | 96 $Xi="r0"; # argument block 124 str $_,[$Xi,#$i] 126 str $_,[$Xi,#$i] 129 strb $_,[$Xi,#$i+3] 131 strb $Tlh,[$Xi,#$i+2] 133 strb $Thl,[$Xi,#$i+1] 134 strb $Thh,[$Xi,#$i] 194 ldrb $nhi,[$Xi,#15] 212 ldrb $nhi,[$Xi,#14] 251 ldrplb $Tll,[$Xi,$cnt] [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/sha/asm/ |
| H A D | sha1-mb-x86_64.pl | 93 @Xi=map("%xmm$_",(10..14)); 99 @Xi=map("%xmm$_",(0..4)); 132 movd (@ptr[0]),@Xi[0] 134 movd (@ptr[1]),@Xi[2] # borrow @Xi[2] 136 movd (@ptr[2]),@Xi[3] # borrow @Xi[3] 138 movd (@ptr[3]),@Xi[4] # borrow @Xi[4] 140 punpckldq @Xi[3],@Xi[0] 141 movd `4*$j-16*4`(@ptr[0]),@Xi[1] 142 punpckldq @Xi[4],@Xi[2] 144 punpckldq @Xi[2],@Xi[0] [all …]
|
| H A D | sha256-mb-x86_64.pl | 96 ($t1,$t2,$t3,$axb,$bxc,$Xi,$Xn,$sigma)=map("%xmm$_",(0..7)); 111 movd `4*$i`(@ptr[0]),$Xi 115 punpckldq $t2,$Xi 117 punpckldq $t1,$Xi 120 movd `4*$i`(@ptr[0]),$Xi 128 punpckldq $t2,$Xi 130 punpckldq $t1,$Xi 134 `"pshufb $Xn,$Xi" if ($i<=15 && ($i&1)==0)` 136 `"pshufb $Xn,$Xi" if ($i<=15 && ($i&1)==1)` 140 movdqa $Xi,`&Xi_off($i)` [all …]
|
| H A D | sha1-armv4-large.pl | 106 $Xi="r14"; 112 ldr $t0,[$Xi,#15*4] 113 ldr $t1,[$Xi,#13*4] 114 ldr $t2,[$Xi,#7*4] 116 ldr $t3,[$Xi,#2*4] 123 str $t0,[$Xi,#-4]! 156 str $t0,[$Xi,#-4]! 221 mov $Xi,sp 234 teq $Xi,$t3 236 teq $Xi,sp [all …]
|
| H A D | sha1-thumb.pl | 47 $Xi="r12"; 140 mov $Xi,sp 177 mov $t0,$Xi 182 mov $Xi,$t1 188 cmp $Xi,$t0 194 mov $Xi,$t1 200 cmp $Xi,$t0 208 mov $Xi,$t1 214 cmp $Xi,$t0 218 mov $Xi,sp
|
| H A D | sha1-x86_64.pl | 477 my $Xi=4; 614 &movdqa (eval(16*(($Xi-1)&3))."(%rsp)",@Tx[1]); # X[]+K xfer to IALU 649 &movdqa (@Tx[2],eval(2*16*(($Xi)/5)-64)."($K_XX_XX)"); # K_XX_XX 655 &pshufd (@Tx[1],@X[-1&7],0xee) if ($Xi==7); # was &movdqa (@Tx[0],@X[-1&7]) in Xupdate_ssse3_32_79 659 $Xi++; push(@X,shift(@X)); # "rotate" X[] 669 eval(shift(@insns)) if ($Xi==8); 671 eval(shift(@insns)) if ($Xi==8); 683 if ($Xi%5) { 686 &movdqa (@Tx[2],eval(2*16*($Xi/5)-64)."($K_XX_XX)"); 702 &movdqa (eval(16*(($Xi-1)&3))."(%rsp)",@Tx[1]); # X[]+K xfer to IALU [all …]
|
| H A D | sha1-586.pl | 565 my $Xi=4; # 4xSIMD Xupdate round, start pre-seeded 694 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]);# save X[] to backtrace buffer 712 &movdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU 741 &movdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if ($Xi>5); # restore X[] from backtrace buffer 749 &movdqa (@X[4],&QWP(112-16+16*(($Xi)/5),"esp")); # K_XX_XX 754 &pshufd (@X[1],@X[-3&7],0xee) if ($Xi<7); # was &movdqa (@X[1],@X[-2&7]) 755 &pshufd (@X[3],@X[-1&7],0xee) if ($Xi==7); 761 $Xi++; push(@X,shift(@X)); # "rotate" X[] 778 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]); # save X[] to backtrace buffer 782 if ($Xi%5) { [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/sha/asm/ |
| H A D | sha1-mb-x86_64.pl | 101 @Xi=map("%xmm$_",(10..14)); 107 @Xi=map("%xmm$_",(0..4)); 140 movd (@ptr[0]),@Xi[0] 142 movd (@ptr[1]),@Xi[2] # borrow @Xi[2] 144 movd (@ptr[2]),@Xi[3] # borrow @Xi[3] 146 movd (@ptr[3]),@Xi[4] # borrow @Xi[4] 148 punpckldq @Xi[3],@Xi[0] 149 movd `4*$j-16*4`(@ptr[0]),@Xi[1] 150 punpckldq @Xi[4],@Xi[2] 152 punpckldq @Xi[2],@Xi[0] [all …]
|
| H A D | sha256-mb-x86_64.pl | 104 ($t1,$t2,$t3,$axb,$bxc,$Xi,$Xn,$sigma)=map("%xmm$_",(0..7)); 119 movd `4*$i`(@ptr[0]),$Xi 123 punpckldq $t2,$Xi 125 punpckldq $t1,$Xi 128 movd `4*$i`(@ptr[0]),$Xi 136 punpckldq $t2,$Xi 138 punpckldq $t1,$Xi 142 `"pshufb $Xn,$Xi" if ($i<=15 && ($i&1)==0)` 144 `"pshufb $Xn,$Xi" if ($i<=15 && ($i&1)==1)` 148 movdqa $Xi,`&Xi_off($i)` [all …]
|
| H A D | sha1-armv4-large.pl | 108 $Xi="r14"; 114 ldr $t0,[$Xi,#15*4] 115 ldr $t1,[$Xi,#13*4] 116 ldr $t2,[$Xi,#7*4] 118 ldr $t3,[$Xi,#2*4] 125 str $t0,[$Xi,#-4]! 158 str $t0,[$Xi,#-4]! 226 mov $Xi,sp 239 teq $Xi,$t3 241 teq $Xi,sp [all …]
|
| H A D | sha1-thumb.pl | 46 $Xi="r12"; 139 mov $Xi,sp 176 mov $t0,$Xi 181 mov $Xi,$t1 187 cmp $Xi,$t0 193 mov $Xi,$t1 199 cmp $Xi,$t0 207 mov $Xi,$t1 213 cmp $Xi,$t0 217 mov $Xi,sp
|
| H A D | sha1-x86_64.pl | 479 my $Xi=4; 616 &movdqa (eval(16*(($Xi-1)&3))."(%rsp)",@Tx[1]); # X[]+K xfer to IALU 651 &movdqa (@Tx[2],eval(2*16*(($Xi)/5)-64)."($K_XX_XX)"); # K_XX_XX 657 &pshufd (@Tx[1],@X[-1&7],0xee) if ($Xi==7); # was &movdqa (@Tx[0],@X[-1&7]) in Xupdate_ssse3_32_79 661 $Xi++; push(@X,shift(@X)); # "rotate" X[] 671 eval(shift(@insns)) if ($Xi==8); 673 eval(shift(@insns)) if ($Xi==8); 685 if ($Xi%5) { 688 &movdqa (@Tx[2],eval(2*16*($Xi/5)-64)."($K_XX_XX)"); 704 &movdqa (eval(16*(($Xi-1)&3))."(%rsp)",@Tx[1]); # X[]+K xfer to IALU [all …]
|
| H A D | sha1-586.pl | 564 my $Xi=4; # 4xSIMD Xupdate round, start pre-seeded 693 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]);# save X[] to backtrace buffer 711 &movdqa (&QWP(0+16*(($Xi-1)&3),"esp"),@X[3]); # X[]+K xfer to IALU 740 &movdqa (@X[2],&QWP(64+16*(($Xi-6)%3),"esp")) if ($Xi>5); # restore X[] from backtrace buffer 748 &movdqa (@X[4],&QWP(112-16+16*(($Xi)/5),"esp")); # K_XX_XX 753 &pshufd (@X[1],@X[-3&7],0xee) if ($Xi<7); # was &movdqa (@X[1],@X[-2&7]) 754 &pshufd (@X[3],@X[-1&7],0xee) if ($Xi==7); 760 $Xi++; push(@X,shift(@X)); # "rotate" X[] 777 &movdqa (&QWP(64+16*(($Xi-4)%3),"esp"),@X[-4&7]); # save X[] to backtrace buffer 781 if ($Xi%5) { [all …]
|
| H A D | sha1-sparcv9.pl | 40 $Xi="%g4"; 62 my $xi=($i&1)?@X[($i/2)%8]:$Xi; 80 " srlx @X[(($i+1)/2)%8],32,$Xi\n"; 99 sllx @X[($j+6)%8],32,$Xi ! Xupdate($i) 104 or $tmp1,$Xi,$Xi 106 xor $Xi,@X[$j%8],@X[$j%8] 107 srlx @X[$j%8],31,$Xi 109 and $Xi,$rot1m,$Xi 112 or $Xi,@X[$j%8],@X[$j%8] 124 $xi=$Xi; [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| H A D | gcm128.c | 104 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) in gcm_gmult_8bit() 107 const u8 *xi = (const u8 *)Xi + 15; in gcm_gmult_8bit() 181 if ((u8 *)Xi == xi) in gcm_gmult_8bit() 197 Xi[0] = BSWAP8(Z.hi); in gcm_gmult_8bit() 198 Xi[1] = BSWAP8(Z.lo); in gcm_gmult_8bit() 200 u8 *p = (u8 *)Xi; in gcm_gmult_8bit() 212 Xi[0] = Z.hi; in gcm_gmult_8bit() 213 Xi[1] = Z.lo; in gcm_gmult_8bit() 217 # define GCM_MUL(ctx) gcm_gmult_8bit(ctx->Xi.u,ctx->Htable) 300 static void gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]) in gcm_gmult_4bit() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| H A D | gcm128.c | 102 static void gcm_gmult_8bit(u64 Xi[2], const u128 Htable[256]) in gcm_gmult_8bit() 105 const u8 *xi = (const u8 *)Xi + 15; in gcm_gmult_8bit() 182 if ((u8 *)Xi == xi) in gcm_gmult_8bit() 198 Xi[0] = BSWAP8(Z.hi); in gcm_gmult_8bit() 199 Xi[1] = BSWAP8(Z.lo); in gcm_gmult_8bit() 201 u8 *p = (u8 *)Xi; in gcm_gmult_8bit() 213 Xi[0] = Z.hi; in gcm_gmult_8bit() 214 Xi[1] = Z.lo; in gcm_gmult_8bit() 218 # define GCM_MUL(ctx) gcm_gmult_8bit(ctx->Xi.u,ctx->Htable) 304 static void gcm_gmult_4bit(u64 Xi[2], const u128 Htable[16]) in gcm_gmult_4bit() [all …]
|