diff --git a/src/util/sha1/sha1.c b/src/util/sha1/sha1.c index 4fe2aa723c5..de7514c70da 100644 --- a/src/util/sha1/sha1.c +++ b/src/util/sha1/sha1.c @@ -51,7 +51,7 @@ typedef union { /* * Hash a single 512-bit block. This is the core of the algorithm. */ -void +static void SHA1Transform(uint32_t state[5], const uint8_t buffer[SHA1_BLOCK_LENGTH]) { uint32_t a, b, c, d, e; @@ -144,7 +144,7 @@ SHA1Update(SHA1_CTX *context, const uint8_t *data, size_t len) /* * Add padding and return the message digest. */ -void +static void SHA1Pad(SHA1_CTX *context) { uint8_t finalcount[8]; diff --git a/src/util/sha1/sha1.h b/src/util/sha1/sha1.h index 029a0ae87f1..df534b508e4 100644 --- a/src/util/sha1/sha1.h +++ b/src/util/sha1/sha1.h @@ -27,8 +27,6 @@ typedef struct _SHA1_CTX { } SHA1_CTX; void SHA1Init(SHA1_CTX *); -void SHA1Pad(SHA1_CTX *); -void SHA1Transform(uint32_t [5], const uint8_t [SHA1_BLOCK_LENGTH]); void SHA1Update(SHA1_CTX *, const uint8_t *, size_t); void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);