Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/secure_fw/partitions/crypto/
Dcrypto_init.c107 } scratch = {.buf = {0}, .alloc_index = 0}; variable
111 scratch.owner = id; in tfm_crypto_set_scratch_owner()
117 *id = scratch.owner; in tfm_crypto_get_scratch_owner()
126 if (requested_size > (sizeof(scratch.buf) - scratch.alloc_index)) { in tfm_crypto_alloc_scratch()
131 *buf = (void *)&scratch.buf[scratch.alloc_index]; in tfm_crypto_alloc_scratch()
134 scratch.alloc_index += requested_size; in tfm_crypto_alloc_scratch()
141 scratch.owner = 0; in tfm_crypto_clear_scratch()
142 (void)memset(scratch.buf, 0, scratch.alloc_index); in tfm_crypto_clear_scratch()
143 scratch.alloc_index = 0; in tfm_crypto_clear_scratch()
DKconfig62 int "Default size of the internal scratch buffer"
65 Default size of the internal scratch buffer used for PSA FF IOVec
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/scripts/
DTFM_UPDATE.sh34 scratch=
/trusted-firmware-m-3.4.0/platform/ext/target/lairdconnectivity/common/bl5340/
Dconfig.cmake14 set(MCUBOOT_UPGRADE_STRATEGY "SWAP_USING_SCRATCH" CACHE STRING "Enable using scratch
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/
Dtfm_secure_partition_runtime_library.rst223 A system-provided scratch area is a precondition for implementing APIs that need
254 /* Get current SP private data from scratch area */
288 and TF-M SPM would switch the activated metadata into the scratch area. Finally,
348 from the Secure Partition scratch area. The implementation can be:
Dtfm_crypto_design.rst170 … | | temporarily in an internal scratch buffer whose size…
Dtfm_secure_boot.rst133 physically swapped. This needs the scratch area to be defined in the memory
350 with a scratch area in flash
352 without a scratch area in flash
/trusted-firmware-m-3.4.0/docs/integration_guide/platform/
Dplatform_ext_folder.rst194 address where the scratch area starts, which is used during image swapping.
195 - ``FLASH_AREA_SCRATCH_SIZE`` - Defines the size of the scratch area. The