From fb993027261841b6d5cd5cc0895ac1d3f5fae337 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Fri, 20 May 2022 10:08:58 +0200 Subject: [PATCH] Add missing PSA_PAKE_CIPHER_SUITE_INIT Signed-off-by: Neil Armstrong --- include/psa/crypto_extra.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/psa/crypto_extra.h b/include/psa/crypto_extra.h index 76e71bf8c..79a7dc0b3 100644 --- a/include/psa/crypto_extra.h +++ b/include/psa/crypto_extra.h @@ -1731,6 +1731,11 @@ psa_status_t psa_pake_get_implicit_key(psa_pake_operation_t *operation, */ #define PSA_PAKE_INPUT_MAX_SIZE 0 +/** Returns a suitable initializer for a PAKE cipher suite object of type + * psa_pake_cipher_suite_t. + */ +#define PSA_PAKE_CIPHER_SUITE_INIT {PSA_ALG_NONE, 0, 0, 0, PSA_ALG_NONE} + struct psa_pake_cipher_suite_s { psa_algorithm_t algorithm;