Searched refs:requested_size (Results 1 – 1 of 1) sorted by relevance
121 static psa_status_t tfm_crypto_alloc_scratch(size_t requested_size, void **buf) in tfm_crypto_alloc_scratch() argument124 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()