/openthread-3.7.0/third_party/mbedtls/repo/tests/include/test/ |
D | macros.h | 124 #define TEST_CALLOC(pointer, item_count) \ 126 TEST_ASSERT((pointer) == NULL); \ 128 (pointer) = mbedtls_calloc((item_count), \ 129 sizeof(*(pointer))); \ 130 TEST_ASSERT((pointer) != NULL); \ 155 #define TEST_CALLOC_NONNULL(pointer, item_count) \ 157 TEST_ASSERT((pointer) == NULL); \ 158 (pointer) = mbedtls_calloc((item_count), \ 159 sizeof(*(pointer))); \ 160 if (((pointer) == NULL) && ((item_count) == 0)) { \ [all …]
|
/openthread-3.7.0/src/core/common/ |
D | owned_ptr.hpp | 142 Type *pointer = mPointer; in Release() local 144 return pointer; in Release()
|
D | retain_ptr.hpp | 134 Type *pointer = mPointer; in Release() local 136 return pointer; in Release()
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/test/ |
D | selftest.c | 382 void *pointer; in main() local 415 memset(&pointer, 0, sizeof(void *)); in main() 416 if (pointer != NULL) { in main()
|
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_platform.function | 129 /* Dummy usage of the pointer to prevent optimizing it */ 130 mbedtls_printf("calloc pointer : %p\n", buf);
|
D | host_test.function | 75 * \brief Read a line from the passed file pointer. 77 * \param f FILE pointer 509 void *pointer; 528 * of a NULL pointer. We do however use that in our code for initializing 531 memset(&pointer, 0, sizeof(void *)); 532 if (pointer != NULL) { 533 mbedtls_fprintf(stderr, "all-bits-zero is not a NULL pointer\n");
|
D | test_suite_net.function | 69 * bug might trigger an invalid pointer dereference or a memory leak. */
|
D | main_test.function | 120 * \brief Function pointer type for test function wrappers.
|
D | test_suite_alignment.function | 58 * reading back with a normal pointer access. */
|
D | test_suite_entropy.function | 162 * bug might trigger an invalid pointer dereference or a memory leak. */
|
D | test_suite_asn1parse.data | 610 Free named data: null pointer
|
/openthread-3.7.0/third_party/mbedtls/repo/ |
D | .uncrustify.cfg | 127 # At least 1 space before a '*' pointer star 130 # Remove spaces between pointer stars 133 # No space after a pointer star
|
D | CMakeLists.txt | 225 …n -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib… 227 …set(CMAKE_C_FLAGS_TSANDBG "-fsanitize=thread -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib… 238 …n -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib… 240 …set(CMAKE_C_FLAGS_MEMSANDBG "-fsanitize=memory -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib… 242 …set(CMAKE_C_FLAGS_TSANDBG "-fsanitize=thread -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib…
|
D | ChangeLog | 225 * Fix NULL pointer dereference in mbedtls_pk_verify_ext() when called using 958 * Fix a possible null pointer dereference if a memory allocation fails 1037 * Add accessor to get the raw buffer pointer from a PEM context. 1040 data can be either a pointer or an integer. 1193 pointer dereference. Fix this. Fixes #3998. 1231 * Fix a null pointer dereference when performing some operations on zero 1410 * Fix a potential invalid pointer dereference and infinite loop bugs in 1504 mbedtls_sha256_finish and mbedtls_sha256 now has a pointer type 1848 * Fix a null pointer dereference when mbedtls_mpi_exp_mod() was called with 2191 * Remove the zeroization of a pointer variable in AES rounds. It was valid [all …]
|
D | README.md | 267 - All-bits-zero must be a valid representation of a null pointer.
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/ |
D | tls13-support.md | 255 pointer in functions parsing TLS 1.3 data, and for the writing pointer in 290 - When declaring a pointer the dereferencing operator should be prepended to 291 the pointer name not appended to the pointer type:
|
D | psa-shared-memory.md | 542 …ngth is always stored with them. In the case of output copies, we keep a pointer to the original b… 553 …ies the contents across from `input`. It then stores `input_len` and the pointer to the copy in th… 554 …()` on the local input that is referred to by `local_input` and sets the pointer in the struct to … 565 …_len` and stores `output_len` and the pointer to the buffer in the struct `local_output`. It also … 574 …ame)`, which declares and initializes a `psa_crypto_local_input_t` and a pointer with the name `in… 582 …rypto_local_output_t` is in an invalid state (the copy pointer is valid, but the original pointer …
|
D | alternative-implementations.md | 64 In practice, this means that a pointer to a context or to a part of a context does not remain valid…
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/testing/ |
D | driver-interface-test-strategy.md | 43 …t with a driver that does not have the requisite method (i.e. the method pointer is `NULL`) but ha… 44 …ver that does not have the substructure containing that method (i.e. the pointer to the substructu…
|
D | invasive-testing.md | 69 …h cases, the function should generally not modify its parameters, so any pointer argument should b… 71 With `MBEDTLS_TEST_HOOKS` set, `mbedtls_foo` is a global variable of function pointer type. This gl…
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/ |
D | 3.0-migration-guide.md | 98 - In some functions that require a valid pointer, “parameter validation” checks 99 that the pointer is non-null. With the feature disabled, a null pointer is not 100 treated differently from any other invalid pointer, and typically leads to a 264 …edtls_sha256()`, `mbedtls_sha512_finish()`, `mbedtls_sha512()` now has a pointer type rather than … 266 … applications. If your code takes a pointer to one of these functions, you may need to change the … 490 pass `NULL` as the context pointer `p_rng` if your RNG function doesn't need a
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 213 Buffers of size 0 may be represented with either a null pointer or a non-null pointer. 374 …ect. Call `psa_crypto_driver_key_derivation_get_input_key()` to obtain a pointer to the key contex… 399 * The first parameter `inputs` must be a pointer passed by the core to a key derivation driver setu… 403 …o_driver_key_derivation_get_input_key`, the core sets `*key_buffer` to a pointer to a buffer conta… 426 * `inputs` is an opaque pointer to the [initial inputs](#key-derivation-driver-initial-inputs) for … 530 … same key. If the `"memory"` property is false or absent, the `memory` parameter is a null pointer. 665 The first parameter `inputs` must be a pointer passed by the core to a PAKE driver setup entry poin… 681 * `inputs` is an opaque pointer to the [inputs](#pake-driver-inputs) for the PAKE operation. 685 …pointer output by `psa_crypto_driver_pake_get_password_key` is only valid until the "pake_setup" e… 1049 …of bytes that the driver needs in a key context for a key. This may be a pointer to function. This… [all …]
|
/openthread-3.7.0/ |
D | STYLE_GUIDE.md | 89 …over and above a pointer, the reference, indicated by the & symbol. Where appropriate, the referen…
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/psa-migration/ |
D | md-cipher-dispatch.md | 448 …ain either a legacy module's context (or a pointer to one, as is the case now), or a PSA context (… 450 …pointer indirection, but this means that an MD context would always be as large as the largest sup…
|
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/psa-thread-safety/ |
D | psa-thread-safety.md | 331 …For example, if the operation context has a pointer (depending on the compiler and the platform, t…
|