Skip to content

Commit

Permalink
Applied the latest astyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewc-arm committed Jan 22, 2020
1 parent 65e9cac commit 3677b1b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions features/mbedtls/targets/TARGET_Samsung/sha/sha256_alt.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ int mbedtls_internal_sha256_process(mbedtls_sha256_context *ctx, const unsigned
* <li>1: Use SHA-224.</li></ul>
*/
MBEDTLS_DEPRECATED void mbedtls_sha256_starts(mbedtls_sha256_context *ctx,
int is224);
int is224);

/**
* \brief This function feeds an input buffer into an ongoing
Expand All @@ -157,8 +157,8 @@ MBEDTLS_DEPRECATED void mbedtls_sha256_starts(mbedtls_sha256_context *ctx,
* \param ilen The length of the input data.
*/
MBEDTLS_DEPRECATED void mbedtls_sha256_update(mbedtls_sha256_context *ctx,
const unsigned char *input,
size_t ilen);
const unsigned char *input,
size_t ilen);

/**
* \brief This function finishes the SHA-256 operation, and writes
Expand All @@ -170,7 +170,7 @@ MBEDTLS_DEPRECATED void mbedtls_sha256_update(mbedtls_sha256_context *ctx,
* \param output The SHA-224or SHA-256 checksum result.
*/
MBEDTLS_DEPRECATED void mbedtls_sha256_finish(mbedtls_sha256_context *ctx,
unsigned char output[32]);
unsigned char output[32]);

/**
* \brief This function processes a single data block within
Expand All @@ -183,7 +183,7 @@ MBEDTLS_DEPRECATED void mbedtls_sha256_finish(mbedtls_sha256_context *ctx,
* \param data The buffer holding one block of data.
*/
MBEDTLS_DEPRECATED void mbedtls_sha256_process(mbedtls_sha256_context *ctx,
const unsigned char data[64]);
const unsigned char data[64]);

#undef MBEDTLS_DEPRECATED
#endif /* !MBEDTLS_DEPRECATED_REMOVED */
Expand Down
10 changes: 5 additions & 5 deletions features/mbedtls/targets/TARGET_Samsung/sha/sha512_alt.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int mbedtls_internal_sha512_process(mbedtls_sha512_context *ctx, const unsigned
* <li>1: Use SHA-224.</li></ul>
*/
MBEDTLS_DEPRECATED void mbedtls_sha512_starts(mbedtls_sha512_context *ctx,
int is224);
int is224);

/**
* \brief This function feeds an input buffer into an ongoing
Expand All @@ -155,8 +155,8 @@ MBEDTLS_DEPRECATED void mbedtls_sha512_starts(mbedtls_sha512_context *ctx,
* \param ilen The length of the input data.
*/
MBEDTLS_DEPRECATED void mbedtls_sha512_update(mbedtls_sha512_context *ctx,
const unsigned char *input,
size_t ilen);
const unsigned char *input,
size_t ilen);

/**
* \brief This function finishes the SHA-512 operation, and writes
Expand All @@ -168,7 +168,7 @@ MBEDTLS_DEPRECATED void mbedtls_sha512_update(mbedtls_sha512_context *ctx,
* \param output The SHA-224or SHA-512 checksum result.
*/
MBEDTLS_DEPRECATED void mbedtls_sha512_finish(mbedtls_sha512_context *ctx,
unsigned char output[64]);
unsigned char output[64]);

/**
* \brief This function processes a single data block within
Expand All @@ -181,7 +181,7 @@ MBEDTLS_DEPRECATED void mbedtls_sha512_finish(mbedtls_sha512_context *ctx,
* \param data The buffer holding one block of data.
*/
MBEDTLS_DEPRECATED void mbedtls_sha512_process(mbedtls_sha512_context *ctx,
const unsigned char data[128]);
const unsigned char data[128]);

#undef MBEDTLS_DEPRECATED
#endif /* !MBEDTLS_DEPRECATED_REMOVED */
Expand Down

0 comments on commit 3677b1b

Please sign in to comment.