From 0bf9222bd169379b9284b537df52b23fa81dfd6b Mon Sep 17 00:00:00 2001 From: petertorelli Date: Fri, 8 Jul 2022 11:12:09 -0700 Subject: [PATCH] clang-tidy + clang-format --- examples/selfhosted/profile/psa_crypto_th_api/th_ecdsa.c | 2 +- profile/ee_ecdsa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/selfhosted/profile/psa_crypto_th_api/th_ecdsa.c b/examples/selfhosted/profile/psa_crypto_th_api/th_ecdsa.c index 1949350..63aa930 100644 --- a/examples/selfhosted/profile/psa_crypto_th_api/th_ecdsa.c +++ b/examples/selfhosted/profile/psa_crypto_th_api/th_ecdsa.c @@ -117,7 +117,7 @@ th_ecdsa_sign( unsigned char *p_hash, // input: sha256 digest unsigned int hlen, // input: length of digest in bytes unsigned char *p_sig, // output: signature - const unsigned int *p_slen // in/out: input=MAX slen, output=resultant + unsigned int *p_slen // in/out: input=MAX slen, output=resultant ) { ecdsa_p256_context *p_ecdsa = (ecdsa_p256_context *)p_context; diff --git a/profile/ee_ecdsa.h b/profile/ee_ecdsa.h index 5bb572c..03e9275 100644 --- a/profile/ee_ecdsa.h +++ b/profile/ee_ecdsa.h @@ -89,7 +89,7 @@ ee_status_t th_ecdsa_sign( unsigned char *p_hash, // input: sha256 digest unsigned int hlen, // input: length of digest in bytes unsigned char *p_sig, // output: signature - const unsigned int *p_slen // in/out: input=MAX slen, output=resultant + unsigned int *p_slen // in/out: input=MAX slen, output=resultant ); /**