Fix unused function/variable warnings from clang

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-12-14 20:51:21 +00:00
parent 17127e9f39
commit 815b240d72
2 changed files with 6 additions and 14 deletions

View file

@ -59,9 +59,11 @@ typedef enum {
PAKE_ROUND_TWO
} pake_round_t;
#if defined(PSA_WANT_ALG_JPAKE)
/* The only two JPAKE user/peer identifiers supported for the time being. */
static const uint8_t jpake_server_id[] = { 's', 'e', 'r', 'v', 'e', 'r' };
static const uint8_t jpake_client_id[] = { 'c', 'l', 'i', 'e', 'n', 't' };
#endif
/*
* Inject an error on the specified buffer ONLY it this is the correct stage.