Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Satisfy astyle
Browse files Browse the repository at this point in the history
SWilson4 committed May 14, 2024
1 parent 8524a16 commit 5da49e3
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/sha2/sha2.c
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ void OQS_SHA2_sha256_inc_blocks(OQS_SHA2_sha256_ctx *state, const uint8_t *in, s
}

void OQS_SHA2_sha256_inc(OQS_SHA2_sha256_ctx *state, const uint8_t *in, size_t len) {
callbacks->SHA2_sha256_inc(state, in, len);
callbacks->SHA2_sha256_inc(state, in, len);
}

void OQS_SHA2_sha256_inc_finalize(uint8_t *out, OQS_SHA2_sha256_ctx *state, const uint8_t *in, size_t inlen) {
2 changes: 1 addition & 1 deletion src/common/sha2/sha2_impl.c
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ struct OQS_SHA2_callbacks sha2_default_callbacks = {
SHA2_sha256,
SHA2_sha256_inc_init,
SHA2_sha256_inc_ctx_clone,
SHA2_sha256_inc,
SHA2_sha256_inc,
SHA2_sha256_inc_blocks,
SHA2_sha256_inc_finalize,
SHA2_sha256_inc_ctx_release,

0 comments on commit 5da49e3

Please sign in to comment.