From c839b1bb9dfce066b00195495c5e2e37a60e0a91 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 11 Dec 2023 16:32:36 -0800 Subject: Try something else --- src/sha512.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/sha512.cc') diff --git a/src/sha512.cc b/src/sha512.cc index 9db72ac0..4ae472fc 100644 --- a/src/sha512.cc +++ b/src/sha512.cc @@ -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: @@ -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); -- cgit v1.2.3