Syntax
#define LOCAL_INPUT_ALLOC(input, length, input_copy) \
status = psa_crypto_local_input_alloc(input, length, \
&LOCAL_INPUT_COPY_OF_##input); \
if (status != PSA_SUCCESS) { \
goto exit; \
} \
input_copy = LOCAL_INPUT_COPY_OF_##input.buffer;
![]()
#define LOCAL_INPUT_ALLOC(input, length, input_copy) \![]()
LOCAL_INPUT_ALLOC(iv_external, iv_length, iv);![]()
LOCAL_INPUT_ALLOC(user_id_external, user_id_len, user_id);![]()
LOCAL_INPUT_ALLOC(peer_id_external, peer_id_len, peer_id);![]()
LOCAL_INPUT_ALLOC(input_external, input_length, input);