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:
parent
79e1c47a54
commit
5e1948d2a3
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue