Home
last modified time | relevance | path

Searched +full:- +full:10 (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_dhm.data1 Diffie-Hellman full exchange: tiny x_size
2 dhm_do_dhm:10:"93450983094850938450983409623":1:10:"9345098304850938450983409622":0
4 Diffie-Hellman parameter validation
7 Diffie-Hellman full exchange: 5-bit, x_size=3
8 dhm_do_dhm:10:"23":3:10:"5":0
10 Diffie-Hellman full exchange: 5-bit, x_size=2
11 dhm_do_dhm:10:"23":2:10:"5":0
15 Diffie-Hellman full exchange: 5-bit #1
16 dhm_do_dhm:10:"23":1:10:"5":0
18 Diffie-Hellman full exchange: 5-bit #2
[all …]
Dtest_suite_mpi.data1 MPI - Valid parameters
4 MPI - Invalid parameters
11 mpi_read_write_string:10:"128":10:"128":100:0:0
14 mpi_read_write_string:10:"0128":10:"128":100:0:0
17 mpi_read_write_string:10:"128":16:"80":100:0:0
20 mpi_read_write_string:10:"0":10:"0":100:0:0
26 mpi_read_write_string:10:"-0":10:"0":100:0:0
29 mpi_read_write_string:16:"-0":16:"00":100:0:0
32 mpi_read_write_string:10:"-23":10:"-23":100:0:0
35 mpi_read_write_string:10:"-023":10:"-23":100:0:0
[all …]
Dtest_suite_psa_its.data13 Overwrite 0 -> 3
16 Overwrite 3 -> 0
19 Overwrite 3 -> 3
22 Overwrite 3 -> 18
25 Overwrite 18 -> 3
31 Non-existent file
37 Get 0 bytes of 10 at 10
38 get_at:0:"40414243444546474849":10:0:PSA_SUCCESS
40 Get 1 byte of 10 at 9
43 Get 0 bytes of 10 at 0
[all …]
Dtest_suite_mps.function8 * Compile-time configuration for test suite.
13 * This can be useful for time-consuming instrumentation
14 * tasks such as the conversion of E-ACSL annotations
18 /* End of compile-time configuration. */
31 * - The 'producing' layer provides a buffer
32 * - The 'consuming' layer fetches it in a single go.
33 * - After processing, the consuming layer commits the data
37 * - with_acc: 0 if the reader should be initialized without accumulator.
45 unsigned char acc[10];
74 * - The 'producing' layer provides a buffer
[all …]
Dtest_suite_rsa.data4 RSA init-free-free
7 RSA init-free-init-free
48 RSA PKCS1 Verify v1.5 CAVS #10
153 # the verification of PKCS1 v1.5 signatures - this is relevant to prevent Bleichenbacher signature …
155 # to `mbedtls_rsa_rsassa_pkcs1_v15_encode` to force the use of non-reduced encodings in different p…
157 # Correct signature with DER-compliant reduced length encodings
162 # Non-reduced 1-byte length encoding in `DigestInfo` ASN.1 element
163 RSA PKCS1 Verify v1.5 non-reduced length encoding #1
167 # Non-reduced 2-byte length encoding for `digestAlgorithm` ASN.1 element
168 RSA PKCS1 Verify v1.5 non-reduced length encoding #2
[all …]
Dtest_suite_debug.data17 …_ret:"MyFile":999:"Test return value":0:"MyFile(0999)\: Test return value() returned 0 (-0x0000)\n"
20 …ug_print_ret:"MyFile":999:"Test return value":-0x1000:"MyFile(0999)\: Test return value() returned…
23 …g_print_ret:"MyFile":999:"Test return value":-0xFFFF:"MyFile(0999)\: Test return value() returned
3810 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f ................\nMyFile(0999)\: 0020\: 20 21 22…
43 Debug print mbedtls_mpi: 0 (non-empty representation)
53 … 66 88 3e 62 90 ff\nMyFile(0999)\: e7 03 f4 ea 59 63 bf 21 27 13 ce e4 6b 10 7c 09\nMyFile(0999)\…
56 … 66 88 3e 62 90\nMyFile(0999)\: ff e7 03 f4 ea 59 63 bf 21 27 13 ce e4 6b 10 7c\nMyFile(0999)\: …
59 … 66 88 3e 62 90\nMyFile(0999)\: ff e7 03 f4 ea 59 63 bf 21 27 13 ce e4 6b 10 7c\nMyFile(0999)\: …
63-02-10 14\:44\:06\nMyFile(0999)\: expires on \: 2029-02-10 14\:44\:06\nMyFile(0999)\: signe…
67-ca2.crt":"MyFile":999:"PREFIX_":"MyFile(0999)\: PREFIX_ #1\:\nMyFile(0999)\: cert. version \:…
Dtest_suite_aes.ecb.data1 AES-128-ECB Encrypt NIST KAT #1
4 AES-128-ECB Encrypt NIST KAT #2
7 AES-128-ECB Encrypt NIST KAT #3
10 AES-128-ECB Encrypt NIST KAT #4
13 AES-128-ECB Encrypt NIST KAT #5
16 AES-128-ECB Encrypt NIST KAT #6
19 AES-128-ECB Encrypt NIST KAT #7
22 AES-128-ECB Encrypt NIST KAT #8
25 AES-128-ECB Encrypt NIST KAT #9
28 AES-128-ECB Encrypt NIST KAT #10
[all …]
/openthread-3.5.0/tests/unit/
Dtest_serial_number.cpp47 …static const UintType kNumbers[] = {0, 1, 20, kMid - 1, kMid, kMid + 1, kMax - 20, kMax - 1, kMax}; in TestSerialNumber()
55 VerifyOrQuit(SerialNumber::IsGreater<UintType>(number + kMid - 1, number)); in TestSerialNumber()
58 VerifyOrQuit(!SerialNumber::IsGreater<UintType>(number + kMax - 1, number)); in TestSerialNumber()
60 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - 1, number)); in TestSerialNumber()
61 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - kMid + 1, number)); in TestSerialNumber()
62 VerifyOrQuit(SerialNumber::IsLess<UintType>(number - kMid, number)); in TestSerialNumber()
63 VerifyOrQuit(!SerialNumber::IsLess<UintType>(number - kMid - 2, number)); in TestSerialNumber()
64 VerifyOrQuit(!SerialNumber::IsLess<UintType>(number - kMax + 1, number)); in TestSerialNumber()
83 VerifyOrQuit(Clamp<uint8_t>(1, 5, 10) == 5); in TestNumUtils()
84 VerifyOrQuit(Clamp<uint8_t>(5, 5, 10) == 5); in TestNumUtils()
[all …]
Dtest_mle.cpp52 VerifyOrQuit(props->mPowerSupply == OPENTHREAD_CONFIG_DEVICE_POWER_SUPPLY); in TestDefaultDeviceProperties()
53 VerifyOrQuit(!props->mSupportsCcm); in TestDefaultDeviceProperties()
54 VerifyOrQuit(!props->mIsUnstable); in TestDefaultDeviceProperties()
55 …VerifyOrQuit(props->mLeaderWeightAdjustment == OPENTHREAD_CONFIG_MLE_DEFAULT_LEADER_WEIGHT_ADJUSTM… in TestDefaultDeviceProperties()
57 VerifyOrQuit(props->mIsBorderRouter); in TestDefaultDeviceProperties()
59 VerifyOrQuit(!props->mIsBorderRouter); in TestDefaultDeviceProperties()
64 switch (props->mPowerSupply) in TestDefaultDeviceProperties()
67 weight -= 8; in TestDefaultDeviceProperties()
75 weight -= 4; in TestDefaultDeviceProperties()
79 weight += props->mIsBorderRouter ? 1 : 0; in TestDefaultDeviceProperties()
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/programs/pkey/
Dmpi_demo.c5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
62 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P, 10, "2789" ) ); in main()
63 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &Q, 10, "3203" ) ); in main()
64 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &E, 10, "257" ) ); in main()
68 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " N = ", &N, 10, NULL ) ); in main()
69 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " E = ", &E, 10, NULL ) ); in main()
72 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " P = ", &P, 10, NULL ) ); in main()
73 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Q = ", &Q, 10, NULL ) ); in main()
81 mbedtls_mpi_write_file( " D = E^-1 mod (P-1)*(Q-1) = ", in main()
[all …]
/openthread-3.5.0/tests/scripts/thread-cert/
Dwpan.py45 FCF_DST_ADDR_NONE = 0 << 10
46 FCF_DST_ADDR_SHORT = 2 << 10
47 FCF_DST_ADDR_EXT = 3 << 10
48 FCF_DST_ADDR_MASK = 3 << 10
75 def frame_type(self) -> FrameType:
79 def dst_addr_mode(self) -> DstAddrMode:
80 return DstAddrMode((self.fcf & 0x0c00) >> 10)
83 def is_broadcast(self) -> bool:
87 def _is_version_2015(fcf: int) -> bool:
91 def _is_dst_addr_present(fcf: int) -> bool:
[all …]
Dtest_on_mesh_prefix.py60 'mode': '-',
91 self.simulator.go(10)
94 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
95 self.assertTrue(any('2001:2:0:2' in addr[0:10] for addr in addrs))
101 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
102 self.assertFalse(any('2001:2:0:2' in addr[0:10] for addr in addrs))
113 self.simulator.go(10)
116 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
117 self.assertTrue(any('2001:2:0:2' in addr[0:10] for addr in addrs))
118 self.assertTrue(any('2002:2:0:3' in addr[0:10] for addr in addrs))
[all …]
Dtest_diag.py46 ('diag send 10 100\n', 'Error 13: InvalidState\r\n'),
50 ('diag channel 10\n', 'failed\r\nstatus 0x7\r\n'),
53 ('diag power -10\n', 'set tx power to -10 dBm\r\nstatus 0x00\r\n'),
54 ('diag power\n', 'tx power: -10 dBm\r\n'),
79 r'received packets: 0\r\nsent packets: ([1-9]\d*)\r\n'
86 … 'diag 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32',
DCert_5_6_06_NetworkDataExpiration.py67 'mode': '-',
101 self.simulator.go(10)
104 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
105 self.assertTrue(any('2001:2:0:2' in addr[0:10] for addr in addrs))
106 self.assertTrue(any('2001:2:0:3' in addr[0:10] for addr in addrs))
112 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
113 self.assertFalse(any('2001:2:0:2' in addr[0:10] for addr in addrs))
114 self.assertTrue(any('2001:2:0:3' in addr[0:10] for addr in addrs))
121 self.simulator.go(10)
124 self.assertTrue(any('2001:2:0:1' in addr[0:10] for addr in addrs))
[all …]
/openthread-3.5.0/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing.py63 # --------(eth)---------
65 # PBBR---SBBR HOST
68 # ROUTER--LEADER
74 # PBBR---LEADER
144 self.simulator.go(10)
154 self.simulator.go(10)
175 MA_scope2 = 'ff02::10'
178 self.assertFalse(self.nodes[HOST].ping(MA_scope2, backbone=True, ttl=10))
185 self.assertFalse(self.nodes[HOST].ping(MA_scope3, backbone=True, ttl=10))
192 self.assertTrue(self.nodes[HOST].ping(MA2, backbone=True, ttl=10))
[all …]
Dtest_mlr_multicast_routing_timeout.py44 REG_DELAY = 10
53 # --------(eth)---------
88 self.simulator.go(10)
103 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
110 self.assertTrue(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
119 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
125 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
Dtest_mlr_multicast_routing_commissioner_timeout.py47 # --------(eth)---------
58 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
62 self.simulator.go(10)
70 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
75 self.nodes[HOST].ping(MA1, backbone=True, ttl=10)
77 self.simulator.go(COMMISSIONER_MLR_TIMEOUT - MLR_TIMEOUT)
80 self.assertFalse(self.nodes[HOST].ping(MA1, backbone=True, ttl=10))
/openthread-3.5.0/tests/scripts/thread-cert/border_router/
Dtest_trel_connectivity.py38 # ----------------(eth)--------------------------
40 # FED1 --- BR1 (Leader) ----- BR2 --- ROUTER2
117 self.wait_node_state(br1, 'leader', 10)
120 self.wait_node_state(fed1, 'child', 10)
123 self.wait_node_state(med1, 'child', 10)
126 self.wait_node_state(sed1, 'child', 10)
129 self.wait_node_state(br2, 'router', 10)
132 self.wait_node_state(router2, 'router', 10)
/openthread-3.5.0/src/core/diags/
DREADME.md9 - [diag](#diag)
10 - [diag start](#diag-start)
11 - [diag channel](#diag-channel)
12 - [diag cw](#diag-cw-start)
13 - [diag stream](#diag-stream-start)
14 - [diag power](#diag-power)
15 - [diag powersettings](#diag-powersettings)
16 - [diag send](#diag-send-packets-length)
17 - [diag repeat](#diag-repeat-delay-length)
18 - [diag radio](#diag-radio-sleep)
[all …]
/openthread-3.5.0/tests/scripts/thread-cert/border_router/nat64/
Dtest_multi_border_routers.py40 # ----------------(eth)--------------------------
42 # BR1 (Leader) ---- BR2 HOST
125 self.simulator.go(10)
127 self.simulator.go(10)
152 self.simulator.go(10)
167 # Case 3. Re-enables BR2 with a local prefix and it will not add
174 self.simulator.go(10)
196 self.simulator.go(10)
211 # Case 5. Re-enable NAT64 on BR1.
216 self.simulator.go(10)
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/tests/docker/bionic/
DDockerfile4 # -------
9 # SPDX-License-Identifier: Apache-2.0
15 # http://www.apache.org/licenses/LICENSE-2.0
30 RUN apt-get update \
31 && apt-get -y install software-properties-common \
32 && rm -rf /var/lib/apt/lists
34 RUN add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
36 RUN apt-get update \
37 && apt-get -y install \
39 build-essential \
[all …]
/openthread-3.5.0/tools/otci/tests/
Dtest_otci.py77 subprocess.check_call('rm -rf tmp/', shell=True)
163 leader.set_mode('-')
164 self.assertEqual('-', leader.get_mode())
181 leader.wait(10)
188 self.assertEqual(rloc16, leader_id << 10)
226 leader.set_backbone_router_config(seqno=new_bbr_seqno, delay=10, timeout=301)
227 …self.assertEqual({'seqno': new_bbr_seqno, 'delay': 10, 'timeout': 301}, leader.get_backbone_router…
236 leader.wait(10)
258 logging.info("EID-to-RLOC cache: %r", leader.get_eidcache())
299 leader.set_txpower(-10)
[all …]
/openthread-3.5.0/tests/scripts/expect/
Dcli-diags.exp1 #!/usr/bin/expect -f
67 send "diag send 10 100\n"
76 expect "sent packets: 10"
84 expect "received packets: 10"
86 expect "first received packet: rssi=-20, lqi=0"
87 expect "last received packet: rssi=-20, lqi=0"
109 expect -r {received packets: \d+}
111 expect "first received packet: rssi=-20, lqi=0"
112 expect "last received packet: rssi=-20, lqi=0"
134 send "diag power 10\n"
[all …]
/openthread-3.5.0/tests/toranj/cli/
Dtest-024-mle-adv-imax-change.py34 # -------------------------------------------------------------------------------------------------…
41 test_name = __file__[:-3] if __file__.endswith('.py') else __file__
42 print('-' * 120)
45 # -------------------------------------------------------------------------------------------------…
56 # -------------------------------------------------------------------------------------------------…
59 leader.form('mle-adv-imax')
85 verify_within(check_leader_has_expected_number_of_neighbors, 10)
97 verify_within(check_leader_has_expected_number_of_neighbors, 10)
111 verify_within(check_leader_has_expected_number_of_neighbors, 10)
127 verify_within(check_leader_has_expected_number_of_neighbors, 10)
[all …]
/openthread-3.5.0/tests/scripts/thread-cert/border_router/MATN/
DMATN_05_ReregistrationToSameMulticastGroup.py41 # a re-registration of a device on its network to remain receiving multicasts.
46 # ----------------(eth)------------------
48 # BR_1 (Leader) ---- BR_2 HOST
51 # Router_1 -----------+
59 REG_DELAY = 10
103 self.simulator.go(10)
107 self.simulator.go(10)
112 self.simulator.go(10)
120 …host.ping(MA1, backbone=True, ttl=10, interface=host.get_ip6_address(config.ADDRESS_TYPE.ONLINK_UL…
123 self.simulator.go(consts.MLR_TIMEOUT_MIN - 10)
[all …]

12345678910>>...19