Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 10 of 10) sorted by relevance

/mbedtls/library/
A Dmemory_buffer_alloc.c210 if (heap.buf == NULL || heap.first == NULL) { in buffer_alloc_calloc()
276 if (heap.total_used > heap.maximum_used) { in buffer_alloc_calloc()
277 heap.maximum_used = heap.total_used; in buffer_alloc_calloc()
340 if (heap.total_used > heap.maximum_used) { in buffer_alloc_calloc()
341 heap.maximum_used = heap.total_used; in buffer_alloc_calloc()
369 if (p < heap.buf || p >= heap.buf + heap.len) { in buffer_alloc_free()
593 heap.first_free = heap.first; in mbedtls_memory_buffer_alloc_init()
624 heap.first != heap.first_free || in check_all_free()
625 (void *) heap.first != (void *) heap.buf) { in check_all_free()
669 end = heap.buf + heap.len; in mbedtls_memory_buffer_alloc_self_test()
[all …]
/mbedtls/scripts/
A Dmassif_max.pl24 my ($heap, $heap_extra, $stack) = m{
29 next unless defined $heap;
30 my $total = $heap + $heap_extra + $stack;
32 ($max, $max_heap, $max_he, $max_stack) = ($total, $heap, $heap_extra, $stack);
/mbedtls/tests/suites/
A Dtest_suite_memory_buffer_alloc.data19 Memory buffer: heap too small (header verification should fail)
A Dtest_suite_asn1write.function287 * a small-heap environment. The boundary is somewhat arbitrary. */
A Dtest_suite_psa_crypto.function1678 * accommodate large keys due to heap size constraints */
/mbedtls/
A DChangeLog234 * Use heap memory to allocate DER encoded public/private key.
276 the buffer, causing a heap buffer overflow.
561 * Use heap memory to allocate DER encoded RSA private key.
898 * Fix potential heap buffer overread and overwrite in DTLS if
1125 could thus potentially leak the key through freed heap.
4196 * Fix potential heap corruption on Windows when
4569 speed and RAM (heap only for now) usage.
5500 * Fixed potential heap corruption in x509_name allocation
5526 * Potential heap buffer overflow on large hostname setting
5587 * Fixed potential heap corruption in x509_name allocation
[all …]
/mbedtls/docs/architecture/
A Dalternative-implementations.md54 … a language with automatic memory management that can move objects on the heap.) That is, call seq…
A Dpsa-shared-memory.md134 … be copied into or out of a buffer in memory owned by the crypto service (heap or stack). This add…
525 Given that the majority of functions will be allocating memory on the heap to copy, it is helpful t…
527 In order to keep track of allocated copies on the heap, we can create new structs:
/mbedtls/3rdparty/p256-m/p256-m/
A DREADME.md151 p256-m doesn't use any dynamic memory (on the heap), only the stack. Here's
216 TinyCrypto also uses no heap, only the stack. Here's the RAM used by each
/mbedtls/docs/
A Dpsa-transition.md100 Note that a key consumes a key store entry, which is distinct from heap memory, until it is destroy…

Completed in 32 milliseconds