From 5e1948d2a311a64254265431a4ab8d10024b7941 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Wed, 26 May 2021 09:27:03 +0100 Subject: [PATCH] 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 --- include/psa/crypto_sizes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_sizes.h b/include/psa/crypto_sizes.h index a603c9d29..a1b89446e 100644 --- a/include/psa/crypto_sizes.h +++ b/include/psa/crypto_sizes.h @@ -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 */