Home
last modified time | relevance | path

Searched refs:need (Results 1 – 25 of 65) sorted by relevance

123

/openthread-latest/third_party/mbedtls/repo/framework/
DREADME.md5 You need this repository as a Git submodule in a branch of one of the above repositories if:
10 You do not need this repository if:
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_misc.h504 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument
506 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr()
512 size_t need; member
516 const uint8_t *cur, const uint8_t *end, size_t need);
523 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument
525 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr()
526 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr()
543 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument
545 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \
565 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument
[all …]
/openthread-latest/tests/unit/
DREADME.md41 …it test case and have made some changes in the test source file, you will need rebuild the test be…
50 If any changes or fixes were made to the OpenThread code, then you'll need to rebuild the entire pr…
/openthread-latest/third_party/mbedtls/repo/
DREADME.md47 You need the following tools to build the library with the provided makefiles:
72 …Depending on your Python installation, you may need to invoke `python` instead of `python3`. To in…
89 …to allow users to more easily move between different platforms. Users who need more features are r…
99 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
115 In case you find that you need to do something else as well, please let us know what, so we can add…
129 The test suites need Python to be built and Perl to be executed. If you don't have one of these ins…
163 These variables need to be adjusted when invoking cmake for the first time,
168 If you already invoked cmake and want to change those settings, you need to
179 If you want to change `CC` or `CFLAGS` afterwards, you will need to remove the
230 …the programs. The files in tests are not generated and compiled, as these need Python and perl env…
[all …]
D.pylintrc28 # Some functions don't need docstrings.
48 # locally, it's by design. There's no need to clutter the Pylint output
DSECURITY.md84 a user application's threat model, they need to be mitigated by the platform.
93 application's threat model, they need to be mitigated by the platform.
103 model, they need to be mitigated by physical countermeasures.
DCONTRIBUTING.md3 … community. All PRs are reviewed by the project team / community, and may need some modifications …
27 …R) and work with us until it gets merged and published. Contributions may need some modifications,…
35 …or API, even on the main development branch where new features are added, need to be justifiable b…
37 …existing interface are necessary, functions in the public interface which need to be changed are m…
/openthread-latest/third_party/mbedtls/repo/programs/fuzz/
DREADME.md26 To run the fuzz targets without oss-fuzz, you first need to install one libFuzzingEngine (libFuzzer…
27 Then you need to compile the code with the compiler flags of the wished sanitizer.
/openthread-latest/third_party/mbedtls/repo/scripts/
Ddriver.requirements.txt11 # Note that Jinja 3.0 drops support for Python 3.5, so we need to support
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dalternative-implementations.md10 …x/Linux/POSIX-like systems and on Windows. On embedded platforms, you may need to customize some a…
47need to be at the same position in the structure. Furthermore, unless otherwise indicated, only re…
64 …ot remain valid across function calls. Alternative implementations do not need to support copying …
78 … built-in implementation. If you want to use different context types, you need to [provide an alte…
Dpsa-storage-resilience.md40 …-underlying-file-storage). We do not need to take any special precautions in the library design, a…
121 … if there was, it would not be practical). Therefore the transaction will need to modify some othe…
133 When the core starts, it needs to know about transaction(s) that need to be resumed. This informati…
157 …ction. It simplifies recovery in that the recovery process might not even need to know whether it'…
161 …attributes"` entry point, the driver design is easier: the driver doesn't need to protect the info…
180 For key destruction, we need to preserve the key file until after the key has been destroyed. There…
196 For key creation, we do not need to store the key's metadata until it has been created in the secur…
219 … the key exists in the secure element, then the transaction list does not need to include the driv…
221 For key creation, we need to store the key's metadata before creating in the secure element. Theref…
229 For key destruction, we need to contact the secure element before removing the key file. Therefore …
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-wrappers-codegen-migration-guide.md33 …yet to come in, if the library user sees a need to patch psa_crypto_driver_wrappers.h file, the us…
Dpsa-driver-developer-guide.md26need to implement some functions with C linkage, and to declare these functions in a **driver desc…
/openthread-latest/third_party/mbedtls/repo/docs/
D3.0-migration-guide.md6 need to change their own code in order to make it work with Mbed TLS 3.0.
70 …cture fields directly, and these fields are not documented as public, you need to change your code…
82 If you were relying on these functions, you'll now need to change to using your
194 - The functions `mbedtls_xxx_process()` were removed. You normally don't need
216 you will need to add `#define MBEDTLS_SHA224_C` option to your config.
229 `MBEDTLS_SHA512_NO_SHA384` and you need the SHA-384 algorithm, then add
266 …ications. If your code takes a pointer to one of these functions, you may need to change the type …
370 you were using the PKCS#1 v2.1 encoding you now need, subsequently to the call
474 those functions. In this case, you'll need to update the type of your pointers
488 You now need to pass a properly seeded, cryptographically secure RNG to all
[all …]
Ddriver-only-builds.md22 TLS use PSA Crypto. You need to enable this if you're using PK, X.509 or TLS
46 In addition to these compile-time considerations, at runtime you'll need to
97 You need to call `psa_crypto_init()` before any crypto operation that uses
360 will need to be built-in.
362 used with it will need to be built-in.
365 need to be disabled, or have reduced features when the built-in implementations
398 PSA API, you need to enable `PSA_KEY_TYPE_CHACHA20` for both, plus
Duse-psa-crypto.md14 **Application code:** when this option is enabled, you need to call
37 exceptions). When it is enabled, you need to call `psa_crypto_init()` before
49 You need to enable `MBEDTLS_USE_PSA_CRYPTO` if you want TLS 1.3 to use PSA
Dpsa-transition.md13 This document is long, but you probably don't need to read all of it. You should start with the fol…
59 Applications only need to include a single header file:
70 …internal random generator. As a consequence, you do not need to instantiate one manually (no need
80 Apart from keys, as described in “[Key management](#key-management)” below, APIs that need to prese…
98need access to the key material, call [`psa_export_key`](https://mbed-tls.readthedocs.io/projects/…
221 …yptographic mechanism both through the legacy API and through the PSA API need to explicitly enabl…
260 Note that the PSA API does include features that reduce the need for `mbedtls_ct_memcmp`:
289 * Other padding modes, which are obsolete, are not available in the PSA API. If you need them, hand…
341 … create a key object first. However, for a one-shot operation, you do not need an operation object…
347 …__attributes/#group__attributes_1ga0ec645e1fdafe59d591104451ebf5680). You need to set the followin…
[all …]
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Dinvasive-testing.md83 We need to balance the following goals, which are sometimes contradictory.
85 * Coverage: we need to test behaviors which are not easy to trigger by using the API or which canno…
111 We also need to test resilience: if the system is reset during an operation, does it restart in a c…
143 …ze, the attack surface, and the testing burden (exponentially, because we need to test all these i…
178 Another limitation is that internal interfaces need to be used correctly. We may accidentally rely …
194 If we guarantee certain properties through static analysis, we don't need to test them. This puts s…
196 * We need to have confidence in the specification (but we can gain this confidence by evaluating th…
254 * Writing reliable debugger scripts is hard. We need to have confidence that we're testing what we …
264 | Portability | !! Not all environments have a debugger, and even if they do, we'd need completely …
366 …t only when running without isolation. To corrupt the key store, we would need to add a function t…
Ddriver-interface-test-strategy.md15 Drivers exposing this interface need to be registered at compile time by declaring their JSON descr…
45 …n each driver and check that the expected driver is called. This does not need to be done for all …
67 Key creation functions invoke multiple methods and need more complex error handling:
89 * Two things need to be tested: the key that is being created or destroyed, and the driver's persis…
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
DCMakeLists.txt25 # inside the same directory, so we need to propagate manually.
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dpsa-legacy-bridges.md16 * [ACTION] A finalized part of the design that will need to be carried out.
69 …plications that use high-level legacy crypto modules (md, cipher, pk) and need to combine that wit…
84 Do we need public functions to convert between `MBEDTLS_ERR_xxx` error codes and `PSA_ERROR_xxx` er…
86 …A_ERROR_xxx` is not particularly helpful for that. Application code might need such conversion fun…
88 Conclusion: no need for public error code conversion functions.
127 … the most part) limits them to one algorithm, there does not seem to be a need to convert between …
137 …ting application referring to `MBEDTLS_DHM_RFC7919_FFDHExxx` values would need to refer to `PSA_DH…
172 It therefore appears that we need two ways to “convert” a PSA key to PK:
188 Gap: We need APIs to convert between these two formats. The conversion code already exists under th…
194 … a BITSTRING, not directly in a SEQUENCE). So there does not seem to be a need for an ASN.1-like A…
[all …]
Dmd-cipher-dispatch.md100 … and needing to know the hash length in PKCS1v1.5 sign/verify), …). These need to keep working whe…
224 We need a way to decide this based on the available information:
231 And we need to take care of the [the cases where PSA is not possible](#why-psa-is-not-always-possib…
302 We now need to create an abstraction for mixed-domain hash calculation. (We could not create an abs…
328need to support driver-only hashes and ciphers in PK. X.509 and TLS without `MBEDTLS_USE_PSA_CRYPT…
357 …lan to extend it to other block ciphers at the moment), while GCM and CCM need to work with 3 bloc…
358 …hey only care about getting random numbers - in fact PSA users don't even need to know what DRBG i…
362 - GCM and CCM need an common abstraction layer that allows:
369 - No need to design, implement and test a new module. (Will need to test the new subset though, as …
370 - No code change in GCM and CCM - only need to update dependencies.
[all …]
Dstrategy.md48 - When `MBEDTLS_PSA_CRYPTO_C` is enabled and used, applications need to call
96 platforms. There are two kinds of things we'd need to do if we want to work
141 - Upside: changes contained to a single place, no need to change TLS or X.509
158 they will need to keep existing in some way. (Also, the PK layer is a good
299 need to be replaced; see <https://github.com/Mbed-TLS/mbedtls/issues/6839> and
412 layers compared to the existing (no need to dispatch through function
422 reducing the cost, and judgment calls may need to be made.
468 would need a way to easily extract the PSA key ID from the PK context.
484 cases use the low level crypto APIs; we would need to either keep using that
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_bignum_core.function202 /* nx_32_int is the number of 32 bit limbs, if we have 64 bit limbs we need
258 /* nx_32_int is the number of 32 bit limbs, if we have 64 bit limbs we need
354 /* We need two same-length limb arrays */
640 /* Get the number of limbs we will need */
739 /* We only need to work with X4 or X8, and cy4 or cy8, depending on sizeof(mbedtls_mpi_uint) */
753 /* Get the (max) number of limbs we will need */
1038 * We need to set these in every loop as we need to make the loop
1251 // R2 doesn't need to be freed as it is only aliasing R2_mpi
/openthread-latest/
DCONTRIBUTING.md56 …nerally only need to submit a CLA once, so if you've already submitted one (even if it was for a d…
130 …select your development branch, and click the pull request button. If you need to make any adjustm…

123