Use PSA_ALG_NONE in PSA_PAKE_OPERATION_INIT to init psa_algorithm_t

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-05-25 11:41:05 +02:00
parent 2056ce5111
commit eb93a6f1d8

View file

@ -1852,7 +1852,7 @@ psa_status_t psa_pake_abort(psa_pake_operation_t * operation);
/** Returns a suitable initializer for a PAKE operation object of type
* psa_pake_operation_t.
*/
#define PSA_PAKE_OPERATION_INIT {0, {0}}
#define PSA_PAKE_OPERATION_INIT {PSA_ALG_NONE, {0}}
struct psa_pake_cipher_suite_s
{