Home
last modified time | relevance | path

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

12

/mbedtls-latest/tests/suites/
Dtest_suite_net.data1 Context init-free-free
4 Context init-free-init-free
Dtest_suite_psa_crypto_memory.data37 PSA crypto local input free
40 PSA crypto local input free, NULL buffer
52 PSA crypto local output free
55 PSA crypto local output free, NULL buffer
58 PSA crypto local output free, NULL original buffer
Dtest_suite_memory_buffer_alloc.data4 Memory buffer alloc - free in middle, alloc at end
7 Memory buffer alloc - free in middle, realloc
10 Memory buffer alloc - free in middle, merge, realloc
13 Memory buffer alloc - free at end, merge, realloc
Dtest_suite_entropy.data1 Entropy init-free-free
4 Entropy init-free-init-free
Dtest_suite_chacha20.function54 /* Don't free/init the context nor set the key again,
Dtest_suite_poly1305.function46 /* Don't free/init the context, in order to test that starts() does the
Dtest_suite_block_cipher.function49 /* free() before successful setup()
Dtest_suite_rsa.data4 RSA init-free-free
7 RSA init-free-init-free
Dtest_suite_entropy.function54 * This might break memory checks in the future if sources need 'free-ing' then
156 /* Double free is not explicitly documented to work, but it is convenient
/mbedtls-latest/docs/architecture/
Dpsa-keystore-design.md27 The following operations free a key slot by calling `psa_wipe_key_slot()` and, if applicable, `psa_…
30 …g** a persistent key from memory, either explicitly at the application's request or to free memory.
81 …mpacted (compacting would be moving slots out of a sparsely-used slice to free it). Better concurr…
106 …sistent key cache”](#persistent-key-cache)), and purges it. If no slot is free and no slot contain…
125 … Later improvements to memory consumption are likely to involve calls to `free()` which may total …
161free list**. This is a linked list of all the slots in the slice that are free. The global data co…
163free slot does not actually contain the index of the next slot, but the index of the next free slo…
167 To create a volatile key, `psa_reserve_free_key_slot()` searches the free lists of each allocated s…
169 The newly allocated slot is removed from the slice's free list.
175 … calls `psa_free_key_slot()`. This function adds the newly freed slot to the head of the free list.
[all …]
/mbedtls-latest/tests/src/
Dthreading_helpers.c140 void (*free)(mbedtls_threading_mutex_t *); member
240 mutex_functions.free(mutex); in mbedtls_test_wrap_mutex_free()
307 mutex_functions.free = mbedtls_mutex_free; in mbedtls_test_mutex_usage_init()
345 mbedtls_mutex_free = mutex_functions.free; in mbedtls_test_mutex_usage_end()
349 mutex_functions.free(&mbedtls_test_mutex_mutex); in mbedtls_test_mutex_usage_end()
/mbedtls-latest/
DLICENSE76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
227 License is intended to guarantee your freedom to share and change free
228 software--to make sure the software is free for all its users. This
235 When we speak of free software, we are referring to freedom, not
237 have the freedom to distribute copies of free software (and charge for
240 in new free programs; and that you know you can do these things.
258 that everyone understands that there is no warranty for this free
264 Finally, any free program is threatened constantly by software
265 patents. We wish to avoid the danger that redistributors of a free
[all …]
/mbedtls-latest/programs/fuzz/
Donefile.c58 free(Data); in main()
65 free(Data); in main()
/mbedtls-latest/programs/util/
Dpem2der.c131 free(*buf); in load_file()
261 free(pem_buffer); in main()
/mbedtls-latest/include/mbedtls/
Dplatform.h87 #define MBEDTLS_PLATFORM_STD_FREE free /**< The default \c free function to use. */
166 #define mbedtls_free free
/mbedtls-latest/library/
Dssl_cache.c346 goto free; in mbedtls_ssl_cache_remove()
355 free: in mbedtls_ssl_cache_remove()
Dpsa_crypto_slot_management.c528 size_t next_free = slot_idx + 1 + slot->var.free.next_free_relative_to_next; in psa_allocate_volatile_key_slot()
535 slot->var.free.next_free_relative_to_next = 0; in psa_allocate_volatile_key_slot()
588 slot->var.free.next_free_relative_to_next = in psa_free_key_slot()
Dpsa_crypto_core.h121 } free; member
/mbedtls-latest/3rdparty/everest/include/everest/kremlin/internal/
Dtarget.h44 # define KRML_HOST_FREE free
/mbedtls-latest/programs/psa/
Dkey_ladder_demo.c429 free(buffer); in wrap_data()
520 free(buffer); in unwrap_data()
/mbedtls-latest/tests/scripts/
Dcomponents-configuration-platform.sh47 scripts/config.py set MBEDTLS_PLATFORM_FREE_MACRO free
/mbedtls-latest/programs/ssl/
Dssl_context_info.c996 free(b64_buf); in main()
997 free(ssl_buf); in main()
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c1957 free(msg_buf_1); in mbedtls_test_ssl_exchange_data()
1958 free(in_buf_1); in mbedtls_test_ssl_exchange_data()
1959 free(msg_buf_2); in mbedtls_test_ssl_exchange_data()
1960 free(in_buf_2); in mbedtls_test_ssl_exchange_data()
/mbedtls-latest/docs/
Dpsa-transition.md68 If you wish to free all resources associated with PSA cryptography, call [`mbedtls_psa_crypto_free`…
357 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
367 5. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
394 7. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
512 5. Finally free the resources associated with the operation object by calling `mbedtls_md_free`.
545 4. To free the resources used by the key object, call [`psa_destroy_key`](https://mbed-tls.readthed…
555 5. Finally free the resources associated with the operation object by calling `mbedtls_md_free`.
563 5. Finally free the resources associated with the operation object by calling `mbedtls_cipher_free`.
607 …erivation/#group__key__derivation_1ga90fdd2716124d0bd258826184824675f) to free the resources assoc…
622 …erivation/#group__key__derivation_1ga90fdd2716124d0bd258826184824675f) to free the resources assoc…
[all …]
/mbedtls-latest/docs/architecture/testing/
Dinvasive-testing.md244 … | + Many properties come for free, but some require effort (e.g. the test code itself mu…
288 …tself. Use the cleanup code (after the `exit` label in test functions) to free any memory that the…

12