summaryrefslogtreecommitdiff
path: root/src/util/hash/builtin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/hash/builtin.h')
-rw-r--r--src/util/hash/builtin.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/util/hash/builtin.h b/src/util/hash/builtin.h
new file mode 100644
index 000000000..769df1ac2
--- /dev/null
+++ b/src/util/hash/builtin.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_builtin_h__
+#define INCLUDE_hash_builtin_h__
+
+#include "hash/sha.h"
+
+#include "rfc6234/sha.h"
+
+struct git_hash_sha256_ctx {
+ SHA256Context c;
+};
+
+#endif