Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 14 of 14) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/library/
Dpem.c275 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 …]
Dsha512.c405 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()
Dx509_crt.c246 static int x509_memcasecmp(const void *s1, const void *s2, size_t len) in x509_memcasecmp() argument
250 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp()
/openthread-3.7.0/third_party/mbedtls/repo/programs/util/
Dpem2der.c52 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()
/openthread-3.7.0/tests/toranj/cli/
Dtest-705-multi-radio-discover-scan.py52 s2 = cli.Node(cli.RADIO_TREL) variable
69 verify(s2.multiradio_get_radios() == '[TREL]')
91 s2.interface_up()
99 verify_scan_result_conatins_nodes(s2.cli('discover'), [n2, n3])
Dtest-704-multi-radio-scan.py52 s2 = cli.Node(cli.RADIO_TREL) variable
69 verify(s2.multiradio_get_radios() == '[TREL]')
95 verify_scan_result_conatins_nodes(s2.cli('scan'), [n2, n3])
/openthread-3.7.0/tests/toranj/ncp/
Dtest-006-traffic-router-end-device.py95 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS) variable
96 r2 = node1.prepare_rx(s2)
101 verify(s2.was_successful and r2.was_successful)
Dtest-007-traffic-router-sleepy.py100 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS) variable
101 r2 = node1.prepare_rx(s2)
106 verify(s2.was_successful and r2.was_successful)
Dtest-705-multi-radio-discover-scan.py50 s2 = wpan.Node(wpan.NODE_TREL) variable
78 result = wpan.parse_scan_result(s2.discover_scan())
Dtest-704-multi-radio-scan.py50 s2 = wpan.Node(wpan.NODE_TREL) variable
78 result = wpan.parse_scan_result(s2.active_scan())
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_alignment.function134 size_t s2 = ((size / 8 - 1) - i) * 8;
136 uint64_t b = (r & ((uint64_t) 0xff << s2)) >> s2;
/openthread-3.7.0/tools/harness-automation/autothreadharness/
Drunner.py249 for s2 in s1:
250 for case in s2:
/openthread-3.7.0/third_party/mbedtls/repo/3rdparty/everest/library/
DHacl_Curve25519.c169 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__()
/openthread-3.7.0/third_party/mbedtls/repo/3rdparty/everest/library/legacy/
DHacl_Curve25519.c193 s2 = in Hacl_Bignum_Fsquare_fsquare__() local
209 tmp[2U] = s2; in Hacl_Bignum_Fsquare_fsquare__()