summaryrefslogtreecommitdiff
path: root/src/libgit2/hash/sha1/generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgit2/hash/sha1/generic.h')
-rw-r--r--src/libgit2/hash/sha1/generic.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libgit2/hash/sha1/generic.h b/src/libgit2/hash/sha1/generic.h
new file mode 100644
index 000000000..53fc0823e
--- /dev/null
+++ b/src/libgit2/hash/sha1/generic.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#ifndef INCLUDE_hash_sha1_generic_h__
+#define INCLUDE_hash_sha1_generic_h__
+
+#include "hash/sha1.h"
+
+struct git_hash_sha1_ctx {
+ uint64_t size;
+ unsigned int H[5];
+ unsigned int W[16];
+};
+
+#endif