Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 180) sorted by relevance

12345678

/openthread-3.7.0/third_party/tcplp/lib/
Dcbuf.c76 chdr->used = 0; in cbuf_init()
82 return chdr->used; in cbuf_used_space()
86 return chdr->size - chdr->used; in cbuf_free_space()
94 return chdr->used == 0; in cbuf_empty()
99 if (chdr->used < until_end) { in cbuf_get_w_index()
100 return chdr->r_index + chdr->used; in cbuf_get_w_index()
102 return chdr->used - until_end; in cbuf_get_w_index()
123 chdr->used += data_len; in cbuf_write()
134 chdr->used -= numbytes; in cbuf_read_unsafe()
141 chdr->used -= numbytes; in cbuf_read_unsafe()
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dpsa_information.py83 used = set()
85 used.update(re.findall(r'PSA_(?:ALG|ECC_FAMILY|DH_FAMILY|KEY_TYPE)_\w+', expr))
86 used.difference_update(SYMBOLS_WITHOUT_DEPENDENCY)
87 return sorted(psa_want_symbol(name) for name in used)
/openthread-3.7.0/doc/
DDoxyfile.in15 # names of its contributors may be used to endorse or promote products
32 # This file describes the settings to be used by the
55 # This tag specifies the encoding used for all characters in the config file
56 # that follow. The default is UTF-8 which is also the encoding used for all text
66 # project for which the documentation is generated. This name is used in the
72 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
74 # control system is used.
91 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
94 # left blank the current directory will be used.
108 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dtesting.md4 This document records the testing strategy used so far in implementing
18 Generally, code review is enough to ensure that PSA APIs are indeed used where
34 For example, `mbedtls_pk_setup_opaque()` is meant to be used by applications
53 new API to be used, and one or more tests in `ssl-opt.sh` using that.
67 For example, `mbedtls_cipher_setup_psa()` (no longer used, soon to be
68 deprecated - #5261) was meant to be used by the TLS layer, but probably not
Dpsa-limitations.md58 coincidentally, all the groups used by RFC 7919 and TLS 1.3 are included
96 the hash algorithm potentially used to hash the message being signed:
97 - a hash algorithm used for the encoding function
102 configurable in the original scheme; 0xBC is used everywhere in practice.
136 - hash alg used for message hashing, encoding and MGF1
143 Note: above, "<= hashlen" means that hashlen is used if possible, but if it
145 used.
152 RFC 4055 Section 3.1 defines the encoding of RSA-PSS that's used in X.509.
153 It allows independently specifying the message hash (also used for encoding
154 hash), the MGF (and its hash if MGF1 is used), and the salt length (plus an
[all …]
Dstrategy.md1 This document explains the strategy that was used so far in starting the
48 - When `MBEDTLS_PSA_CRYPTO_C` is enabled and used, applications need to call
132 The are multiple strategies that can be used regarding the place of those
146 This strategy is currently (early 2023) used for all operations in the PK
155 This strategy will probably be used for some time for the PK layer, while we
173 This strategy is currently (early 2023) used for the MD layer and the Cipher
190 This strategy is not useful when no context is used, for example with the
198 This strategy, with support for key isolation, is currently (early 2022) used for
203 This strategy, without key isolation, was also previously used (until 3.1
218 Strategies currently (early 2022) used with each abstraction layer:
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/programs/fuzz/
DREADME.md6 They are used with a so-called fuzz driver, which will generate inputs, try to process them with th…
8 These targets were meant to be used with oss-fuzz but can be used in other contexts.
56 Here is an example of dummy.py for extracting payload from client to server (if we used `tcp.dstpor…
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dmd5.c259 uint32_t used; in mbedtls_md5_finish() local
265 used = ctx->total[0] & 0x3F; in mbedtls_md5_finish()
267 ctx->buffer[used++] = 0x80; in mbedtls_md5_finish()
269 if (used <= 56) { in mbedtls_md5_finish()
271 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_md5_finish()
274 memset(ctx->buffer + used, 0, 64 - used); in mbedtls_md5_finish()
Dsha1.c295 uint32_t used; in mbedtls_sha1_finish() local
301 used = ctx->total[0] & 0x3F; in mbedtls_sha1_finish()
303 ctx->buffer[used++] = 0x80; in mbedtls_sha1_finish()
305 if (used <= 56) { in mbedtls_sha1_finish()
307 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_sha1_finish()
310 memset(ctx->buffer + used, 0, 64 - used); in mbedtls_sha1_finish()
Dsha256.c700 uint32_t used; in mbedtls_sha256_finish() local
707 used = ctx->total[0] & 0x3F; in mbedtls_sha256_finish()
709 ctx->buffer[used++] = 0x80; in mbedtls_sha256_finish()
711 if (used <= 56) { in mbedtls_sha256_finish()
713 memset(ctx->buffer + used, 0, 56 - used); in mbedtls_sha256_finish()
716 memset(ctx->buffer + used, 0, SHA256_BLOCK_SIZE - used); in mbedtls_sha256_finish()
Dssl_tls.c3396 size_t used = 0; in ssl_tls12_session_save() local
3411 used += 8; in ssl_tls12_session_save()
3413 if (used <= buf_len) { in ssl_tls12_session_save()
3424 used += 1 /* id_len */ in ssl_tls12_session_save()
3429 if (used <= buf_len) { in ssl_tls12_session_save()
3452 used += 3 + cert_len; in ssl_tls12_session_save()
3454 if (used <= buf_len) { in ssl_tls12_session_save()
3466 used += 1 /* type */ + 1 /* length */ + session->peer_cert_digest_len; in ssl_tls12_session_save()
3467 if (used <= buf_len) { in ssl_tls12_session_save()
3475 used += 2; in ssl_tls12_session_save()
[all …]
/openthread-3.7.0/third_party/mbedtls/repo/framework/
D.gitignore7 # CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those:
37 # CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those:
/openthread-3.7.0/src/cli/
DREADME_TCP.md85 …the number of bytes to send for the benchmark. If it is left unspecified, the default size is used.
96 …hmark is ongoing, it will show that benchmark is ongoing. This command is used for test scripts wh…
181 …e buffer to associate with the example TCP endpoint. If left unspecified, the maximum size is used.
183used, then the TLS protocol will be used for the connection (on top of TCP). When communicating ov…
/openthread-3.7.0/tests/toranj/
DREADME_CLI.md8 - It can be used to simulate multiple nodes forming complex network topologies.
14 To build OpenThread with `toranj` configuration, the `test/toranj/build.sh` script can be used:
37 To run all CLI tests, `start` script can be used. This script will build OpenThread with proper con…
101 Method `allowlist_node()` can be used to add a given node to the allowlist of the device and enable…
141 When `start.sh` script is used to run all test-cases, if any test fails, to help with debugging of …
172 - `toranj` test cases can be used in situations where the platform layer may not support event-base…
DREADME.md13 - It can be used to simulate multiple nodes forming complex network topologies.
26 …arpet#/media/File:Toranj_-_special_circular_design_of_Iranian_carpets.JPG) used in Persian carpets.
DREADME_NCP.md8 - It can be used to simulate multiple nodes forming complex network topologies.
19 To run all tests, `start` script can be used. This script will build OpenThread with proper configu…
149 `wpan` module provides variables for different `wpantund` properties. Some commonly used are:
160 Method `join_node()` can be used by a node to join another node:
167 Method `allowlist_node()` can be used to add a given node to the allowlist of the device and enable…
226 - or a tuple (ipv6 address as string, port). if no port is given, a random port number is used.
235 `prepare_tx` returns a `wpan.AsyncSender` object. The sender object can be used to check success/fa…
246 After all exchanges are prepared, static method `perform_async_tx_rx()` should be used to start all…
307 When `start.sh` script is used to run all test-cases, if any test fails, to help with debugging of …
/openthread-3.7.0/third_party/mbedtls/repo/
D.gitignore12 # CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those:
45 # CMake generates *.dir/ folders for in-tree builds (used by MSVC projects), ignore all of those:
/openthread-3.7.0/tests/unit/
DCMakeLists.txt13 # names of its contributors may be used to endorse or promote products
59 …-DOPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE=0 # used to skip backoff and request tx from …
139 # `test_{name}.cpp` is used. Optional extra arguments can be
254 …"-DOPENTHREAD_CONFIG_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE=0" # used to skip backoff and request tx fro…
/openthread-3.7.0/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md47 - In addition, crafted inputs are used for negative testing and to reach
51 and reaching more error cases by exploiting knowledge of how the RNG is used).
75 carefully checking the validity domain of formulas used throughout the code;
98 Clang this is not necessary, since inline assembly is used instead.)
152 how much stack is used by each of its 4 public functions on selected cores:
202 The scripts used for TinyCrypt measurements are available in [this
216 TinyCrypto also uses no heap, only the stack. Here's the RAM used by each
301 generic Montgomery reduction used by p256-m, but other factors appear to
305 used by p256-m, but again other factors appear to compensate for that.
307 platforms used for benchmarking, while TinyCrypt uses only C (and the
[all …]
/openthread-3.7.0/tools/harness-simulation/
DREADME.md3 …an implementation of the Python abstract class template `IThci`, which is used by the Thread Test …
5 …mplementation of the sniffer abstract class template `ISniffer`, which is used by the Thread Test …
19 …- Edit the value of `ssh.username` to the username to be used for connecting to the remote POSIX e…
/openthread-3.7.0/
DSTYLE_GUIDE.md29 - Inline functions should be used judiciously.
56 - The preprocessor shall not be used to redefine reserved language keywords.
59 …- The `undef` preprocessor directive should be avoided and shall never be used to undefine a symbo…
68 …- Standard, scalar data types defined in stdint.h (C) or cstdint (C++) should be used for basic si…
75 …- The symbol used for the guard should be the file name, converted to all uppercase, with any spac…
100 …- Wherever possible and practical, C++ style casts should be used and preferred to the C style cas…
102 …- The C++ `using namespace` statement should not be used outside of object scope inside header fil…
151 …le declarations should be placed together at the top of the enclosing scope in which they are used.
170 - Detail what the globals are and how they are to be used.
171 …- Detail what the free function and object / class methods are and how they are to be used, what t…
/openthread-3.7.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-developer-guide.md21used for hardware **accelerators**. When a transparent driver is available for a particular combin…
22 * **Opaque** drivers implement cryptographic operations on keys that can only be used inside a prot…
/openthread-3.7.0/src/core/diags/
DREADME.md3 …e is a tool for debugging platform hardware manually, and it will also be used during manufacturin…
119 Show the currently used power settings table.
136 Show the currently used power settings for the given channel.
333 RCP-related diagnostics commands. These commands are used for debugging and testing only.
/openthread-3.7.0/third_party/mbedtls/repo/tests/data_files/dir-maxpath/
DReadme.txt1 These certificates form a very long chain, used to test the
/openthread-3.7.0/third_party/mbedtls/repo/docs/
D3.0-migration-guide.md58 used by the Mbed TLS release whose `MBEDTLS_VERSION_NUMBER` has the same
110 This feature was only used in some classic (non-PSA) cryptography modules. It was
111 not used in X.509, TLS or in PSA crypto, and it was not implemented in all
140 recommended), or users who used it through the entropy module but had it as the
273 were removed; `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` is now used
276 `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` is now used instead.
278 were removed; `MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED` is now used instead.
283 modules were removed; `MBEDTLS_ERR_xxx_BAD_INPUT_DATA` is now used instead.
448 All the functions in the RSA module that accept a `hashlen` parameter used to
452 the hash algorithm used when signing a hash. (The requirements when signing
[all …]

12345678