aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum.h')
-rw-r--r--libhashsum.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libhashsum.h b/libhashsum.h
index 1e453b3..203ec10 100644
--- a/libhashsum.h
+++ b/libhashsum.h
@@ -263,6 +263,17 @@ struct libhashsum_hasher {
enum libhashsum_algorithm algorithm;
/**
+ * A string describing the used hash
+ * algorithm and parameters
+ *
+ * This may be pointer to a buffer in
+ * `.state`
+ *
+ * @since 1.0
+ */
+ const char *algorithm_string;
+
+ /**
* The number of bytes required for each
* call to `.process_block`
*