Searched refs:s2 (Results 1 – 7 of 7) sorted by relevance
/mbedtls-latest/library/ |
D | pem.c | 275 const unsigned char *s1, *s2, *end; in mbedtls_pem_read_buffer() local 294 s2 = (unsigned char *) strstr((const char *) data, footer); in mbedtls_pem_read_buffer() 296 if (s2 == NULL || s2 <= s1) { in mbedtls_pem_read_buffer() 313 end = s2; in mbedtls_pem_read_buffer() 328 if (s2 - s1 >= 22 && memcmp(s1, "Proc-Type: 4,ENCRYPTED", 22) == 0) { in mbedtls_pem_read_buffer() 344 if (s2 - s1 >= 23 && memcmp(s1, "DEK-Info: DES-EDE3-CBC,", 23) == 0) { in mbedtls_pem_read_buffer() 348 if (s2 - s1 < 16 || pem_get_iv(s1, pem_iv, 8) != 0) { in mbedtls_pem_read_buffer() 353 } else if (s2 - s1 >= 18 && memcmp(s1, "DEK-Info: DES-CBC,", 18) == 0) { in mbedtls_pem_read_buffer() 357 if (s2 - s1 < 16 || pem_get_iv(s1, pem_iv, 8) != 0) { in mbedtls_pem_read_buffer() 366 if (s2 - s1 >= 14 && memcmp(s1, "DEK-Info: AES-", 14) == 0) { in mbedtls_pem_read_buffer() [all …]
|
D | sha512.c | 405 uint64x2_t s2 = (uint64x2_t) vld1q_u8(msg + 16 * 2); in mbedtls_internal_sha512_process_many_a64_crypto() local 415 s2 = vreinterpretq_u64_u8(vrev64q_u8(vreinterpretq_u8_u64(s2))); in mbedtls_internal_sha512_process_many_a64_crypto() 438 initial_sum = vaddq_u64(s2, vld1q_u64(&K[4])); in mbedtls_internal_sha512_process_many_a64_crypto() 489 s1 = vsha512su1q_u64(vsha512su0q_u64(s1, s2), s0, vextq_u64(s5, s6, 1)); in mbedtls_internal_sha512_process_many_a64_crypto() 497 s2 = vsha512su1q_u64(vsha512su0q_u64(s2, s3), s1, vextq_u64(s6, s7, 1)); in mbedtls_internal_sha512_process_many_a64_crypto() 498 initial_sum = vaddq_u64(s2, vld1q_u64(&K[t + 4])); in mbedtls_internal_sha512_process_many_a64_crypto() 505 s3 = vsha512su1q_u64(vsha512su0q_u64(s3, s4), s2, vextq_u64(s7, s0, 1)); in mbedtls_internal_sha512_process_many_a64_crypto() 521 s5 = vsha512su1q_u64(vsha512su0q_u64(s5, s6), s4, vextq_u64(s1, s2, 1)); in mbedtls_internal_sha512_process_many_a64_crypto() 529 s6 = vsha512su1q_u64(vsha512su0q_u64(s6, s7), s5, vextq_u64(s2, s3, 1)); in mbedtls_internal_sha512_process_many_a64_crypto()
|
D | x509_crt.c | 248 static int x509_memcasecmp(const void *s1, const void *s2, size_t len) in x509_memcasecmp() argument 252 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp()
|
/mbedtls-latest/programs/util/ |
D | pem2der.c | 52 const unsigned char *s1, *s2, *end = input + ilen; in convert_pem_to_der() local 60 s2 = (unsigned char *) strstr((const char *) input, "-----END"); in convert_pem_to_der() 61 if (s2 == NULL) { in convert_pem_to_der() 79 if (s2 <= s1 || s2 > end) { in convert_pem_to_der() 83 ret = mbedtls_base64_decode(NULL, 0, &len, (const unsigned char *) s1, s2 - s1); in convert_pem_to_der() 93 s2 - s1)) != 0) { in convert_pem_to_der()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_alignment.function | 134 size_t s2 = ((size / 8 - 1) - i) * 8; 136 uint64_t b = (r & ((uint64_t) 0xff << s2)) >> s2;
|
/mbedtls-latest/3rdparty/everest/library/ |
D | Hacl_Curve25519.c | 169 uint128_t s2 = (uint128_t)d0 * r2 + (uint128_t)r1 * r1 + (uint128_t)d4 * r3; in Hacl_Bignum_Fsquare_fsquare__() local 174 tmp[2U] = s2; in Hacl_Bignum_Fsquare_fsquare__()
|
/mbedtls-latest/3rdparty/everest/library/legacy/ |
D | Hacl_Curve25519.c | 193 s2 = in Hacl_Bignum_Fsquare_fsquare__() local 209 tmp[2U] = s2; in Hacl_Bignum_Fsquare_fsquare__()
|