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>
This commit is contained in:
10
src/sha1.h
10
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 *);
|
||||
|
||||
Reference in New Issue
Block a user