PSA_PAKE_INPUT_SIZE macro
A sufficient input buffer size for psa_pake_input(). The value returned by this macro is guaranteed to be large enough for any valid input to psa_pake_input() in an operation with the specified parameters. See also #PSA_PAKE_INPUT_MAX_SIZE
Arguments
alg
A PAKE algorithm (\c PSA_ALG_XXX value such that #PSA_ALG_IS_PAKE(\p alg) is true).
primitive
A primitive of type ::psa_pake_primitive_t that is compatible with algorithm \p alg.
input_step
A value of type ::psa_pake_step_t that is valid for the algorithm \p alg.
Return value
A sufficient input buffer size for the specified input, cipher suite and algorithm. If the cipher suite, the input type or PAKE algorithm is not recognized, or the parameters are incompatible, return 0.