psa/client.h describes and defines PSA_MAX_IOVEC as follows:
/** * Maximum number of input and output vectors for a request to psa_call(). */ #define PSA_MAX_IOVEC (4u)
Just to be sure: This means that psa_call can only pass 4 input- and output vectors in a psa_call(), or?
(E.g. 2 input-vectors and 2 outputs or 3 inputs and 1 output. And if we have more inputs and outputs they need to be serialized.)
(psa_call() is used to call a service in a secure partition from the non-secure world.)