Home
last modified time | relevance | path

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

12

/mbedtls-3.6.0/library/
Dssl_misc.h490 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument
492 return (cur > end) || (need > (size_t) (end - cur)); in mbedtls_ssl_chk_buf_ptr()
498 size_t need; member
502 const uint8_t *cur, const uint8_t *end, size_t need);
509 const uint8_t *end, size_t need) in mbedtls_ssl_chk_buf_ptr() argument
511 if ((cur > end) || (need > (size_t) (end - cur))) { in mbedtls_ssl_chk_buf_ptr()
512 mbedtls_ssl_set_chk_buf_ptr_fail_args(cur, end, need); in mbedtls_ssl_chk_buf_ptr()
529 #define MBEDTLS_SSL_CHK_BUF_PTR(cur, end, need) \ argument
531 if (mbedtls_ssl_chk_buf_ptr((cur), (end), (need)) != 0) \
551 #define MBEDTLS_SSL_CHK_BUF_READ_PTR(cur, end, need) \ argument
[all …]
/mbedtls-3.6.0/
DREADME.md47 You need the following tools to build the library with the provided makefiles:
68 …Depending on your Python installation, you may need to invoke `python` instead of `python3`. To in…
85 …to allow users to more easily move between different platforms. Users who need more features are r…
95 The tests need Python to be built and Perl to be run. If you don't have one of them installed, you …
111 In case you find that you need to do something else as well, please let us know what, so we can add…
125 The test suites need Python to be built and Perl to be executed. If you don't have one of these ins…
159 These variables need to be adjusted when invoking cmake for the first time,
164 If you already invoked cmake and want to change those settings, you need to
175 If you want to change `CC` or `CFLAGS` afterwards, you will need to remove the
226 …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…
/mbedtls-3.6.0/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 …]
Dpsa-thread-safety.md51 We need to define clear policies so that driver implementers know what to expect. Here are two poss…
79 …is is a security requirement. We do not have this requirement yet, but we need to document this as…
183 …at determines the key type from the data that it parses. So we should not need to hold the global …
242 Note that operation functions do need to take the lock, since they need to prevent the destruction …
282 …mutexes (concurrency number >2)! Even a per-slot mutex isn't enough (we'd need a reader-writer loc…
/mbedtls-3.6.0/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 …]
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
Ddriver-only-builds.md21 TLS use PSA Crypto. You need to enable this if you're using PK, X.509 or TLS
44 In addition to these compile-time considerations, at runtime you'll need to
88 You need to call `psa_crypto_init()` before any crypto operation that uses
/mbedtls-3.6.0/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.
/mbedtls-3.6.0/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…
Dpsa-conditional-inclusion-c.md94 …ions.) Applications should always request support for all operations they need, rather than rely o…
120 In addition to the [configuration symbols](#psa-crypto-configuration-symbols), we need two parallel…
143 …SE_PSA_CRYPTO` and conditional compilation guards in tests and sample programs need `PSA_WANT_xxx`.
235 …orted in an opaque driver, what does the core need to know about it? Do we have all the informatio…
/mbedtls-3.6.0/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…
/mbedtls-3.6.0/scripts/
Ddriver.requirements.txt11 # Note that Jinja 3.0 drops support for Python 3.5, so we need to support
/mbedtls-3.6.0/docs/architecture/psa-migration/
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
Dmd-cipher-dispatch.md100 … and needing to know the hash length in PKCS1v1.5 sign/verify), …). These need to keep working whe…
168 We need a way to decide this based on the available information:
175 And we need to take care of the [the cases where PSA is not possible](#why-psa-is-not-always-possib…
246 We now need to create an abstraction for mixed-domain hash calculation. (We could not create an abs…
301 … null pointers as `mbedtls_md_context_t *`. At least some functions still need to support null poi…
470 …ules access to HMAC accelerated directly by a PSA driver (eliminating the need to a HMAC interface…
479 * Implementers of `MBEDTLS_PSA_CRYPTO_CLIENT` will need to provide `psa_can_do_hash()` (or a more g…
/mbedtls-3.6.0/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
Dtest_suite_psa_its.function7 * Note that if you need to make a change that affects how files are
44 * need to and should not be taken into account for uid_max. */
Dtest_suite_bignum_mod_raw.function35 /* nx_32_int is the number of 32 bit limbs, if we have 64 bit limbs we need
485 mbedtls_mpi N_mpi; /* gets set up manually, aliasing N, so no need to free */
541 // R2 doesn't need to be freed as it is only aliasing R2_mpi
542 // N_mpi doesn't need to be freed as it is only aliasing N
/mbedtls-3.6.0/programs/ssl/
DCMakeLists.txt26 # inside the same directory, so we need to propagate manually.
/mbedtls-3.6.0/3rdparty/p256-m/p256-m/
DREADME.md345 represented by `x * 2^256 mod m`; integers need to be converted to that domain
472 support multiple sizes there is no need to add a new parameter to functions
496 - If multiple curves are to be supported, all function in this layer need to
501 representation of `n` and scalars would need adapting to allow for an extra
516 - For multiple curves, all functions in this layer would need to gain a "curve

12