Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/tests/toranj/ncp/
Dtest-704-multi-radio-scan.py46 n1 = wpan.Node(wpan.NODE_15_4) variable
61 n1.form("n1", channel='20')
73 verify(n1.is_in_scan_result(result))
79 verify(not n1.is_in_scan_result(result))
85 verify(n1.is_in_scan_result(result))
93 result = wpan.parse_scan_result(n1.active_scan())
94 verify(not n1.is_in_scan_result(result))
100 verify(not n1.is_in_scan_result(result))
106 verify(n1.is_in_scan_result(result))
Dtest-705-multi-radio-discover-scan.py46 n1 = wpan.Node(wpan.NODE_15_4) variable
61 n1.form("n1", channel='20')
73 verify(n1.is_in_scan_result(result))
79 verify(not n1.is_in_scan_result(result))
85 verify(n1.is_in_scan_result(result))
93 result = wpan.parse_scan_result(n1.discover_scan())
94 verify(not n1.is_in_scan_result(result))
100 verify(not n1.is_in_scan_result(result))
106 verify(n1.is_in_scan_result(result))
/openthread-latest/tests/toranj/cli/
Dtest-705-multi-radio-discover-scan.py48 n1 = cli.Node(cli.RADIO_15_4) variable
58 n1.form("n1", channel='20')
65 verify(n1.multiradio_get_radios() == '[15.4]')
96 verify_scan_result_conatins_nodes(s1.cli('discover'), [n1, n3])
102 verify_scan_result_conatins_nodes(s3.cli('discover'), [n1, n2, n3])
108 verify_scan_result_conatins_nodes(n1.cli('discover'), [n3])
114 verify_scan_result_conatins_nodes(n3.cli('discover'), [n1, n2])
Dtest-704-multi-radio-scan.py48 n1 = cli.Node(cli.RADIO_15_4) variable
58 n1.form("n1", channel='20')
65 verify(n1.multiradio_get_radios() == '[15.4]')
92 verify_scan_result_conatins_nodes(s1.cli('scan'), [n1, n3])
98 verify_scan_result_conatins_nodes(s3.cli('scan'), [n1, n2, n3])
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_gcm.function14 size_t n1,
19 size_t n2 = input->len - n1;
24 TEST_ASSERT(n1 <= input->len);
36 TEST_CALLOC(output, n1);
38 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x, n1, output, n1, &olen));
39 TEST_EQUAL(n1, olen);
40 TEST_MEMORY_COMPARE(output, olen, expected_output->x, n1);
46 TEST_EQUAL(0, mbedtls_gcm_update(ctx, input->x + n1, n2, output, n2, &olen));
48 TEST_MEMORY_COMPARE(output, olen, expected_output->x + n1, n2);
217 size_t n1;
[all …]
Dtest_suite_ccm.function14 size_t n1,
19 size_t n2 = input->len - n1;
24 TEST_ASSERT(n1 <= input->len);
35 TEST_CALLOC(output, n1);
37 TEST_EQUAL(0, mbedtls_ccm_update(ctx, input->x, n1, output, n1, &olen));
38 TEST_EQUAL(n1, olen);
39 TEST_MEMORY_COMPARE(output, olen, expected_output->x, n1);
45 TEST_EQUAL(0, mbedtls_ccm_update(ctx, input->x + n1, n2, output, n2, &olen));
47 TEST_MEMORY_COMPARE(output, olen, expected_output->x + n1, n2);
194 size_t n1, n1_add;
[all …]
/openthread-latest/tests/scripts/expect/
Dposix-rcp-stack-reset.exp41 set radio_pty [exec head -n1 $socat_out | grep -o {/dev/.\+}]
42 set host_pty [exec head -n2 $socat_out | tail -n1 | grep -o {/dev/.\+}]
Dposix-rcp-restoration.exp41 set radio_pty [exec head -n1 $socat_out | grep -o {/dev/.\+}]
42 set host_pty [exec head -n2 $socat_out | tail -n1 | grep -o {/dev/.\+}]
/openthread-latest/script/
Dcheck-posix-pty56 RADIO_PTY=$(head -n1 "$SOCAT_OUTPUT" | grep -o '/dev/.\+')
57 CORE_PTY=$(head -n2 "$SOCAT_OUTPUT" | tail -n1 | grep -o '/dev/.\+')
222 extaddr=$(grep -ao -A +1 'extaddr' $OT_OUTPUT | tail -n1 | tr -d '\r\n\0')
/openthread-latest/third_party/mbedtls/repo/library/
Dx509_create.c128 int n1 = hex_to_int(*hexpair); in hexpair_to_int() local
131 if (n1 != -1 && n2 != -1) { in hexpair_to_int()
132 return (n1 << 4) | n2; in hexpair_to_int()
Daria.c328 const uint8_t n1 = n % 32; // bit offset in aria_rot128() local
329 const uint8_t n2 = n1 ? 32 - n1 : 0; // reverse bit offset in aria_rot128()
336 t <<= n1; // rotate in aria_rot128()
Ddhm.c229 size_t n1, n2, n3; in mbedtls_dhm_make_params() local
251 n1 = mbedtls_mpi_size(&ctx->P); in mbedtls_dhm_make_params()
256 DHM_MPI_EXPORT(&ctx->P, n1); in mbedtls_dhm_make_params()
Dx509_crt.c250 const unsigned char *n1 = s1, *n2 = s2; in x509_memcasecmp() local
253 diff = n1[i] ^ n2[i]; in x509_memcasecmp()
260 ((n1[i] >= 'a' && n1[i] <= 'z') || in x509_memcasecmp()
261 (n1[i] >= 'A' && n1[i] <= 'Z'))) { in x509_memcasecmp()
/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/library/
DHacl_Curve25519.c693 uint8_t *n1, in Hacl_EC_Ladder_BigLoop_cmult_big_loop() argument
705 uint8_t byte = n1[i1]; in Hacl_EC_Ladder_BigLoop_cmult_big_loop()
707 Hacl_EC_Ladder_BigLoop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, i1); in Hacl_EC_Ladder_BigLoop_cmult_big_loop()
711 static void Hacl_EC_Ladder_cmult(uint64_t *result, uint8_t *n1, uint64_t *q) in Hacl_EC_Ladder_cmult() argument
720 Hacl_EC_Ladder_BigLoop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, (uint32_t)32U); in Hacl_EC_Ladder_cmult()
/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/library/legacy/
DHacl_Curve25519.c738 uint8_t *n1, in Hacl_EC_Ladder_BigLoop_cmult_big_loop() argument
750 uint8_t byte = n1[i1]; in Hacl_EC_Ladder_BigLoop_cmult_big_loop()
752 Hacl_EC_Ladder_BigLoop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, i1); in Hacl_EC_Ladder_BigLoop_cmult_big_loop()
756 static void Hacl_EC_Ladder_cmult(uint64_t *result, uint8_t *n1, uint64_t *q) in Hacl_EC_Ladder_cmult() argument
765 Hacl_EC_Ladder_BigLoop_cmult_big_loop(n1, nq, nqpq, nq2, nqpq2, q, (uint32_t)32U); in Hacl_EC_Ladder_cmult()
/openthread-latest/third_party/mbedtls/repo/
DCMakeLists.txt379 COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null