aboutsummaryrefslogtreecommitdiffstats
path: root/src/libpts/pts/pts_meas_algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpts/pts/pts_meas_algo.h')
-rw-r--r--src/libpts/pts/pts_meas_algo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libpts/pts/pts_meas_algo.h b/src/libpts/pts/pts_meas_algo.h
index bb34a6ac3..1d96a4946 100644
--- a/src/libpts/pts/pts_meas_algo.h
+++ b/src/libpts/pts/pts_meas_algo.h
@@ -94,4 +94,12 @@ pts_meas_algorithms_t pts_meas_algo_select(pts_meas_algorithms_t supported_algos
*/
hash_algorithm_t pts_meas_algo_to_hash(pts_meas_algorithms_t algorithm);
+/**
+ * Return the hash size of a pts_meas_algorithm
+ *
+ * @param algorithm PTS measurement algorithm type
+ * @return hash size in bytes
+ */
+size_t pts_meas_algo_hash_size(pts_meas_algorithms_t algorithm);
+
#endif /** PTS_MEAS_ALGO_H_ @}*/