Skip to content

Commit

Permalink
Try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Aug 5, 2024
1 parent a0553d4 commit c839b1b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/sha512.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ typedef struct _SHA512_CTX {
} SHA512_CTX;
#endif /* do we have sha512 header defs */

void SHA512_Init(SHA512_CTX*);
void SHA512_Update(SHA512_CTX*, void*, size_t);
void SHA512_Final(uint8_t[], SHA512_CTX*);
unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest);


/*** SHA-256/384/512 Machine Architecture Definitions *****************/
/*
* BYTE_ORDER NOTE:
Expand Down Expand Up @@ -467,7 +461,7 @@ void SHA512_Final(uint8_t digest[], SHA512_CTX* context) {
}

unsigned char *
SHA512(void *data, unsigned int data_len, unsigned char *digest)
SHA512(void *data, unsigned int data_len, uint8_t *digest)
{
SHA512_CTX ctx;
SHA512_Init(&ctx);
Expand Down

0 comments on commit c839b1b

Please sign in to comment.