Fix LMS and LMOTS coding style violations
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/library/lmots.h b/library/lmots.h
index 46e03d6..03e44af 100644
--- a/library/lmots.h
+++ b/library/lmots.h
@@ -145,8 +145,8 @@
*
* \return The corresponding LMS error code.
*/
-void unsigned_int_to_network_bytes(unsigned int val, size_t len,
- unsigned char *bytes);
+void unsigned_int_to_network_bytes( unsigned int val, size_t len,
+ unsigned char *bytes );
/**
* \brief This function converts a network-byte-order
@@ -157,8 +157,8 @@
*
* \return The corresponding LMS error code.
*/
-unsigned int network_bytes_to_unsigned_int(size_t len,
- const unsigned char *bytes);
+unsigned int network_bytes_to_unsigned_int( size_t len,
+ const unsigned char *bytes );
/**
* \brief This function converts a \ref psa_status_t to a
@@ -168,7 +168,7 @@
*
* \return The corresponding LMS error code.
*/
-int mbedtls_lms_error_from_psa(psa_status_t status);
+int mbedtls_lms_error_from_psa( psa_status_t status );
/**
@@ -240,7 +240,7 @@
size_t sig_size,
unsigned char *out,
size_t out_size,
- size_t *out_len);
+ size_t *out_len );
/**
* \brief This function verifies a LMOTS signature, using a
@@ -333,7 +333,7 @@
* \return A non-zero error code on failure.
*/
int mbedtls_lmots_calculate_public_key( mbedtls_lmots_public_t *ctx,
- mbedtls_lmots_private_t *priv_ctx);
+ mbedtls_lmots_private_t *priv_ctx );
/**