Home
last modified time | relevance | path

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

/mbedtls-development/tests/include/test/
A Dmacros.h112 #define ASSERT_ALLOC( pointer, length ) \ argument
115 TEST_ASSERT( ( pointer ) == NULL ); \
118 ( pointer ) = mbedtls_calloc( sizeof( *( pointer ) ), \
120 TEST_ASSERT( ( pointer ) != NULL ); \
130 #define ASSERT_ALLOC_WEAK( pointer, length ) \ argument
133 TEST_ASSERT( ( pointer ) == NULL ); \
136 ( pointer ) = mbedtls_calloc( sizeof( *( pointer ) ), \
138 TEST_ASSUME( ( pointer ) != NULL ); \
/mbedtls-development/programs/test/
A Dselftest.c349 void *pointer; in main() local
356 memset( &pointer, 0, sizeof( void * ) ); in main()
357 if( pointer != NULL ) in main()
/mbedtls-development/tests/suites/
A Dhost_test.function102 * \brief Read a line from the passed file pointer.
104 * \param f FILE pointer
430 * \param info A pointer to the test info structure.
524 void *pointer;
543 * of a NULL pointer. We do however use that in our code for initializing
546 memset( &pointer, 0, sizeof( void * ) );
547 if( pointer != NULL )
549 mbedtls_fprintf( stderr, "all-bits-zero is not a NULL pointer\n" );
A Dtest_suite_net.function69 * bug might trigger an invalid pointer dereference or a memory leak. */
A Dmain_test.function122 * \brief Function pointer type for test function wrappers.
A Dtest_suite_entropy.function154 * bug might trigger an invalid pointer dereference or a memory leak. */
A Dtest_suite_asn1parse.data610 Free named data: null pointer
A Dtest_suite_psa_crypto.function5557 /* If the label is empty, the test framework puts a non-null pointer
5558 * in label->x. Test that a null pointer works as well. */
5705 /* If the label is empty, the test framework puts a non-null pointer
5706 * in label->x. Test that a null pointer works as well. */
5768 /* If the label is empty, the test framework puts a non-null pointer
5769 * in label->x. Test that a null pointer works as well. */
A Dtest_suite_pk.function218 /* In informational functions, we accept NULL where a context pointer
A Dtest_suite_rsa.function74 * bug might trigger an invalid pointer dereference or a memory leak. */
A Dtest_suite_ssl.function2176 /* In order to always have a valid pointer we always allocate at least 1
2191 /* In order to always have a valid pointer we always allocate at least 1
/mbedtls-development/docs/architecture/
A Dtls13-experimental.md62 - Reader (Abstracted pointer arithmetic and reassembly logic for incoming data)
63 - Writer (Abstracted pointer arithmetic and fragmentation logic for outgoing data)
325 pointer in functions parsing TLS 1.3 data, and for the writing pointer in
360 - When declaring a pointer the dereferencing operator should be prepended to
361 the pointer name not appended to the pointer type:
A Dalternative-implementations.md64 In practice, this means that a pointer to a context or to a part of a context does not remain valid…
/mbedtls-development/
A DCMakeLists.txt194 …n -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib…
205 …n -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib…
207 …set(CMAKE_C_FLAGS_MEMSANDBG "-fsanitize=memory -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sib…
A DChangeLog54 mbedtls_sha256_finish and mbedtls_sha256 now has a pointer type
920 * Avoid NULL pointer dereferencing if mbedtls_ssl_free() is called with a
921 NULL pointer argument. Contributed by Sander Visser in #3312.
2696 * Fix bug in mbedtls_rsa_rsaes_pkcs1_v15_encrypt that made null pointer
2708 the need to pass -fomit-frame-pointer to avoid a build error with -O0.
2962 pointer, parameters reordered).
3190 * Fix remotely-triggerable uninitialised pointer dereference caused by
3515 * ssl_init() was leaving a dirty pointer in ssl_context if malloc of
3660 * Internals for SSL module adapted to have separate IV pointer that is
3713 * Fix remotely-triggerable uninitialised pointer dereference caused by
[all …]
/mbedtls-development/docs/
A D3.0-migration-guide.md77 - In some functions that require a valid pointer, “parameter validation” checks
78 that the pointer is non-null. With the feature disabled, a null pointer is not
79 treated differently from any other invalid pointer, and typically leads to a
243 …edtls_sha256()`, `mbedtls_sha512_finish()`, `mbedtls_sha512()` now has a pointer type rather than …
245 … applications. If your code takes a pointer to one of these functions, you may need to change the …
462 pass `NULL` as the context pointer `p_rng` if your RNG function doesn't need a
/mbedtls-development/docs/architecture/testing/
A 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…
A 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…
/mbedtls-development/docs/proposed/
A Dpsa-driver-interface.md207 Buffers of size 0 may be represented with either a null pointer or a non-null pointer.
612 …of bytes that the driver needs in a key context for a key. This may be a pointer to function. This…
792pointer to the first byte of the persistent state. This pointer remains valid during a call to a d…

Completed in 41 milliseconds