summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/sha1.h')
-rw-r--r--src/lib/util/sha1.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/util/sha1.h b/src/lib/util/sha1.h
index 028f3303cb1..dcec92e453d 100644
--- a/src/lib/util/sha1.h
+++ b/src/lib/util/sha1.h
@@ -36,10 +36,10 @@
struct sha1_ctx
{
- UINT32 digest[_SHA1_DIGEST_LENGTH]; /* Message digest */
- UINT32 count_low, count_high; /* 64-bit block count */
- UINT8 block[SHA1_DATA_SIZE]; /* SHA1 data buffer */
- unsigned int index; /* index into buffer */
+ UINT32 digest[_SHA1_DIGEST_LENGTH]; /* Message digest */
+ UINT32 count_low, count_high; /* 64-bit block count */
+ UINT8 block[SHA1_DATA_SIZE]; /* SHA1 data buffer */
+ unsigned int index; /* index into buffer */
};
void
@@ -47,15 +47,15 @@ sha1_init(struct sha1_ctx *ctx);
void
sha1_update(struct sha1_ctx *ctx,
- unsigned length,
- const UINT8 *data);
+ unsigned length,
+ const UINT8 *data);
void
sha1_final(struct sha1_ctx *ctx);
void
sha1_digest(const struct sha1_ctx *ctx,
- unsigned length,
- UINT8 *digest);
+ unsigned length,
+ UINT8 *digest);
#endif /* NETTLE_SHA1_H_INCLUDED */