Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 199) sorted by relevance

12345678

/openthread-3.7.0/tools/tcat_ble_client/
Dpoetry.lock1 # This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
10 …{file = "async-timeout-4.0.2.tar.gz", hash = "sha256:2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553…
11 …{file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf…
24 …{file = "bleak-0.20.2-py3-none-any.whl", hash = "sha256:ce3106b7258212d92bb77be06f9301774f51f5bbc9…
25 …{file = "bleak-0.20.2.tar.gz", hash = "sha256:6c92a47abe34e6dea8ffc5cea9457cbff6e1be966854839dbc25…
44 …{file = "bleak-winrt-1.2.0.tar.gz", hash = "sha256:0577d070251b9354fc6c45ffac57e39341ebb08ead014b1…
45 …{file = "bleak_winrt-1.2.0-cp310-cp310-win32.whl", hash = "sha256:a2ae3054d6843ae0cfd3b94c83293a1d…
46 …{file = "bleak_winrt-1.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:677df51dc825c6657b3ae94f00bd…
47 …{file = "bleak_winrt-1.2.0-cp311-cp311-win32.whl", hash = "sha256:9449cdb942f22c9892bc1ada99e2ccce…
48 …{file = "bleak_winrt-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:98c1b5a6a6c431ac7f76aa4285b7…
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_hmac_drbg.misc.data37 HMAC_DRBG write/update seed file SHA-1 [#1]
41 HMAC_DRBG write/update seed file SHA-1 [#2]
43 hmac_drbg_seed_file:MBEDTLS_MD_SHA1:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
45 HMAC_DRBG write/update seed file SHA-224 [#1]
49 HMAC_DRBG write/update seed file SHA-224 [#2]
51 hmac_drbg_seed_file:MBEDTLS_MD_SHA224:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
53 HMAC_DRBG write/update seed file SHA-256 [#1]
57 HMAC_DRBG write/update seed file SHA-256 [#2]
59 hmac_drbg_seed_file:MBEDTLS_MD_SHA256:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
61 HMAC_DRBG write/update seed file SHA-384 [#1]
[all …]
Dtest_suite_debug.function12 void string_debug(void *data, int level, const char *file, int line, const char *str)
18 memcpy(p, file, strlen(file));
19 p += strlen(file);
55 void debug_print_msg_threshold(int threshold, int level, char *file,
81 mbedtls_debug_print_msg(&ssl, level, file, line,
94 void mbedtls_debug_print_ret(char *file, int line, char *text, int value,
118 mbedtls_debug_print_ret(&ssl, 0, file, line, text, value);
130 void mbedtls_debug_print_buf(char *file, int line, char *text,
154 mbedtls_debug_print_buf(&ssl, 0, file, line, text, data->x, data->len);
166 void mbedtls_debug_print_crt(char *crt_file, char *file, int line,
[all …]
Dtest_suite_entropy.data10 Entropy write/update seed file: good
13 Entropy write/update seed file: nonexistent
14 entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
16 Entropy write/update seed file: base NV seed file
Dtest_suite_net.function22 /** Open a file on the given file descriptor.
28 * On success, it refers to the opened file (\p wanted_fd).
29 * \param wanted_fd The desired file descriptor.
77 /* Test that mbedtls_net_poll does not misbehave when given a file
90 /* On many systems, by default, the maximum permitted file descriptor
94 * If the limit can't be raised, a file descriptor opened by the
97 * A file descriptor could still be higher than FD_SETSIZE if it was
116 * file descriptors greater or equal to FD_SETSIZE. So we expect to hit
Dmain_test.function5 * This file has been machine generated using the script:
8 * Test file : __MBEDTLS_TEST_TEMPLATE__TEST_FILE
10 * The following files were used to create this file.
12 * Main code file : __MBEDTLS_TEST_TEMPLATE__TEST_MAIN_FILE
13 * Platform code file : __MBEDTLS_TEST_TEMPLATE__TEST_PLATFORM_FILE
14 * Helper file : __MBEDTLS_TEST_TEMPLATE__TEST_COMMON_HELPER_FILE
15 * Test suite file : __MBEDTLS_TEST_TEMPLATE__TEST_CASE_FILE
233 extern void (*mbedtls_test_hook_test_fail)(const char *test, int line, const char *file);
241 * using the default data file. This allows running the executable
243 * the .datax file as well as data files used by test cases
[all …]
Dtest_suite_psa_crypto_entropy.function17 /* Check the entropy seed file.
20 * If 0, the file must not exist.
23 * the entropy seed file exists and has exactly this size,
24 * or \p expected_size is zero and the file does not exist.
26 * the entropy seed file does not exist or has a different size,
27 * or \p expected_size is zero but the file exists.
30 * \note We enforce that the seed is in a specific ITS file.
38 * file. If this test assertion fails, you've presumably broken backward
58 /* Remove the entropy seed file.
/openthread-3.7.0/third_party/mbedtls/repo/library/
Ddebug.c35 const char *file, int line, in debug_send_line() argument
46 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, idstr); in debug_send_line()
48 ssl->conf->f_dbg(ssl->conf->p_dbg, level, file, line, str); in debug_send_line()
54 const char *file, int line, in mbedtls_debug_print_msg() argument
84 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_msg()
88 const char *file, int line, in mbedtls_debug_print_ret() argument
112 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_ret()
116 const char *file, int line, const char *text, in mbedtls_debug_print_buf() argument
133 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_buf()
144 debug_send_line(ssl, level, file, line, str); in mbedtls_debug_print_buf()
[all …]
Ddebug_internal.h31 const char *file, int line,
50 const char *file, int line,
71 const char *file, int line, const char *text,
92 const char *file, int line,
114 const char *file, int line,
135 const char *file, int line,
166 const char *file, int line,
Dplatform.c295 FILE *file; in mbedtls_platform_std_nv_seed_read() local
298 if ((file = fopen(MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "rb")) == NULL) { in mbedtls_platform_std_nv_seed_read()
303 mbedtls_setbuf(file, NULL); in mbedtls_platform_std_nv_seed_read()
305 if ((n = fread(buf, 1, buf_len, file)) != buf_len) { in mbedtls_platform_std_nv_seed_read()
306 fclose(file); in mbedtls_platform_std_nv_seed_read()
311 fclose(file); in mbedtls_platform_std_nv_seed_read()
317 FILE *file; in mbedtls_platform_std_nv_seed_write() local
320 if ((file = fopen(MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "w")) == NULL) { in mbedtls_platform_std_nv_seed_write()
325 mbedtls_setbuf(file, NULL); in mbedtls_platform_std_nv_seed_write()
327 if ((n = fwrite(buf, 1, buf_len, file)) != buf_len) { in mbedtls_platform_std_nv_seed_write()
[all …]
Dentropy_poll.c151 FILE *file; in mbedtls_platform_entropy_poll() local
170 ((void) file); in mbedtls_platform_entropy_poll()
181 file = fopen("/dev/urandom", "rb"); in mbedtls_platform_entropy_poll()
182 if (file == NULL) { in mbedtls_platform_entropy_poll()
187 mbedtls_setbuf(file, NULL); in mbedtls_platform_entropy_poll()
189 read_len = fread(output, 1, len, file); in mbedtls_platform_entropy_poll()
191 fclose(file); in mbedtls_platform_entropy_poll()
195 fclose(file); in mbedtls_platform_entropy_poll()
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md23 * [PSA ITS](#file-namespace-on-its-for-0.1.0)
24 * [C stdio](#file-namespace-on-stdio-for-0.1.0)
28 * [Persistent transparent keys](#key-file-format-for-0.1.0) designated by a [slot number](#key-name…
29 * [Nonvolatile random seed](#nonvolatile-random-seed-file-format-for-0.1.0) on ITS only.
33 …olatile random seed file produced with Mbed OS 5.11.x and is upgraded to a later version of Mbed O…
35 We do not make any promises regarding key storage, or regarding the nonvolatile random seed file on…
39file whose name is constructed from the key identifier. The way in which the file name is construc…
49 ### Key file format for 0.1.0
53 The layout of a key file is:
64 ### Nonvolatile random seed file format for 0.1.0
[all …]
Dpsa-storage-resilience.md21 ## Assumptions on the underlying file storage
25 * `set()` writes a whole file (either creating it, or replacing the previous content).
26 * `remove()` removes a file (returning a specific error code if the file does not exist).
30 …mic, the content of a file is always a version that was previously passed to `set()`. We do not tr…
40 …ence properties of the underyling storage](#assumptions-on-the-underlying-file-storage). We do not…
111 The PSA ITS API does not support enumerating files in storage: an ITS call can only access one file
115 … underlying file storage](#assumptions-on-the-underlying-file-storage), each atomic operation in t…
117 …st transform the internal storage from a state where file `id` does not exist, to a state where fi…
121file `id` cannot be used for this purpose because there is no way to enumerate all keys (and even …
123 * Write (create or update) a file `t` referencing `id`.
[all …]
/openthread-3.7.0/script/
Dclang-format-check47 for file in "$@"; do
48 echo "Checking ${file}"
49 …"$(dirname "$0")"/clang-format -style=file "${file}" | diff -u "${file}" - || die "${file} is not …
50 [ -z "$(tail -c1 "${file}")" ] || die "${file} misses EOF newline."
Dclang-format74 for file in "${FILES[@]}"; do
75 [ -n "$(tail -c1 "$file")" ] && echo >>"$file"
/openthread-3.7.0/third_party/jlink/SEGGER_RTT_V640/Syscalls/
DSEGGER_RTT_Syscalls_GCC.c86 int _write(int file, char *ptr, int len);
87 int _write_r(struct _reent *r, int file, const void *ptr, int len);
106 int _write(int file, char *ptr, int len) { in _write() argument
107 (void) file; /* Not used, avoid warning */ in _write()
122 int _write_r(struct _reent *r, int file, const void *ptr, int len) { in _write_r() argument
123 (void) file; /* Not used, avoid warning */ in _write_r()
/openthread-3.7.0/src/posix/platform/
Dentropy.cpp98 FILE *file = nullptr; in otPlatEntropyGet() local
103 file = fopen("/dev/urandom", "rb"); in otPlatEntropyGet()
104 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in otPlatEntropyGet()
106 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
111 if (file != nullptr) in otPlatEntropyGet()
113 fclose(file); in otPlatEntropyGet()
Dutils.cpp58 FILE *file; in ExecuteCommand() local
66 file = popen(cmd, "r"); in ExecuteCommand()
67 VerifyOrExit(file != nullptr, error = OT_ERROR_FAILED); in ExecuteCommand()
68 while (fgets(buf, sizeof(buf), file)) in ExecuteCommand()
77 exitCode = pclose(file); in ExecuteCommand()
/openthread-3.7.0/examples/platforms/simulation/
Dentropy.c96 FILE *file = NULL; in otPlatEntropyGet() local
101 file = fopen("/dev/urandom", "rb"); in otPlatEntropyGet()
102 otEXPECT_ACTION(file != NULL, error = OT_ERROR_FAILED); in otPlatEntropyGet()
104 readLength = fread(aOutput, 1, aOutputLength, file); in otPlatEntropyGet()
109 if (file != NULL) in otPlatEntropyGet()
111 fclose(file); in otPlatEntropyGet()
/openthread-3.7.0/third_party/mbedtls/repo/scripts/
Dgenerate_driver_wrappers.py63 with open(file=os.path.join(output_dir, os.path.splitext(template_file_name)[0]),
86 " for driver " + driver_prefix, str(err), file=sys.stderr)
96 " ".format(driverjson_data, _schema, str(err)), file=sys.stderr)
102 with open(file=driver_file, mode='r', encoding='UTF-8') as f:
129 with open(file=file_path, mode='r', encoding='UTF-8') as file:
130 driver_schema[key] = json.load(file)
142 with open(file=os.path.join(json_directory, jsondriver_list),
152 def trace_exception(e: Exception, file=sys.stderr) -> None: argument
156 ), file)
Dgenerate_errors.pl54 foreach my $file (@files) {
55 open(FILE, '<:crlf', $file) or die("$0: $file: $!");
77 die "Description neither before nor after $name in $file\n"
79 die "Description both before and after $name in $file\n"
89 my $include_name = $file;
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/testing/
Dtest-framework.md13 … the test does. The first non-comment line of each paragraph in a `.data` file is the test descrip…
16 … that process test descriptions (`generate_test_code.py`, [outcome file](#outcome-file) tools) sim…
17 * Test descriptions must be unique within a `.data` file. If you can't think of a better descriptio…
18 …a failure log to the test data. Avoid confusion between cases in the [outcome file](#outcome-file).
45 ### Outcome file
47 #### Generating an outcome file argument
49 … outcome file**. This feature is enabled if the environment variable `MBEDTLS_TEST_OUTCOME_FILE` i…
51 If you run `all.sh --outcome-file test-outcome.csv`, this collects the outcome of all the test case…
53 #### Outcome file format argument
55 The outcome file is in a CSV format using `;` (semicolon) as the delimiter and no quoting. This mea…
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-wrappers-codegen-migration-guide.md1 Migrating to an auto generated psa_crypto_driver_wrappers.h file
4 This document describes how to migrate to the auto generated psa_crypto_driver_wrappers.h file.
24 …a2 ) to render templates based on drivers that are defined using a Driver description JSON file(s).
31 (2) The auto generation is based on the template file at **scripts/data_files/driver_templates/psa_…
32 (3) The driver JSONS to be used for generating the psa_crypto_driver_wrappers.h file can be found a…
33 …es a need to patch psa_crypto_driver_wrappers.h file, the user will need to patch into the templat…
40 The JSON file 'driverlist.json' is meant to be edited by the user to reflect the drivers one wants …
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Derror.h143 const char *file, int line) in mbedtls_error_add() argument
147 (*mbedtls_test_hook_error_add)(high, low, file, line); in mbedtls_error_add()
150 (void) file; in mbedtls_error_add()
/openthread-3.7.0/third_party/mbedtls/repo/tests/scripts/
Dgen_gcm_encrypt.pl11 my $file = shift;
13 open(TEST_DATA, "$file") or die "Opening test cases '$file': $!";

12345678