Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 33) sorted by relevance

12

/openthread-3.7.0/third_party/mbedtls/repo/tests/include/test/
Dmacros.h124 #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/
Downed_ptr.hpp142 Type *pointer = mPointer; in Release() local
144 return pointer; in Release()
Dretain_ptr.hpp134 Type *pointer = mPointer; in Release() local
136 return pointer; in Release()
/openthread-3.7.0/third_party/mbedtls/repo/programs/test/
Dselftest.c382 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/
Dtest_suite_platform.function129 /* Dummy usage of the pointer to prevent optimizing it */
130 mbedtls_printf("calloc pointer : %p\n", buf);
Dhost_test.function75 * \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");
Dtest_suite_net.function69 * bug might trigger an invalid pointer dereference or a memory leak. */
Dmain_test.function120 * \brief Function pointer type for test function wrappers.
Dtest_suite_alignment.function58 * reading back with a normal pointer access. */
Dtest_suite_entropy.function162 * bug might trigger an invalid pointer dereference or a memory leak. */
Dtest_suite_asn1parse.data610 Free named data: null pointer
/openthread-3.7.0/third_party/mbedtls/repo/
D.uncrustify.cfg127 # At least 1 space before a '*' pointer star
130 # Remove spaces between pointer stars
133 # No space after a pointer star
DCMakeLists.txt225 …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…
DChangeLog225 * 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 …]
DREADME.md267 - All-bits-zero must be a valid representation of a null pointer.
/openthread-3.7.0/third_party/mbedtls/repo/docs/architecture/
Dtls13-support.md255 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:
Dpsa-shared-memory.md542 …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
Dalternative-implementations.md64 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/
Ddriver-interface-test-strategy.md43 …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…
Dinvasive-testing.md69 …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/
D3.0-migration-guide.md98 - 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/
Dpsa-driver-interface.md213 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.
685pointer 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/
DSTYLE_GUIDE.md89 …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/
Dmd-cipher-dispatch.md448 …ain either a legacy module's context (or a pointer to one, as is the case now), or a PSA context (…
450pointer 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/
Dpsa-thread-safety.md331 …For example, if the operation context has a pointer (depending on the compiler and the platform, t…

12