aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_algorithm_end.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-20 23:04:11 +0200
committerMattias Andrée <m@maandree.se>2026-05-20 23:04:11 +0200
commitc35b47228f5494f4d806e9166628110af6dd2469 (patch)
tree3b5a123af999a5e047b8565efee293a5d95c3f6c /librecrypt_hash_algorithm_end.c
parentPrepare for supporting custom algorithms (diff)
downloadlibrecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.gz
librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.bz2
librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.xz
Add (so far untested and undocument) support for pepperHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--librecrypt_hash_algorithm_end.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/librecrypt_hash_algorithm_end.c b/librecrypt_hash_algorithm_end.c
new file mode 100644
index 0000000..adb1555
--- /dev/null
+++ b/librecrypt_hash_algorithm_end.c
@@ -0,0 +1,27 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+enum librecrypt_hash_algorithm librecrypt_hash_algorithm_end = LIBRECRYPT_HASH_ALGORITHM_END;
+
+
+#else
+
+
+int
+main(void)
+{
+ SET_UP_ALARM();
+ INIT_RESOURCE_TEST();
+
+ assert(librecrypt_hash_algorithm_end == LIBRECRYPT_HASH_ALGORITHM_END);
+ /* LIBRECRYPT_HASH_ALGORITHM_END having the corret value is tested
+ * in librecrypt_is_enabled.c */
+
+ STOP_RESOURCE_TEST();
+ return 0;
+}
+
+
+#endif