PSA PAKE: define size macros as 0

Define the size macros to 0 rather than empty. That will lead to fewer
weird errors when we start implementing.

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2021-05-26 09:27:03 +01:00
parent 79e1c47a54
commit 5e1948d2a3

View file

@ -1152,7 +1152,7 @@
* the output type or PAKE algorithm is not recognized, or
* the parameters are incompatible, return 0.
*/
#define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step)
#define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) 0
/** Output buffer size for psa_pake_output() for any of the supported cipher
* suites and PAKE algorithms.
@ -1161,6 +1161,6 @@
*
* See also #PSA_PAKE_OUTPUT_SIZE(\p alg, \p cipher_suite, \p output).
*/
#define PSA_PAKE_OUTPUT_MAX_SIZE
#define PSA_PAKE_OUTPUT_MAX_SIZE 0
#endif /* PSA_CRYPTO_SIZES_H */