path: root/src/sha1.h
diff options
authorLukas Fleischer <calcurse@cryptocrack.de>2012-05-21 10:13:05 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-21 10:13:05 +0200
commitcfd8ede2b3c7248bd3b78e71ef17bdc9eb819aae (patch)
tree1ba7b4f15c9a36cd5d9aab803ed4e9defb8222d2 /src/sha1.h
parent47c52ae7bbfec87a80fb583fb0753b4d77b0ba1d (diff)
Switch to Linux kernel coding style
Convert our code base to adhere to Linux kernel coding style using Lindent, with the following exceptions: * Use spaces, instead of tabs, for indentation. * Use 2-character indentations (instead of 8 characters). Rationale: We currently have too much levels of indentation. Using 8-character tabs would make huge code parts unreadable. These need to be cleaned up before we can switch to 8 characters. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/sha1.h')
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sha1.h b/src/sha1.h
index 4c3605c..8f90ff5 100644
--- a/src/sha1.h
+++ b/src/sha1.h
@@ -50,8 +50,8 @@ typedef struct {
uint8_t buffer[SHA1_BLOCKLEN];
} sha1_ctx_t;
-void sha1_init (sha1_ctx_t *);
-void sha1_update (sha1_ctx_t *, const uint8_t *, unsigned int);
-void sha1_final (sha1_ctx_t *, uint8_t *);
-void sha1_digest (const char *, char *);
-void sha1_stream (FILE *, char *);
+void sha1_init(sha1_ctx_t *);
+void sha1_update(sha1_ctx_t *, const uint8_t *, unsigned int);
+void sha1_final(sha1_ctx_t *, uint8_t *);
+void sha1_digest(const char *, char *);
+void sha1_stream(FILE *, char *);