Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 9 of 9) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/library/
Dpem.c213 const unsigned char *s1, *s2, *end; in mbedtls_pem_read_buffer() local
227 s1 = (unsigned char *) strstr( (const char *) data, header ); in mbedtls_pem_read_buffer()
229 if( s1 == NULL ) in mbedtls_pem_read_buffer()
234 if( s2 == NULL || s2 <= s1 ) in mbedtls_pem_read_buffer()
237 s1 += strlen( header ); in mbedtls_pem_read_buffer()
238 if( *s1 == ' ' ) s1++; in mbedtls_pem_read_buffer()
239 if( *s1 == '\r' ) s1++; in mbedtls_pem_read_buffer()
240 if( *s1 == '\n' ) s1++; in mbedtls_pem_read_buffer()
252 if( memcmp( s1, "Proc-Type: 4,ENCRYPTED", 22 ) == 0 ) in mbedtls_pem_read_buffer()
258 s1 += 22; in mbedtls_pem_read_buffer()
[all …]
Dx509_crt.c1722 static int x509_memcasecmp( const void *s1, const void *s2, size_t len ) in x509_memcasecmp() argument
1726 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp()
/net-tools-3.6.0/tinydtls-0.8.2/aes/
Drijndael.c866 aes_u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local
876 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
881 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rijndaelEncrypt()
882 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rijndaelEncrypt()
883 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rijndaelEncrypt()
884 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rijndaelEncrypt()
887 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; in rijndaelEncrypt()
891 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
892 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rijndaelEncrypt()
893 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/programs/util/
Dpem2der.c76 const unsigned char *s1, *s2, *end = input + ilen; in convert_pem_to_der() local
79 s1 = (unsigned char *) strstr( (const char *) input, "-----BEGIN" ); in convert_pem_to_der()
80 if( s1 == NULL ) in convert_pem_to_der()
87 s1 += 10; in convert_pem_to_der()
88 while( s1 < end && *s1 != '-' ) in convert_pem_to_der()
89 s1++; in convert_pem_to_der()
90 while( s1 < end && *s1 == '-' ) in convert_pem_to_der()
91 s1++; in convert_pem_to_der()
92 if( *s1 == '\r' ) s1++; in convert_pem_to_der()
93 if( *s1 == '\n' ) s1++; in convert_pem_to_der()
[all …]
/net-tools-3.6.0/tinydtls-0.8.2/sha2/
Dsha2.c408 s1 = W256[(j+14)&0x0f]; \
409 s1 = sigma1_256(s1); \
411 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); \
417 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
475 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
519 s1 = W256[(j+14)&0x0f]; in SHA256_Transform()
520 s1 = sigma1_256(s1); in SHA256_Transform()
524 (W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0); in SHA256_Transform()
736 s1 = W512[(j+14)&0x0f]; \
737 s1 = sigma1_512(s1); \
[all …]
/net-tools-3.6.0/tinydtls-0.8.2/
Dt_list.h84 #define LIST_CONCAT(s1, s2) s1##s2 argument
Dconfigure3079 struct s1 {int (*f) (int a);};
/net-tools-3.6.0/libcoap/include/coap/
Dt_list.h82 #define LIST_CONCAT(s1, s2) s1##s2 argument
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dbn_mul.h860 mbedtls_mpi_uint s0, s1, b0, b1; \
867 s1 = ( *s >> biH ); s++; \
869 ry = s1 * b0; r1 = s1 * b1; \