VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Sha2Small.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-10 22:34:27 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-05-10 22:34:27 +0200
commit268ef2d8e904db5068dbdc0fdc7ce3940d6452ea (patch)
treeb1afa687c97fbf5e1ba2c92c5a10479ae5f832f5 /src/Crypto/Sha2Small.h
parent6d61f06a5348aebe7dbc0bf44d3e2729c20f7fd0 (diff)
parent5f47d8b6f11cdb3c4c2f43e04e5acfc6ffcb3035 (diff)
downloadVeraCrypt-268ef2d8e904db5068dbdc0fdc7ce3940d6452ea.tar.gz
VeraCrypt-268ef2d8e904db5068dbdc0fdc7ce3940d6452ea.zip
Merge pull request #61 from davidfoerster/normalize-line-terminators
Normalize line terminators
Diffstat (limited to 'src/Crypto/Sha2Small.h')
-rw-r--r--src/Crypto/Sha2Small.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Crypto/Sha2Small.h b/src/Crypto/Sha2Small.h
index 2b79eaf4..1b5c106e 100644
--- a/src/Crypto/Sha2Small.h
+++ b/src/Crypto/Sha2Small.h
@@ -12,21 +12,21 @@
/* Adapted for VeraCrypt */
-#ifndef _SHA2_SMALL_H
+#ifndef _SHA2_SMALL_H
#define _SHA2_SMALL_H
-#include "Common/Tcdefs.h"
+#include "Common/Tcdefs.h"
#include "Common/Endian.h"
-#define SHA256_DIGEST_SIZE 32
+#define SHA256_DIGEST_SIZE 32
#define SHA256_BLOCK_SIZE 64
-#define VOID_RETURN void
-#define INT_RETURN int
-
-#if defined(__cplusplus)
-extern "C"
-{
+#define VOID_RETURN void
+#define INT_RETURN int
+
+#if defined(__cplusplus)
+extern "C"
+{
#endif
typedef struct {
@@ -40,12 +40,12 @@ typedef struct {
/******************************************************************************/
-VOID_RETURN sha256_begin(sha256_ctx* ctx);
-VOID_RETURN sha256_hash(unsigned char* data, unsigned int len, sha256_ctx* ctx);
+VOID_RETURN sha256_begin(sha256_ctx* ctx);
+VOID_RETURN sha256_hash(unsigned char* data, unsigned int len, sha256_ctx* ctx);
VOID_RETURN sha256_end(unsigned char* hval, sha256_ctx* ctx);
-#if defined(__cplusplus)
-}
+#if defined(__cplusplus)
+}
#endif
/******************************************************************************/