/openssl/crypto/camellia/ |
H A D | camellia.c | 288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local 292 k[2] = s2 = GETU32(rawKey + 8); in Camellia_Ekeygen() 299 k[10] = s2 = ~s0; in Camellia_Ekeygen() 338 k[26] = s2, k[27] = s3; in Camellia_Ekeygen() 407 register u32 s0, s1, s2, s3; in Camellia_EncryptBlock_Rounds() local 412 s2 = GETU32(plaintext + 8) ^ k[2]; in Camellia_EncryptBlock_Rounds() 435 s2 ^= s3 | k[3]; in Camellia_EncryptBlock_Rounds() 443 PUTU32(ciphertext, s2); in Camellia_EncryptBlock_Rounds() 460 u32 s0, s1, s2, s3; in Camellia_DecryptBlock_Rounds() local 488 s2 ^= s3 | k[1]; in Camellia_DecryptBlock_Rounds() [all …]
|
/openssl/crypto/ec/asm/ |
H A D | ecp_sm2p256-armv8.pl | 40 adcs $s2,$s2,$s6 65 csel $s2,$s2,$t2,cc 86 sbcs $s2,$s2,$s6 111 csel $s2,$s2,$t2,eq 151 adcs $s2,$s2,$s6 218 sbcs $s2,$s2,$s6 265 adcs $s2,$s2,$s2 280 sbcs $s2,$s2,$s6 295 adcs $s2,$s2,$s6 310 sbcs $s2,$s2,$s6 [all …]
|
/openssl/crypto/aes/asm/ |
H A D | aes-armv4.pl | 253 rev $s2,$s2 264 rev $s2,$s2 319 eor $s2,$s2,$t3 381 eor $s2,$s2,$t2 441 eor $s2,$s2,$t2 534 rev $s2,$s2 1029 rev $s2,$s2 1040 rev $s2,$s2 1095 eor $s2,$s2,$t3 1157 eor $s2,$s2,$t2 [all …]
|
H A D | aes-s390x.pl | 119 $s2="%r10"; 351 l $s2,0($s2,$tbl) # Te0[s2>>24] 428 llgc $s2,2($s2,$tbl) # Te4[s2>>24] 677 l $s2,0($s2,$tbl) # Td0[s2>>24] 1164 rll $s2,$s2,16 1341 sllg $s2,$s2,32 1519 la $s2,16($s2) 1548 la $s2,16($s2) 1583 la $s2,16($s2) 1753 .long 0xb92e00aa # km $s2,$s2 [all …]
|
H A D | aes-ppc.pl | 546 xor $s2,$s2,$t2 666 or $s2,$s2,$acc14 670 xor $s2,$s2,$t2 695 xor $s2,$s2,$t2 745 or $s2,$s2,$acc14 815 xor $s2,$s2,$t2 1024 xor $s2,$s2,$t2 1148 xor $s2,$s2,$t2 1179 xor $s2,$s2,$t2 1399 rotrwi $s2,$s2,8 [all …]
|
H A D | aes-586.pl | 209 $s2="ecx"; 2049 &mov ($s2 eq "ecx"? $s2 : "",&wparam(2)); # load len 2050 &cmp ($s2,0); 2070 &test ($s2,15); 2122 &mov ($s2 eq "ecx" ? $s2 : "",244/4); 2378 &cmp ($s2,16); 2408 &cmp ($s2,16); 2411 &test ($s2,15); 2452 &cmp ($s2,16); 2455 &test ($s2,15); [all …]
|
H A D | aes-parisc.pl | 124 vshd $s2,$s3,$s2 209 xor $t2,$s2,$s2 339 xor $acc8,$s2,$s2 342 xor $acc9,$s2,$s2 345 xor $acc10,$s2,$s2 348 xor $acc11,$s2,$s2 441 xor $acc11,$s2,$s2 593 vshd $s2,$s3,$s2 678 xor $t2,$s2,$s2 808 xor $acc8,$s2,$s2 [all …]
|
H A D | aes-x86_64.pl | 60 $s2="%ecx"; 120 shr \$16,$s2 155 xor $t2,$s2 183 shr \$16,$s2 245 xor $t2,$s2 420 shr \$8,$s2 443 xor $t2,$s2 514 lea ($s2,$s2),$r20 531 mov $s2,$t2 547 xor $t2,$s2 [all …]
|
H A D | aes-sparcv9.pl | 216 xor $t2,$s2,$s2 390 xor $acc8,$s2,$s2 393 xor $acc9,$s2,$s2 396 xor $acc10,$s2,$s2 399 xor $acc11,$s2,$s2 505 xor $acc11,$s2,$s2 509 xor $acc8,$s2,$s2 511 xor $acc9,$s2,$s2 513 xor $acc10,$s2,$s2 762 xor $t2,$s2,$s2 [all …]
|
H A D | aes-mips.pl | 145 xor $s2,$t2 156 ext $i0,$s2,8,8 171 ext $i3,$s2,0,8 206 lw $s2,8($key0) 224 xor $s2,$t2 428 xor $s2,$t2 630 xor $s2,$t2 749 xor $s2,$t2 828 xor $s2,$t2 1032 xor $s2,$t2 [all …]
|
H A D | aes-ia64.S | 57 t2=r36; s2=r37; 114 { .mmi; xor s2=s2,t2 245 and te32=s2,maskff };; // 6/3:s2&0xff 434 #s/te22=s2/td22=s2/; s/te22/td22/g; 438 s/te12=s2/td10=s0/; s/te12/td10/g; 440 s/te30=s0/td32=s2/; s/te30/td32/g; 442 #s/te02=s2/td02=s2/; s/te02/td02/g; 448 s/te10=s0/td12=s2/; s/te10/td12/g; 450 s/te32=s2/td30=s0/; s/te32/td30/g; 491 { .mmi; xor s2=s2,t2 [all …]
|
/openssl/test/testutil/ |
H A D | tests.c | 280 if (s1 == NULL && s2 == NULL) in test_str_eq() 282 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq() 285 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_eq() 294 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne() 299 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_ne() 308 if (s1 == NULL && s2 == NULL) in test_strn_eq() 310 if (n1 != n2 || s1 == NULL || s2 == NULL || strncmp(s1, s2, n1) != 0) { in test_strn_eq() 313 s2, s2 == NULL ? 0 : OPENSSL_strnlen(s2, n2)); in test_strn_eq() 327 s2, s2 == NULL ? 0 : OPENSSL_strnlen(s2, n2)); in test_strn_ne() 336 if (s1 == NULL && s2 == NULL) in test_mem_eq() [all …]
|
/openssl/crypto/sm3/asm/ |
H A D | sm3-armv8.pl | 36 my $s2 = shift; 43 ext $s4.16b, $s1.16b, $s2.16b, #12 91 my $s2 = shift; 153 rev32 $s2.16b, $s2.16b 160 $s0,$s1,$s2,$s3,$s4); 162 $s1,$s2,$s3,$s4,$s0); 164 $s2,$s3,$s4,$s0,$s1); 166 $s3,$s4,$s0,$s1,$s2); 173 $s4,$s0,$s1,$s2,$s3); 175 $s0,$s1,$s2,$s3,$s4); [all …]
|
/openssl/crypto/aes/ |
H A D | aes_x86core.c | 661 u32 s0, s1, s2, s3, t[4]; in AES_encrypt() local 719 Te2[(s2 >> 16) & 0xff] ^ in AES_encrypt() 723 Te1[(s2 >> 8) & 0xff] ^ in AES_encrypt() 735 Te3[(s2 >> 24) ] ^ in AES_encrypt() 875 u32 s0, s1, s2, s3, t[4]; in AES_decrypt() local 944 Td2[(s2 >> 16) & 0xff] ^ in AES_decrypt() 950 Td3[(s2 >> 24) ] ^ in AES_decrypt() 958 Td1[(s2 >> 8) & 0xff] ^ in AES_decrypt() 1021 Td2[(s2 >> 16) & 0xff] ^ in AES_decrypt() 1027 Td3[(s2 >> 24) ] ^ in AES_decrypt() [all …]
|
H A D | aes_core.c | 1451 s2 = GETU32(in + 8) ^ rk[2]; in AES_encrypt() 1533 Te2[(s2 >> 8) & 0xff] ^ in AES_encrypt() 1538 Te1[(s2 >> 16) & 0xff] ^ in AES_encrypt() 1543 Te0[(s2 >> 24) ] ^ in AES_encrypt() 1572 s2 = in AES_encrypt() 1604 s2 = in AES_encrypt() 1610 PUTU32(out + 8, s2); in AES_encrypt() 1643 s2 = GETU32(in + 8) ^ rk[2]; in AES_decrypt() 1764 s2 = in AES_decrypt() 1796 s2 = in AES_decrypt() [all …]
|
/openssl/crypto/camellia/asm/ |
H A D | cmll-x86.pl | 831 &mov ($s2 eq "ecx"? $s2 : "",&wparam(2)); # load len 832 &cmp ($s2,0); 913 &bswap ($s2); 923 &bswap ($s2); 938 &sub ($s2,16); 1005 &bswap ($s2); 1015 &bswap ($s2); 1060 &lea ($s2 eq "ecx" ? $s2 : "",&DWP(16,$idx)); 1082 &bswap ($s2); 1092 &bswap ($s2); [all …]
|
/openssl/doc/man3/ |
H A D | OPENSSL_strcasecmp.pod | 11 int OPENSSL_strcasecmp(const char *s1, const char *s2); 12 int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n); 17 B<s1> and B<s2>, ignoring the case of the characters. 20 B<n> bytes of B<s1> and B<s2>. 28 s1 is found, respectively, to be less than, to match, or be greater than s2.
|
/openssl/test/ssl-tests/ |
H A D | 06-sni-ticket.cnf.in | 25 foreach my $s2 ("SessionTicket", "-SessionTicket") { 27 my $ticket_result = expected_result($c, $s1, $s2, $n); 46 "Options" => $s2, 66 my ($c, $s1, $s2, $n) = @_; 70 return "No" if ($s2 eq "-SessionTicket" && $n eq "server2");
|
/openssl/crypto/poly1305/ |
H A D | poly1305_base2_44.c | 86 u64 s1, s2; in poly1305_blocks() local 96 s2 = st->s[1]; in poly1305_blocks() 114 d0 = ((u128)h0 * r0) + ((u128)h1 * s2) + ((u128)h2 * s1); in poly1305_blocks() 115 d1 = ((u128)h0 * r1) + ((u128)h1 * r0) + ((u128)h2 * s2); in poly1305_blocks()
|
H A D | poly1305.c | 294 u32 s1, s2, s3; in poly1305_blocks() local 304 s2 = r2 + (r2 >> 2); in poly1305_blocks() 324 ((u64)h2 * s2) + in poly1305_blocks() 329 ((u64)h3 * s2) + in poly1305_blocks() 335 (h4 * s2); in poly1305_blocks()
|
/openssl/fuzz/ |
H A D | bndiv.c | 51 int s1 = 0, s2 = 0; in FuzzerTestOneInput() local 68 s2 = buf[0] & 0x80; in FuzzerTestOneInput() 75 BN_set_negative(b2, s2); in FuzzerTestOneInput()
|
/openssl/crypto/seed/ |
H A D | seed.c | 405 unsigned int s0, s1, s2, s3, ret; in G_FUNC() local 409 s2 = SEED_Sbox[0][(unsigned char)((v)>>16) & 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/ |
H A D | o_str.c | 406 int OPENSSL_strcasecmp(const char *s1, const char *s2) in OPENSSL_strcasecmp() argument 410 while ((t = ossl_tolower(*s1) - ossl_tolower(*s2++)) == 0) in OPENSSL_strcasecmp() 416 int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n) in OPENSSL_strncasecmp() argument 422 if ((t = ossl_tolower(*s1) - ossl_tolower(*s2++)) != 0) in OPENSSL_strncasecmp()
|
/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); 202 sd $s2,16($sp) 342 ld $s2,16($sp)
|
/openssl/crypto/ec/ |
H A D | curve25519.c | 4815 s2 += carry1; in x25519_sc_reduce() 4845 s2 += carry1; in x25519_sc_reduce() 4847 carry2 = s2 >> 21; in x25519_sc_reduce() 4890 s2 += carry1; in x25519_sc_reduce() 4892 carry2 = s2 >> 21; in x25519_sc_reduce() 5005 int64_t s2; in sc_muladd() local 5114 s2 += carry1; in sc_muladd() 5298 s2 += carry1; in sc_muladd() 5328 s2 += carry1; in sc_muladd() 5330 carry2 = s2 >> 21; in sc_muladd() [all …]
|