/openssl/crypto/camellia/ |
H A D | camellia.c | 288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local 290 k[0] = s0 = GETU32(rawKey); in Camellia_Ekeygen() 299 k[10] = s2 = ~s0; in Camellia_Ekeygen() 324 k[24] = s0, k[25] = s1; in Camellia_Ekeygen() 407 register u32 s0, s1, s2, s3; in Camellia_EncryptBlock_Rounds() local 410 s0 = GETU32(plaintext) ^ k[0]; in Camellia_EncryptBlock_Rounds() 436 s0 ^= s1 | k[1]; in Camellia_EncryptBlock_Rounds() 445 PUTU32(ciphertext + 8, s0); in Camellia_EncryptBlock_Rounds() 460 u32 s0, s1, s2, s3; in Camellia_DecryptBlock_Rounds() local 489 s0 ^= s1 | k[3]; in Camellia_DecryptBlock_Rounds() [all …]
|
/openssl/crypto/aes/asm/ |
H A D | aes-armv4.pl | 251 rev $s0,$s0 262 rev $s0,$s0 316 eor $s0,$s0,$t1 376 eor $s0,$s0,$i1 439 eor $s0,$s0,$i1 532 rev $s0,$s0 1027 rev $s0,$s0 1038 rev $s0,$s0 1092 eor $s0,$s0,$t1 1150 eor $s0,$s0,$i1 [all …]
|
H A D | aes-ppc.pl | 544 xor $s0,$s0,$t0 664 or $s0,$s0,$acc12 668 xor $s0,$s0,$t0 692 xor $s0,$s0,$t0 741 or $s0,$s0,$acc12 813 xor $s0,$s0,$t0 1022 xor $s0,$s0,$t0 1142 or $s0,$s0,$acc12 1146 xor $s0,$s0,$t0 1176 xor $s0,$s0,$t0 [all …]
|
H A D | aes-s390x.pl | 117 $s0="%r8"; 323 l $s0,0($s0,$tbl) # Te0[s0>>24] 392 llgc $s0,2($s0,$tbl) # Te4[s0>>24] 394 sll $s0,24 649 l $s0,0($s0,$tbl) # Td0[s0>>24] 1158 rll $s0,$s0,24 # = ROTATE(tp1,8) 1340 sllg $s0,$s0,32 1735 algr $s0,$s0 1794 algr $s0,$s0 2071 algr $s0,$s0 [all …]
|
H A D | aes-586.pl | 207 $s0="eax"; 352 &shr ($s0,24); # 1* 961 &xor ($s0,&DWP(0,$key)); 1178 &mov ($s0,"esp"); 1969 &mov ($s0,"esp"); 2081 &mov ($s0,$tbl); 2094 &sub ($s3,$s0); 2330 &mov ($s0,&DWP(0,$s0)) if (!$x86only);# load OPENSSL_ia32cap 2372 &mov ($acc,$s0); 2484 &xor ($s0,$s0); [all …]
|
H A D | aes-parisc.pl | 122 vshd $s0,$s1,$s0 203 xor $t0,$s0,$s0 315 xor $acc0,$s0,$s0 318 xor $acc1,$s0,$s0 321 xor $acc2,$s0,$s0 324 xor $acc3,$s0,$s0 433 xor $acc3,$s0,$s0 591 vshd $s0,$s1,$s0 673 xor $t0,$s0,$s0 784 xor $acc0,$s0,$s0 [all …]
|
H A D | aes-sparcv9.pl | 210 xor $t0,$s0,$s0 365 xor $acc0,$s0,$s0 368 xor $acc1,$s0,$s0 372 xor $acc2,$s0,$s0 375 xor $acc3,$s0,$s0 488 xor $acc3,$s0,$s0 491 xor $acc0,$s0,$s0 495 xor $acc1,$s0,$s0 497 xor $acc2,$s0,$s0 757 xor $t0,$s0,$s0 [all …]
|
H A D | aes-x86_64.pl | 58 $s0="%eax"; 128 shr \$16,$s0 153 xor $t0,$s0 196 shr \$16,$s0 243 xor $t0,$s0 441 mov $t0,$s0 481 and $s0,$t0 486 lea ($s0,$s0),$r20 495 mov $s0,$t0 516 xor $t0,$s0 [all …]
|
H A D | aes-mips.pl | 143 xor $s0,$t0 160 ext $i2,$s0,8,8 167 ext $i1,$s0,0,8 202 lw $s0,0($key0) 222 xor $s0,$t0 426 xor $s0,$t0 628 xor $s0,$t0 747 xor $s0,$t0 826 xor $s0,$t0 1030 xor $s0,$t0 [all …]
|
H A D | aes-ia64.S | 55 t0=r32; s0=r33; 111 { .mmi; xor s0=s0,t0 124 (p0) and te30=s0,maskff // 0/1:s0&0xff 208 and te30=s0,maskff // 0/1:s0&0xff 432 #s/te00=s0/td00=s0/; s/te00/td00/g; 438 s/te12=s2/td10=s0/; s/te12/td10/g; 440 s/te30=s0/td32=s2/; s/te30/td32/g; 444 #s/te20=s0/td20=s0/; s/te20/td20/g; 448 s/te10=s0/td12=s2/; s/te10/td12/g; 450 s/te32=s2/td30=s0/; s/te32/td30/g; [all …]
|
/openssl/crypto/ec/asm/ |
H A D | ecp_sm2p256-armv8.pl | 38 adds $s0,$s0,$s4 63 csel $s0,$s0,$t0,cc 84 subs $s0,$s0,$s4 109 csel $s0,$s0,$t0,eq 149 adds $s0,$s0,$s4 216 subs $s0,$s0,$s4 263 adds $s0,$s0,$s0 278 subs $s0,$s0,$s4 293 adds $s0,$s0,$s4 308 subs $s0,$s0,$s4 [all …]
|
/openssl/crypto/sm3/asm/ |
H A D | sm3-armv8.pl | 34 my $s0 = shift; 45 ext $vtmp1.16b, $s0.16b, $s1.16b, #12 70 my $s0 = shift; 89 my $s0 = shift; 101 $vtmp1, $s0, 0); 103 $vtmp1, $s0, 1); 105 $vtmp1, $s0, 2); 107 $vtmp1, $s0, 3); 151 rev32 $s0.16b, $s0.16b 193 $s4,$s0); [all …]
|
/openssl/crypto/aes/ |
H A D | aes_core.c | 428 unsigned char *s0; in ShiftRows() local 433 s[0] = s0[0*4 + r]; in ShiftRows() 434 s[1] = s0[1*4 + r]; in ShiftRows() 435 s[2] = s0[2*4 + r]; in ShiftRows() 436 s[3] = s0[3*4 + r]; in ShiftRows() 447 unsigned char *s0; in InvShiftRows() local 1560 s0 = in AES_encrypt() 1590 s0 = in AES_encrypt() 1596 PUTU32(out , s0); in AES_encrypt() 1752 s0 = in AES_decrypt() [all …]
|
H A D | aes_x86core.c | 661 u32 s0, s1, s2, s3, t[4]; in AES_encrypt() local 725 Te3[(s0 >> 24) ] ^ in AES_encrypt() 729 Te2[(s0 >> 16) & 0xff] ^ in AES_encrypt() 733 Te1[(s0 >> 8) & 0xff] ^ in AES_encrypt() 875 u32 s0, s1, s2, s3, t[4]; in AES_decrypt() local 948 Td1[(s0 >> 8) & 0xff] ^ in AES_decrypt() 954 Td2[(s0 >> 16) & 0xff] ^ in AES_decrypt() 960 Td3[(s0 >> 24) ] ^ in AES_decrypt() 1025 Td1[(s0 >> 8) & 0xff] ^ in AES_decrypt() 1031 Td2[(s0 >> 16) & 0xff] ^ in AES_decrypt() [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha512-ppc.pl | 483 srwi $s0,$elo,$Sigma1[0] 502 xor $s0,$s0,$t0 509 xor $s0,$s0,$t2 ; Sigma1(e) 530 xor $s0,$s0,$t0 556 xor $s0,$s0,$t2 ; Sigma0(a) 571 srwi $s0,$t0,$sigma0[0] 581 xor $s0,$s0,$t2 586 xor $a0,$a0,$s0 587 srwi $s0,$t2,$sigma1[0] 601 xor $s0,$s0,$a0 [all …]
|
H A D | sha256-c64xplus.pl | 36 ($E,$Ectx,$F,$Fctx,$G,$Gctx,$H,$Hctx,$T1,$S1,$s0,$t0e,$t1e,$t2e,$X1,$X15) 197 SHRU $X1,3,$s0 ; modulo-scheduled 208 XOR $t0e,$s0,$s0 212 XOR $t1e,$s0,$s0 ; sigma0(X[i+1]) 226 || ADD $s0,$X0,$X0 ; X[i] += sigma1(X[i+1]) 257 || SHRU $X1,3,$s0 ; modulo-scheduled
|
H A D | sha512-armv4.pl | 583 my ($t0,$t1,$s0,$s1) = map("q$_",(12..15)); # temps 593 vext.8 $s0,@X[$i%8],@X[($i+1)%8],#8 @ X[i+1] 596 vshr.u64 $t0,$s0,#@sigma0[0] 598 vshr.u64 $t1,$s0,#@sigma0[1] 600 vshr.u64 $s1,$s0,#@sigma0[2] 601 vsli.64 $t0,$s0,#`64-@sigma0[0]` 602 vsli.64 $t1,$s0,#`64-@sigma0[1]` 603 vext.8 $s0,@X[($i+4)%8],@X[($i+5)%8],#8 @ X[i+9] 606 vadd.i64 @X[$i%8],$s0
|
/openssl/crypto/camellia/asm/ |
H A D | cmll-x86.pl | 828 my ($s0,$s1,$s2,$s3) = @T; 882 &mov ($s0,$_key); 909 &bswap ($s0); 921 &bswap ($s0); 973 &xor ($s0,$s0); 979 &mov ($s0,&DWP(0,$key)); 988 &mov ($_end,$s0); 1001 &bswap ($s0); 1013 &bswap ($s0); 1078 &bswap ($s0); [all …]
|
/openssl/crypto/sha/ |
H A D | sha256.c | 215 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1, T2; in sha256_block_data_order() local 247 s0 = X[(i + 1) & 0x0f]; in sha256_block_data_order() 248 s0 = sigma0(s0); in sha256_block_data_order() 252 T1 = X[i & 0xf] += s0 + s1 + X[(i + 9) & 0xf]; in sha256_block_data_order() 285 s0 = X[(i+1)&0x0f]; s0 = sigma0(s0); \ 287 T1 = X[(i)&0x0f] += s0 + s1 + X[(i+9)&0x0f]; \ 297 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1; in sha256_block_data_order_c() local
|
H A D | sha512.c | 667 SHA_LONG64 a, b, c, d, e, f, g, h, s0, s1, T1, T2; in sha512_block_data_order() local 701 s0 = X[(i + 1) & 0x0f]; in sha512_block_data_order() 702 s0 = sigma0(s0); in sha512_block_data_order() 706 T1 = X[i & 0xf] += s0 + s1 + X[(i + 9) & 0xf]; in sha512_block_data_order() 739 s0 = X[(j+1)&0x0f]; s0 = sigma0(s0); \ 741 T1 = X[(j)&0x0f] += s0 + s1 + X[(j+9)&0x0f]; \ 752 SHA_LONG64 a, b, c, d, e, f, g, h, s0, s1, T1; in sha512_block_data_order_c() local
|
/openssl/crypto/seed/ |
H A D | seed.c | 405 unsigned int s0, s1, s2, s3, ret; in G_FUNC() local 407 s0 = SEED_Sbox[0][(unsigned char) (v) & 0xff]; in G_FUNC() 412 ret = ((s0 & 0xFC) ^ (s1 & 0xF3) ^ (s2 & 0xCF) ^ (s3 & 0x3F)); in G_FUNC() 413 ret |= ((s0 & 0xF3) ^ (s1 & 0xCF) ^ (s2 & 0x3F) ^ (s3 & 0xFC)) << 8; in G_FUNC() 414 ret |= ((s0 & 0xCF) ^ (s1 & 0x3F) ^ (s2 & 0xFC) ^ (s3 & 0xF3)) << 16; in G_FUNC() 415 ret |= ((s0 & 0x3F) ^ (s1 & 0xFC) ^ (s2 & 0xF3) ^ (s3 & 0xCF)) << 24; in G_FUNC()
|
/openssl/crypto/poly1305/asm/ |
H A D | poly1305-mips.pl | 35 ($s0,$s1,$s2,$s3,$s4,$s5,$s6,$s7,$s8,$s9,$s10,$s11)=map("\$$_",(12..23)); 175 ($s0,$s1,$s2,$s3,$s4,$s5,$in0,$in1,$t2); 204 sd $s0,0($sp) 344 ld $s0,0($sp)
|
/openssl/crypto/bn/asm/ |
H A D | mips-mont.pl | 37 ($s0,$s1,$s2,$s3,$s4,$s5,$s6,$s7,$s8,$s9,$s10,$s11)=map("\$$_",(12..23)); 111 $aj=$s0; 174 $REG_S $s0,($FRAMESIZE-13)*$SZREG($sp) 423 $REG_L $s0,($FRAMESIZE-13)*$SZREG($sp)
|
/openssl/crypto/ec/ |
H A D | curve25519.c | 4787 s0 += s12 * 666643; in x25519_sc_reduce() 4833 s0 += s12 * 666643; in x25519_sc_reduce() 4841 carry0 = s0 >> 21; in x25519_sc_reduce() 4878 s0 += s12 * 666643; in x25519_sc_reduce() 4886 carry0 = s0 >> 21; in x25519_sc_reduce() 5003 int64_t s0; in sc_muladd() local 5270 s0 += s12 * 666643; in sc_muladd() 5316 s0 += s12 * 666643; in sc_muladd() 5324 carry0 = s0 >> 21; in sc_muladd() 5361 s0 += s12 * 666643; in sc_muladd() [all …]
|
/openssl/crypto/ |
H A D | loongarch64cpuid.pl | 15 ($s0,$s1,$s2,$s3,$s4,$s5,$s6,$s7)=map("\$r$_",(23..30));
|