/openssl/crypto/camellia/ |
H A D | camellia.c | 288 register u32 s0, s1, s2, s3; in Camellia_Ekeygen() local 291 k[1] = s1 = GETU32(rawKey + 4); in Camellia_Ekeygen() 300 k[11] = s3 = ~s1; 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 411 s1 = GETU32(plaintext + 4) ^ k[1]; in Camellia_EncryptBlock_Rounds() 436 s0 ^= s1 | k[1]; in Camellia_EncryptBlock_Rounds() 446 PUTU32(ciphertext + 12, s1); 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 | 252 rev $s1,$s1 263 rev $s1,$s1 318 eor $s1,$s1,$t2 379 eor $s1,$s1,$t1 440 eor $s1,$s1,$t1 533 rev $s1,$s1 1028 rev $s1,$s1 1039 rev $s1,$s1 1094 eor $s1,$s1,$t2 1155 eor $s1,$s1,$t1 [all …]
|
H A D | aes-s390x.pl | 1163 rll $s1,$s1,8 1736 alcgr $s1,$s1 1795 alcgr $s1,$s1 1910 algr $s1,$s1 1917 llgfr $s1,$s1 1961 algr $s1,$s1 1968 llgfr $s1,$s1 2072 alcgr $s1,$s1 2153 algr $s1,$s1 2194 algr $s1,$s1 [all …]
|
H A D | aes-ppc.pl | 545 xor $s1,$s1,$t1 665 or $s1,$s1,$acc13 669 xor $s1,$s1,$t1 693 xor $s1,$s1,$t1 743 or $s1,$s1,$acc13 814 xor $s1,$s1,$t1 1023 xor $s1,$s1,$t1 1147 xor $s1,$s1,$t1 1177 xor $s1,$s1,$t1 1397 rotrwi $s1,$s1,8 [all …]
|
H A D | aes-586.pl | 208 $s1="ebx"; 1185 &neg ($s1); 1976 &neg ($s1); 2090 &sub ($s3,$s1); 2121 &mov ($s1 eq "ebx" ? $s1 : "",$key); 2340 &neg ($s1); 2379 &mov ($s3,$s1); 2473 &mov ($s1,16); 2474 &sub ($s1,$s2); 2483 &mov ($s2,$s1); [all …]
|
H A D | aes-parisc.pl | 123 vshd $s1,$s2,$s1 206 xor $t1,$s1,$s1 327 xor $acc4,$s1,$s1 330 xor $acc5,$s1,$s1 333 xor $acc6,$s1,$s1 336 xor $acc7,$s1,$s1 434 xor $acc7,$s1,$s1 592 vshd $s1,$s2,$s1 675 xor $t1,$s1,$s1 796 xor $acc4,$s1,$s1 [all …]
|
H A D | aes-mips.pl | 144 xor $s1,$t1 162 ext $i3,$s1,8,8 169 ext $i2,$s1,0,8 204 lw $s1,4($key0) 223 xor $s1,$t1 427 xor $s1,$t1 629 xor $s1,$t1 748 xor $s1,$t1 827 xor $s1,$t1 1031 xor $s1,$t1 [all …]
|
H A D | aes-x86_64.pl | 59 $s1="%ebx"; 126 shr \$16,$s1 154 xor $t1,$s1 193 shr \$16,$s1 244 xor $t1,$s1 423 shr \$8,$s1 442 mov $t1,$s1 482 and $s1,$t1 488 lea ($s1,$s1),$r21 496 mov $s1,$t1 [all …]
|
H A D | aes-sparcv9.pl | 213 xor $t1,$s1,$s1 378 xor $acc4,$s1,$s1 381 xor $acc5,$s1,$s1 384 xor $acc6,$s1,$s1 387 xor $acc7,$s1,$s1 499 xor $acc7,$s1,$s1 501 xor $acc4,$s1,$s1 503 xor $acc5,$s1,$s1 507 xor $acc6,$s1,$s1 759 xor $t1,$s1,$s1 [all …]
|
H A D | aes-ia64.S | 56 t1=r34; s1=r35; 112 xor s1=s1,t1 239 and te31=s1,maskff };; // 5/2:s1&0xff 433 s/te11=s1/td13=s3/; s/te11/td13/g; 435 s/te33=s3/td31=s1/; s/te33/td31/g; 437 #s/te01=s1/td01=s1/; s/te01/td01/g; 443 s/te13=s3/td11=s1/; s/te13/td11/g; 445 s/te31=s1/td33=s3/; s/te31/td33/g; 449 #s/te21=s1/td21=s1/; s/te21/td21/g; 489 xor s1=s1,t1 [all …]
|
/openssl/crypto/ec/asm/ |
H A D | ecp_sm2p256-armv8.pl | 39 adcs $s1,$s1,$s5 64 csel $s1,$s1,$t1,cc 85 sbcs $s1,$s1,$s5 110 csel $s1,$s1,$t1,eq 150 adcs $s1,$s1,$s5 217 sbcs $s1,$s1,$s5 264 adcs $s1,$s1,$s1 279 sbcs $s1,$s1,$s5 294 adcs $s1,$s1,$s5 309 sbcs $s1,$s1,$s5 [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() 284 s1, s1 == NULL ? 0 : strlen(s1), in test_str_eq() 296 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne() 298 s1, s1 == NULL ? 0 : strlen(s1), in test_str_ne() 310 if (n1 != n2 || s1 == NULL || s2 == NULL || strncmp(s1, s2, n1) != 0) { in test_strn_eq() 312 s1, s1 == NULL ? 0 : OPENSSL_strnlen(s1, n1), in test_strn_eq() 324 if (n1 != n2 || s1 == NULL || strncmp(s1, s2, n1) == 0) { in test_strn_ne() 326 s1, s1 == NULL ? 0 : OPENSSL_strnlen(s1, n1), in test_strn_ne() 338 if (n1 != n2 || s1 == NULL || s2 == NULL || memcmp(s1, s2, n1) != 0) { in test_mem_eq() [all …]
|
/openssl/crypto/sm3/asm/ |
H A D | sm3-armv8.pl | 35 my $s1 = shift; 43 ext $s4.16b, $s1.16b, $s2.16b, #12 45 ext $vtmp1.16b, $s0.16b, $s1.16b, #12 90 my $s1 = shift; 98 eor $vtmp1.16b, $s0.16b, $s1.16b 152 rev32 $s1.16b, $s1.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); [all …]
|
/openssl/crypto/aes/ |
H A D | aes_core.c | 465 uni s1; in MixColumns() local 471 s.d = s1.d; in MixColumns() 476 s.d ^= s1.d; in MixColumns() 493 uni s1; in InvMixColumns() local 499 s.d = s1.d; in InvMixColumns() 516 s1.d ^= ((s1.d & U64(0xFFFF0000FFFF0000)) >> 16) in InvMixColumns() 520 s1.d ^= ((s1.d & U64(0xFF00FF00FF00FF00)) >> 8) in InvMixColumns() 1566 s1 = in AES_encrypt() 1597 s1 = in AES_encrypt() 1758 s1 = in AES_decrypt() [all …]
|
H A D | aes_x86core.c | 661 u32 s0, s1, s2, s3, t[4]; in AES_encrypt() local 718 Te1[(s1 >> 8) & 0xff] ^ in AES_encrypt() 730 Te3[(s1 >> 24) ] ^ in AES_encrypt() 734 Te2[(s1 >> 16) & 0xff] ^ in AES_encrypt() 875 u32 s0, s1, s2, s3, t[4]; in AES_decrypt() local 945 Td3[(s1 >> 24) ] ^ in AES_decrypt() 953 Td1[(s1 >> 8) & 0xff] ^ in AES_decrypt() 959 Td2[(s1 >> 16) & 0xff] ^ in AES_decrypt() 1022 Td3[(s1 >> 24) ] ^ in AES_decrypt() 1030 Td1[(s1 >> 8) & 0xff] ^ in AES_decrypt() [all …]
|
/openssl/crypto/sha/asm/ |
H A D | sha512-ppc.pl | 503 xor $s1,$s1,$t1 510 xor $s1,$s1,$t3 518 adde $hhi,$hhi,$s1 532 xor $s1,$s1,$t1 557 xor $s1,$s1,$t3 559 adde $hhi,$hhi,$s1 584 xor $s1,$s1,$t3 588 xor $a1,$a1,$s1 604 xor $s1,$s1,$a1 608 xor $s1,$s1,$t3 [all …]
|
H A D | sha256-c64xplus.pl | 34 ($A,$Actx,$B,$Bctx,$C,$Cctx,$D,$Dctx,$T2,$S0,$s1,$t0a,$t1a,$t2a,$X9,$X14) 198 || SHRU $X14,10,$s1 ; modulo-scheduled 209 || XOR $t0a,$s1,$s1 213 || XOR $t1a,$s1,$s1 ; sigma1(X[i+14]) 231 || ADD $s1,$X0,$X0 ; X[i] += sigma1(X[i+14]) 258 || SHRU $X14,10,$s1 ; modulo-scheduled
|
/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)); 174 my ($h0,$h1,$h2,$r0,$r1,$s1,$d0,$d1,$d2) = 175 ($s0,$s1,$s2,$s3,$s4,$s5,$in0,$in1,$t2); 203 sd $s1,8($sp) 215 ld $s1,40($ctx) 283 dmultu ($s1,$h1) # h1*5*r1 286 mflo ($tmp0,$s1,$h1) 287 mfhi ($tmp1,$s1,$h1) 304 dmultu ($s1,$h2) # h2*5*r1 307 mflo ($tmp2,$s1,$h2) [all …]
|
H A D | poly1305-armv8.pl | 87 mov $s1,#0xfffffffc0fffffff 88 movk $s1,#0x0fff,lsl#48 93 and $r0,$r0,$s1 // &=0ffffffc0fffffff 94 and $s1,$s1,#-4 95 and $r1,$r1,$s1 // &=0ffffffc0ffffffc 150 mul $t0,$h1,$s1 // h1*5*r1 151 umulh $t1,$h1,$s1 164 mul $t0,$h2,$s1 // h2*5*r1 239 mul $t0,$h1,$s1 // h1*5*r1 240 umulh $t1,$h1,$s1 [all …]
|
/openssl/crypto/camellia/asm/ |
H A D | cmll-x86.pl | 900 &mov ($s1,&DWP(4,$key)); 911 &bswap ($s1); 922 &bswap ($s1); 948 &mov (&DWP(4,$idx),$s1); 962 &mov ($s1,16); 963 &sub ($s1,$s2); 972 &mov ($s2,$s1); 1003 &bswap ($s1); 1014 &bswap ($s1); 1080 &bswap ($s1); [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 | 24 foreach my $s1 ("SessionTicket", "-SessionTicket") { 27 my $ticket_result = expected_result($c, $s1, $s2, $n); 39 "Options" => $s1, 66 my ($c, $s1, $s2, $n) = @_; 69 return "No" if $s1 eq "-SessionTicket";
|
/openssl/ssl/ |
H A D | s3_enc.c | 22 EVP_MD_CTX *s1; in ssl3_generate_key_block() local 36 s1 = EVP_MD_CTX_new(); in ssl3_generate_key_block() 37 if (md5 == NULL || sha1 == NULL || m5 == NULL || s1 == NULL) { in ssl3_generate_key_block() 51 if (!EVP_DigestInit_ex(s1, sha1, NULL) in ssl3_generate_key_block() 52 || !EVP_DigestUpdate(s1, buf, k) in ssl3_generate_key_block() 53 || !EVP_DigestUpdate(s1, s->session->master_key, in ssl3_generate_key_block() 55 || !EVP_DigestUpdate(s1, s->s3.server_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block() 56 || !EVP_DigestUpdate(s1, s->s3.client_random, SSL3_RANDOM_SIZE) in ssl3_generate_key_block() 57 || !EVP_DigestFinal_ex(s1, smd, NULL) in ssl3_generate_key_block() 84 EVP_MD_CTX_free(s1); in ssl3_generate_key_block()
|
/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() 411 if (*s1++ == '\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() 424 else if (*s1++ == '\0') in OPENSSL_strncasecmp()
|
/openssl/fuzz/ |
H A D | bignum.c | 34 int s1 = 0, s3 = 0; in FuzzerTestOneInput() local 62 s1 = buf[0] & 1; in FuzzerTestOneInput() 67 BN_set_negative(b1, s1); in FuzzerTestOneInput()
|