Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/secure_fw/partitions/crypto/
Dcrypto_init.c121 static psa_status_t tfm_crypto_alloc_scratch(size_t requested_size, void **buf) in tfm_crypto_alloc_scratch() argument
124 requested_size = ALIGN(requested_size, TFM_CRYPTO_IOVEC_ALIGNMENT); in tfm_crypto_alloc_scratch()
126 if (requested_size > (sizeof(scratch.buf) - scratch.alloc_index)) { in tfm_crypto_alloc_scratch()
134 scratch.alloc_index += requested_size; in tfm_crypto_alloc_scratch()