| /openthread-latest/include/openthread/ |
| D | dns.h | 60 #define OT_DNS_TXT_KEY_MIN_LENGTH 1 ///< Minimum length of TXT record key string (RFC 6763 - sectio… 62 #define OT_DNS_TXT_KEY_MAX_LENGTH 9 ///< Recommended maximum length of TXT record key string (RFC 6… 64 #define OT_DNS_TXT_KEY_ITER_MAX_LENGTH 64 ///< Maximum length of TXT key string supported by `otDns… 67 * Represents a TXT record entry representing a key/value pair (RFC 6763 - section 6.3). 72 …* An array of `otDnsTxtEntry` entries are used in `otSrpClientService` to specify the full TXT rec… 78 * The TXT record key string. 88 …* If `mKey` is NULL, then `mValue` buffer is treated as an already encoded TXT-DATA and is appende… 92 …const uint8_t *mValue; ///< The TXT record value or already encoded TXT-DATA (depending on `… 97 * Represents an iterator for TXT record entries (key/value pairs). 109 * Initializes a TXT record iterator. [all …]
|
| D | dns_client.h | 90 OT_DNS_SERVICE_MODE_TXT = 2, ///< Query for TXT record only. 91 … OT_DNS_SERVICE_MODE_SRV_TXT = 3, ///< Query for both SRV and TXT records in same message. 92 …OT_DNS_SERVICE_MODE_SRV_TXT_SEPARATE = 4, ///< Query in parallel for SRV and TXT using separate me… 93 …OT_DNS_SERVICE_MODE_SRV_TXT_OPTIMIZE = 5, ///< Query for TXT/SRV together first, if fails then que… 340 uint8_t *mTxtData; ///< Buffer to output TXT data (can be NULL if not needed). 342 …bool mTxtDataTruncated; ///< Indicates if TXT data could not fit in `mTxtDataSize` and w… 343 uint32_t mTxtDataTtl; ///< The TXT data TTL. 417 …* A browse DNS response can include SRV, TXT, and AAAA records for the service instances that are … 422 * records (no TXT and/or AAAA) are read. 424 …* - If no matching TXT record is found in @p aResponse, `mTxtDataSize` in @p aServiceInfo is set t… [all …]
|
| /openthread-latest/tests/scripts/thread-cert/border_router/ |
| D | test_dnssd_server.py | 164 # check if TXT query works 165 dig_result = digger.dns_dig(server_addr, ins1_full_name, 'TXT') 167 'QUESTION': [(ins1_full_name, 'IN', 'TXT')], 168 'ANSWER': [(ins1_full_name, 'IN', 'TXT', EMPTY_TXT),], 171 dig_result = digger.dns_dig(server_addr, ins2_full_name, 'TXT') 173 'QUESTION': [(ins2_full_name, 'IN', 'TXT')], 174 'ANSWER': [(ins2_full_name, 'IN', 'TXT', EMPTY_TXT),], 232 (dp_instance_name, 'IN', 'TXT', lambda txt: (isinstance(txt, dict) and txt.get( 233 'nn') == network_name and 'xp' in txt and 'tv' in txt and 'xa' in txt)), 252 … 'ADDITIONAL': [(dp_instance_name, 'IN', 'TXT', lambda txt: (isinstance(txt, dict) and txt.get( [all …]
|
| D | test_dnssd_server_multi_border_routers.py | 189 # check if TXT query works 190 dig_result = host.dns_dig(br2_addr, ins1_full_name, 'TXT') 192 'QUESTION': [(ins1_full_name, 'IN', 'TXT')], 193 'ANSWER': [(ins1_full_name, 'IN', 'TXT', EMPTY_TXT)], 196 dig_result = host.dns_dig(br2_addr, ins2_full_name, 'TXT') 198 'QUESTION': [(ins2_full_name, 'IN', 'TXT')], 199 'ANSWER': [(ins2_full_name, 'IN', 'TXT', EMPTY_TXT)], 210 (ins1_full_name, 'IN', 'TXT', EMPTY_TXT), 218 (ins2_full_name, 'IN', 'TXT', EMPTY_TXT), 248 # check if TXT query works [all …]
|
| D | test_publish_meshcop_service.py | 203 if service['txt']['nn'] == br.get_network_name(): 209 sb_data = service_data['txt']['sb'].encode('raw_unicode_escape') 248 self.assertEqual(service_data['txt']['nn'], br.get_network_name()) 249 self.assertEqual(service_data['txt']['rv'], '1') 250 self.assertIn(service_data['txt']['tv'], ['1.1.0', '1.1.1', '1.2.0', '1.3.0', '1.4.0'])
|
| /openthread-latest/third_party/mbedtls/repo/programs/psa/ |
| D | key_ladder_demo.sh | 26 files_to_clean="$files_to_clean input.txt hello_world.wrap" 27 echo "Here is some input. See it wrapped." >input.txt 30 input=input.txt output=hello_world.wrap 32 files_to_clean="$files_to_clean hello_world.txt" 35 input=hello_world.wrap output=hello_world.txt 37 cmp input.txt hello_world.txt 39 files_to_clean="$files_to_clean hellow_orld.txt" 41 …"$program" unwrap master=master.key input=hello_world.wrap output=hellow_orld.txt label=hellow lab… 49 input=hello_world.wrap output=hello_world.txt
|
| /openthread-latest/third_party/mbedtls/repo/tests/ |
| D | context-info.sh | 193 "srv_def.txt" \ 215 "cli_def.txt" \ 245 "srv_ciphersuite.txt" \ 250 "cli_ciphersuite.txt" \ 255 "srv_no_packing.txt" \ 260 "cli_no_packing.txt" \ 265 "srv_cid.txt" \ 271 "cli_cid.txt" \ 277 "srv_no_mfl.txt" \ 282 "cli_no_mfl.txt" \ [all …]
|
| /openthread-latest/third_party/mbedtls/repo/scripts/ |
| D | bump_version.sh | 72 [ $VERBOSE ] && echo "Bumping VERSION in CMakeLists.txt" 73 sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < CMakeLists.txt > tmp 74 mv tmp CMakeLists.txt 76 [ $VERBOSE ] && echo "Bumping VERSION in library/CMakeLists.txt" 77 sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < library/CMakeLists.txt > tmp 78 mv tmp library/CMakeLists.txt 82 [ $VERBOSE ] && echo "Bumping SOVERSION for libmbedcrypto in library/CMakeLists.txt" 83 …sed -e "/mbedcrypto/ s/ SOVERSION [0-9]\{1,\}/ SOVERSION $SO_CRYPTO/g" < library/CMakeLists.txt > … 84 mv tmp library/CMakeLists.txt 93 [ $VERBOSE ] && echo "Bumping SOVERSION for libmbedx509 in library/CMakeLists.txt" [all …]
|
| D | footprint.sh | 42 OUTFILE='00-footprint-summary.txt' 74 OUT="size-${NAME}.txt" 108 zip mbedtls-footprint.zip "$OUTFILE" size-*.txt >/dev/null
|
| /openthread-latest/third_party/mbedtls/repo/programs/pkey/ |
| D | rsa_encrypt.c | 76 mbedtls_printf("\n . Reading public key from rsa_pub.txt"); in main() 79 if ((f = fopen("rsa_pub.txt", "rb")) == NULL) { in main() 80 mbedtls_printf(" failed\n ! Could not open rsa_pub.txt\n" \ in main() 122 * Write the signature into result-enc.txt in main() 124 if ((f = fopen("result-enc.txt", "wb+")) == NULL) { in main() 125 mbedtls_printf(" failed\n ! Could not create %s\n\n", "result-enc.txt"); in main() 136 mbedtls_printf("\n . Done (created \"%s\")\n\n", "result-enc.txt"); in main()
|
| D | rsa_genkey.c | 78 mbedtls_printf(" ok\n . Exporting the public key in rsa_pub.txt...."); in main() 87 if ((fpub = fopen("rsa_pub.txt", "wb+")) == NULL) { in main() 88 mbedtls_printf(" failed\n ! could not open rsa_pub.txt for writing\n\n"); in main() 98 mbedtls_printf(" ok\n . Exporting the private key in rsa_priv.txt..."); in main() 101 if ((fpriv = fopen("rsa_priv.txt", "wb+")) == NULL) { in main() 102 mbedtls_printf(" failed\n ! could not open rsa_priv.txt for writing\n"); in main()
|
| D | rsa_decrypt.c | 83 mbedtls_printf("\n . Reading private key from rsa_priv.txt"); in main() 86 if ((f = fopen("rsa_priv.txt", "rb")) == NULL) { in main() 87 mbedtls_printf(" failed\n ! Could not open rsa_priv.txt\n" \ in main() 122 if ((f = fopen("result-enc.txt", "rb")) == NULL) { in main() 123 mbedtls_printf("\n ! Could not open %s\n\n", "result-enc.txt"); in main()
|
| D | pk_encrypt.c | 115 * Write the signature into result-enc.txt in main() 117 if ((f = fopen("result-enc.txt", "wb+")) == NULL) { in main() 119 "result-enc.txt"); in main() 131 mbedtls_printf("\n . Done (created \"%s\")\n\n", "result-enc.txt"); in main()
|
| D | dh_server.c | 97 mbedtls_printf("\n . Reading private key from rsa_priv.txt"); in main() 100 if ((f = fopen("rsa_priv.txt", "rb")) == NULL) { in main() 101 mbedtls_printf(" failed\n ! Could not open rsa_priv.txt\n" \ in main() 135 mbedtls_printf("\n . Reading DH parameters from dh_prime.txt"); in main() 138 if ((f = fopen("dh_prime.txt", "rb")) == NULL) { in main() 139 mbedtls_printf(" failed\n ! Could not open dh_prime.txt\n" \ in main()
|
| D | rsa_verify.c | 59 mbedtls_printf("\n . Reading public key from rsa_pub.txt"); in main() 62 if ((f = fopen("rsa_pub.txt", "rb")) == NULL) { in main() 63 mbedtls_printf(" failed\n ! Could not open rsa_pub.txt\n" \ in main()
|
| D | dh_genprime.c | 132 mbedtls_printf(" ok\n . Exporting the value in dh_prime.txt..."); in main() 135 if ((fout = fopen("dh_prime.txt", "wb+")) == NULL) { in main() 136 mbedtls_printf(" failed\n ! Could not create dh_prime.txt\n\n"); in main()
|
| D | rsa_sign.c | 60 mbedtls_printf("\n . Reading private key from rsa_priv.txt"); in main() 63 if ((f = fopen("rsa_priv.txt", "rb")) == NULL) { in main() 64 mbedtls_printf(" failed\n ! Could not open rsa_priv.txt\n" \ in main()
|
| /openthread-latest/tools/harness-automation/ |
| D | parse_topofile.py | 32 This script is used to parse TopologyConfig.txt file to list vendor device info 42 _Harness/TestScripts/TopologyConfig.txt) 48 cmd: python parse_topofile.py -f TopologyConfig.txt -c 5.1.1 57 cmd: python parse_topofile.py -f TopologyConfig.txt -c 5.1.1 5.2.1 69 cmd: python parse_topofile.py -f TopologyConfig.txt 152 default='C:/GRL/Thread1.1/Thread_Harness/TestScripts/TopologyConfig.txt', 153 …p='Topology config file (default: C:/GRL/Thread1.1/Thread_Harness/TestScripts/TopologyConfig.txt)',
|
| /openthread-latest/third_party/mbedtls/repo/library/ |
| D | debug.c | 120 char txt[17]; in mbedtls_debug_print_buf() local 135 memset(txt, 0, sizeof(txt)); in mbedtls_debug_print_buf() 143 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %s\n", txt); in mbedtls_debug_print_buf() 147 memset(txt, 0, sizeof(txt)); in mbedtls_debug_print_buf() 157 txt[i % 16] = (buf[i] > 31 && buf[i] < 127) ? buf[i] : '.'; in mbedtls_debug_print_buf() 165 mbedtls_snprintf(str + idx, sizeof(str) - idx, " %s\n", txt); in mbedtls_debug_print_buf()
|
| /openthread-latest/third_party/mbedtls/repo/framework/ |
| D | .gitignore | 2 CMakeCache.txt 18 coverage-summary.txt
|
| /openthread-latest/third_party/mbedtls/repo/ |
| D | .gitignore | 7 CMakeCache.txt 23 coverage-summary.txt
|
| /openthread-latest/include/openthread/platform/ |
| D | dnssd.h | 99 const uint8_t *mTxtData; ///< Encoded TXT data bytes. 100 uint16_t mTxtDataLength; ///< Length of TXT data. 178 * - The `mTxtData` and `mTxtDataLength` fields specify the encoded TXT data. 473 * Represents a TXT resolver result. 479 const uint8_t *mTxtData; ///< Encoded TXT data bytes. Can be NULL when `mTtl` is zero. 480 uint16_t mTxtDataLength; ///< Length of TXT data. 481 …uint32_t mTtl; ///< The TXT data TTL in seconds. Zero TTL indicates record is re… 486 * Represents the callback function used to report a TXT resolve result. 489 * @param[in] aResult The TXT resolve result. 494 * Represents a TXT service resolver. [all …]
|
| /openthread-latest/src/cli/ |
| D | README_SRP_SERVER.md | 194 The TXT record is displayed as an array of entries. If an entry has a key, the key will be printed … 207 TXT: [616263, xyz=585960] 219 TXT: [616263, xyz=585960]
|
| /openthread-latest/tools/harness-automation/autothreadharness/ |
| D | settings_sample.py | 95 Example for IV testbed using TopologyConfig_20180907b.txt, 1 OpenThread, 1 ARM and 1 SiLabs devices… 98 Example for IV testbed using TopologyConfig_20180907cK.txt, 1 OpenThread and 2 ARM devices should b… 105 TopologyConfig.txt under
|
| /openthread-latest/tools/harness-simulation/posix/ |
| D | install.sh | 47 pip3 install -r "${POSIX_DIR}/requirements.txt" 143 cp "${ETC_DIR}/requirements.txt" root/tmp/requirements.txt
|