/openthread-3.6.0/third_party/mbedtls/repo/programs/pkey/ |
D | rsa_sign.c | 60 FILE *f; in main() local 90 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) in main() 97 if( ( ret = mbedtls_mpi_read_file( &N , 16, f ) ) != 0 || in main() 98 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main() 99 ( ret = mbedtls_mpi_read_file( &D , 16, f ) ) != 0 || in main() 100 ( ret = mbedtls_mpi_read_file( &P , 16, f ) ) != 0 || in main() 101 ( ret = mbedtls_mpi_read_file( &Q , 16, f ) ) != 0 || in main() 102 ( ret = mbedtls_mpi_read_file( &DP , 16, f ) ) != 0 || in main() 103 ( ret = mbedtls_mpi_read_file( &DQ , 16, f ) ) != 0 || in main() 104 ( ret = mbedtls_mpi_read_file( &QP , 16, f ) ) != 0 ) in main() [all …]
|
D | rsa_decrypt.c | 63 FILE *f; in main() local 113 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) in main() 120 if( ( ret = mbedtls_mpi_read_file( &N , 16, f ) ) != 0 || in main() 121 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main() 122 ( ret = mbedtls_mpi_read_file( &D , 16, f ) ) != 0 || in main() 123 ( ret = mbedtls_mpi_read_file( &P , 16, f ) ) != 0 || in main() 124 ( ret = mbedtls_mpi_read_file( &Q , 16, f ) ) != 0 || in main() 125 ( ret = mbedtls_mpi_read_file( &DP , 16, f ) ) != 0 || in main() 126 ( ret = mbedtls_mpi_read_file( &DQ , 16, f ) ) != 0 || in main() 127 ( ret = mbedtls_mpi_read_file( &QP , 16, f ) ) != 0 ) in main() [all …]
|
D | rsa_verify.c | 59 FILE *f; in main() local 85 if( ( f = fopen( "rsa_pub.txt", "rb" ) ) == NULL ) in main() 92 if( ( ret = mbedtls_mpi_read_file( &rsa.N, 16, f ) ) != 0 || in main() 93 ( ret = mbedtls_mpi_read_file( &rsa.E, 16, f ) ) != 0 ) in main() 96 fclose( f ); in main() 102 fclose( f ); in main() 109 if( ( f = fopen( filename, "rb" ) ) == NULL ) in main() 116 while( fscanf( f, "%02X", (unsigned int*) &c ) > 0 && in main() 120 fclose( f ); in main()
|
D | rsa_encrypt.c | 63 FILE *f; in main() local 107 if( ( f = fopen( "rsa_pub.txt", "rb" ) ) == NULL ) in main() 114 if( ( ret = mbedtls_mpi_read_file( &N, 16, f ) ) != 0 || in main() 115 ( ret = mbedtls_mpi_read_file( &E, 16, f ) ) != 0 ) in main() 119 fclose( f ); in main() 122 fclose( f ); in main() 158 if( ( f = fopen( "result-enc.txt", "wb+" ) ) == NULL ) in main() 165 mbedtls_fprintf( f, "%02X%s", buf[i], in main() 168 fclose( f ); in main()
|
D | dh_server.c | 76 FILE *f; in main() local 127 if( ( f = fopen( "rsa_priv.txt", "rb" ) ) == NULL ) in main() 136 if( ( ret = mbedtls_mpi_read_file( &N , 16, f ) ) != 0 || in main() 137 ( ret = mbedtls_mpi_read_file( &E , 16, f ) ) != 0 || in main() 138 ( ret = mbedtls_mpi_read_file( &D , 16, f ) ) != 0 || in main() 139 ( ret = mbedtls_mpi_read_file( &P , 16, f ) ) != 0 || in main() 140 ( ret = mbedtls_mpi_read_file( &Q , 16, f ) ) != 0 ) in main() 144 fclose( f ); in main() 147 fclose( f ); in main() 169 if( ( f = fopen( "dh_prime.txt", "rb" ) ) == NULL ) in main() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/data_files/dir1/ |
D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 22 71:f1:bd:83:d9:3f:d6:a5:e2:3c:2a:8f:ef:27:60: 23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb: 27 79:a4:b2:b5:2e:12:f9:84:17:f0:62:6f:27:3e:13: 28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6: 31 ab:e9:c3:f2:cf:87:96:8f:80:02:32:9e:99:58:6f: 47 32:89:be:63:47:53:ff:b6:be:f1:2e:8c:54:c0:99:3f:a0:b9: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 52 e1:8f:53:f6:67:93:c7:f9:6f:76:44:58:12:e8:3a:d4:97:e7: [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/data_files/dir2/ |
D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 22 71:f1:bd:83:d9:3f:d6:a5:e2:3c:2a:8f:ef:27:60: 23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb: 27 79:a4:b2:b5:2e:12:f9:84:17:f0:62:6f:27:3e:13: 28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6: 31 ab:e9:c3:f2:cf:87:96:8f:80:02:32:9e:99:58:6f: 47 32:89:be:63:47:53:ff:b6:be:f1:2e:8c:54:c0:99:3f:a0:b9: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 52 e1:8f:53:f6:67:93:c7:f9:6f:76:44:58:12:e8:3a:d4:97:e7: [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/data_files/dir3/ |
D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 22 71:f1:bd:83:d9:3f:d6:a5:e2:3c:2a:8f:ef:27:60: 23 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb: 27 79:a4:b2:b5:2e:12:f9:84:17:f0:62:6f:27:3e:13: 28 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6: 31 ab:e9:c3:f2:cf:87:96:8f:80:02:32:9e:99:58:6f: 47 32:89:be:63:47:53:ff:b6:be:f1:2e:8c:54:c0:99:3f:a0:b9: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 52 e1:8f:53:f6:67:93:c7:f9:6f:76:44:58:12:e8:3a:d4:97:e7: [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/util/ |
D | pem2der.c | 125 FILE *f; in load_file() local 128 if( ( f = fopen( path, "rb" ) ) == NULL ) in load_file() 131 fseek( f, 0, SEEK_END ); in load_file() 132 if( ( size = ftell( f ) ) == -1 ) in load_file() 134 fclose( f ); in load_file() 137 fseek( f, 0, SEEK_SET ); in load_file() 144 fclose( f ); in load_file() 148 if( fread( *buf, 1, *n, f ) != *n ) in load_file() 150 fclose( f ); in load_file() 156 fclose( f ); in load_file() [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/data_files/ |
D | server9-with-ca.crt | 34 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 41 71:f1:bd:83:d9:3f:d6:a5:e2:3c:2a:8f:ef:27:60: 42 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb: 46 79:a4:b2:b5:2e:12:f9:84:17:f0:62:6f:27:3e:13: 47 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6: 50 ab:e9:c3:f2:cf:87:96:8f:80:02:32:9e:99:58:6f: 66 32:89:be:63:47:53:ff:b6:be:f1:2e:8c:54:c0:99:3f:a0:b9: 67 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 70 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 71 e1:8f:53:f6:67:93:c7:f9:6f:76:44:58:12:e8:3a:d4:97:e7: [all …]
|
D | server10_int3_int-ca2_ca.crt | 55 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 62 71:f1:bd:83:d9:3f:d6:a5:e2:3c:2a:8f:ef:27:60: 63 c3:c6:9f:cb:ba:ec:60:7d:b7:e6:84:32:be:4f:fb: 67 79:a4:b2:b5:2e:12:f9:84:17:f0:62:6f:27:3e:13: 68 58:b1:54:0d:21:9a:73:37:a1:30:cf:6f:92:dc:f6: 71 ab:e9:c3:f2:cf:87:96:8f:80:02:32:9e:99:58:6f: 87 32:89:be:63:47:53:ff:b6:be:f1:2e:8c:54:c0:99:3f:a0:b9: 88 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 91 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 92 e1:8f:53:f6:67:93:c7:f9:6f:76:44:58:12:e8:3a:d4:97:e7: [all …]
|
D | dh.optlen.pem | 7 93:8e:a1:1b:48:dc:51:5d:ab:7a:bc:bb:1e:0c:7f: 9 43:57:e1:c4:ea:07:a7:ce:1e:38:1a:2f:ca:fd:ff: 10 5f:5b:f0:0d:f8:28:80:60:20:e8:75:c0:09:26:e4: 17 ec:b0:55:6f:b7:13:12:a8:d7:c9:3b:b2:89:8e:a0: 18 8e:e5:4e:eb:59:45:48:28:5f:06:a9:73:cb:be:2a: 25 b3:12:6a:ea:f4:71:53:c7:d6:7f:40:30:30:b2:92: 30 e4:94:05:e5:90:2f:a0:59:6a:1c:ba:a8:95:cc:40: 31 2d:52:13:ed:4a:5f:1f:5b:a8:b5:e1:ed:3d:a9:51: 34 d7:23:32:2a:cf:32:7f:9e:41:3c:da:64:00:c1:5c: 35 5b:2e:a1:fa:34:40:5d:83:98:2f:ba:40:e6:d8:52:
|
D | dh.1000.pem | 16 9e:a4:a8:c4:29:fe:76:18:02:4f:76:c9:29:0e:f2: 21 4a:1a:dc:b2:d4:29:23:ab:2e:8f:7f:6a:84:1d:82: 22 23:6e:42:8c:1e:70:3d:21:bb:b9:b9:8f:f9:fd:9c: 23 53:08:e4:e8:5a:04:ca:5f:8f:73:55:ac:e1:41:20: 24 c7:43:fa:8f:99:
|
D | dh.998.pem | 3 39:5f:30:c0:7b:06:b7:6a:49:c6:c0:81:1f:39:77: 10 8f:93:78:96:8f:2c:25:8d:7d:1f:eb:5c:3c:bf:51:
|
/openthread-3.6.0/tests/scripts/thread-cert/pktverify/ |
D | decorators.py | 33 def cached(f): argument 40 cache_key = '_once_' + f.__name__ 42 @wraps(f) 47 v = f(self) 54 def cached_property(f): argument 62 return property(cached(f))
|
/openthread-3.6.0/tools/otci/otci/ |
D | otci.py | 239 cmd = f'ping {ip} {size} {count} {interval} {hoplimit} {timeout}' 275 cmd += f' {channel}' 308 cmd += f' {duration * 1000:d}' 311 cmd += f' {channel}' 361 self.execute_command(f'mode {DeviceMode(mode)}') 370 self.execute_command(f'extaddr {extaddr}') 379 self.execute_command(f'extpanid {extpanid}') 425 self.execute_command(f'{cmd} {networkkey}') 433 self.execute_command(f'keysequence counter {counter}') 441 self.execute_command(f'keysequence guardtime {hours}') [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_debug.data | 32 …bytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................\n" 35 …ytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f ................\nM… 38 …f ................\nMyFile(0999)\: 0010\: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f .....… 53 …f e1 5d f2 84 df de 4a 14\nMyFile(0999)\: 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 62 90 ff\nMyFile… 56 …f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 62 90\nMyFile(09… 59 …f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 62 90\nMyFile(09… 63 …f 3d 40 6a d5 55 53 8b fd 36 ee 82 65 2e\nMyFile(0999)\: 15 61 5e 89 bf b8 e8 45 90 db ee 88 16 5… 67 …f 87 56 fe fc 89 ba 29 43\nMyFile(0999)\: 4b 4e e0 6e c3 0e 57 53 33 39 58 d4 52 b4 91 95\nMyFile…
|
D | test_suite_pkwrite.function | 19 FILE *f; 39 f = fopen( key_file, "r" ); 40 TEST_ASSERT( f != NULL ); 41 ilen = fread( check_buf, 1, sizeof( check_buf ), f ); 42 fclose( f ); 59 FILE *f; 79 f = fopen( key_file, "r" ); 80 TEST_ASSERT( f != NULL ); 81 ilen = fread( check_buf, 1, sizeof( check_buf ), f ); 82 fclose( f );
|
/openthread-3.6.0/tests/scripts/thread-cert/ |
D | network_diag.py | 73 return f'Ipv6AddressList({self.addresses})' 136 return ('MacCounters(' + f'if_in_unknown_protos={self.if_in_unknown_protos}, ' + 137 f'if_in_errors={self.if_in_errors}, ' + f'if_out_errors={self.if_out_errors}, ' + 138 …f'if_in_ucast_pkts={self.if_in_ucast_pkts}, ' + f'if_in_broadcast_pkts={self.if_in_broadcast_pkts}… 139 … f'if_in_discards={self.if_in_discards}, ' + f'if_out_ucast_pkts={self.if_out_ucast_pkts}, ' + 140 …f'if_out_broadcast_pkts={self.if_out_broadcast_pkts}, ' + f'if_out_discards={self.if_out_discards}… 164 return f'BatteryLevel(battery_level={self.battery_level})' 188 return f'SupplyVoltage(supply_voltage={self.supply_voltage})' 222 … return f'ChildTableEntry(timeout={self.timeout}, child_id={self.child_id}, mode={self.mode})' 240 return f'ChildTable({self.children})' [all …]
|
D | test_dnssd.py | 113 answers = client1.dns_resolve(f"host1.{DOMAIN}".upper(), server.get_mleid(), 53) 117 answers = client1.dns_resolve(f"host2.{DOMAIN}", server.get_mleid(), 53) 173 … service_instances = client1.dns_browse(f'{SERVICE}.{DOMAIN}'.upper(), server.get_mleid(), 53) 177 …service_instances = client1.dns_browse(f'_s1._sub.{SERVICE}.{DOMAIN}'.upper(), server.get_mleid(),… 183 …service_instances = client1.dns_browse(f'_s2._sub.{SERVICE}.{DOMAIN}'.upper(), server.get_mleid(),… 190 …service_instance = client1.dns_resolve_service('ins1', f'{SERVICE}.{DOMAIN}'.upper(), server.get_m… 193 …service_instance = client1.dns_resolve_service('ins2', f'{SERVICE}.{DOMAIN}'.upper(), server.get_m… 196 …service_instance = client1.dns_resolve_service('ins3', f'{SERVICE}.{DOMAIN}'.upper(), server.get_m… 206 service_instances = client1.dns_browse(f'{SERVICE}.{DOMAIN}', server.get_mleid(), 53) 209 …service_instance = client1.dns_resolve_service('ins4', f'{SERVICE}.{DOMAIN}'.upper(), server.get_m… [all …]
|
D | node.py | 88 logging.info(f"socat running: device PTY: {rcp_device_pty}, device: {rcp_device}") 91 …self._ot_rcp_proc = subprocess.Popen(f"{ot_rcp_path} {nodeid} > {rcp_device_pty} < {rcp_device_pty… 103 raise Exception(f"ot-rcp {nodeid} exited unexpectedly!") 112 logging.info(f'Docker image: {config.OTBR_DOCKER_IMAGE}') 113 subprocess.check_call(f"docker rm -f {self._docker_name} || true", shell=True) 132 f'{self._rcp_device}:/dev/ttyUSB0', 139 f'trel://{config.BACKBONE_IFNAME}', 149 … subprocess.check_call(f'docker exec -i {self._docker_name} ot-ctl state', shell=True) 162 return f'OtbrDocker<{self.nodeid}>' 180 cmd = f'docker exec -i {self._docker_name} ot-ctl' [all …]
|
/openthread-3.6.0/tests/scripts/thread-cert/backbone/ |
D | test_bmlr.py | 146 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f""" 153 pkts.filter_wpan_src64(ROUTER1).filter_coap_request('/n/mr').must_next().must_verify(f""" 158 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f""" 165 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f""" 170 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f""" 177 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f""" 182 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f""" 189 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f""" 194 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/scripts/ |
D | generate-afl-tests.sh | 73 for f in *; 76 sed '/^\s*$/d' $f >testcase_$f 77 rm $f
|
/openthread-3.6.0/tools/harness-simulation/posix/ |
D | launch_testbed.py | 60 for line in os.popen(f'ip addr list dev {ifname} | grep inet | grep global'): 63 raise RuntimeError(f'No IP address on dev {ifname}') 98 'add': f'{tag}_{nodeid}@{add}', 115 server = f'[{addr}]:{port}' 117 server = f'{addr}:{port}' 143 with open(args.config, 'rt') as f: 144 config = yaml.safe_load(f) 161 …raise ValueError(f'The number of devices of each OT version should be between 0 and {max_nodes_num… 164 …raise ValueError(f'The number of devices of each OTBR version should be between 0 and {max_nodes_n… 167 raise ValueError(f'The number of devices should be between 1 and {max_nodes_num}') [all …]
|
/openthread-3.6.0/third_party/mbedtls/repo/programs/random/ |
D | gen_entropy.c | 55 FILE *f; in main() local 67 if( ( f = fopen( argv[1], "wb+" ) ) == NULL ) in main() 85 fwrite( buf, 1, sizeof( buf ), f ); in main() 97 fclose( f ); in main()
|