summaryrefslogtreecommitdiff
path: root/crypto/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hash.h')
-rw-r--r--crypto/hash.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/crypto/hash.h b/crypto/hash.h
new file mode 100644
index 000000000000..cf9aee07f77d
--- /dev/null
+++ b/crypto/hash.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Cryptographic API.
+ *
+ * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
+ */
+#ifndef _LOCAL_CRYPTO_HASH_H
+#define _LOCAL_CRYPTO_HASH_H
+
+#include <crypto/internal/hash.h>
+
+#include "internal.h"
+
+extern const struct crypto_type crypto_shash_type;
+
+int hash_prepare_alg(struct hash_alg_common *alg);
+
+#endif /* _LOCAL_CRYPTO_HASH_H */