summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2crypto.h')
-rw-r--r--firmware/2lib/include/2crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/2lib/include/2crypto.h b/firmware/2lib/include/2crypto.h
index 9cc877c7..c1f225d7 100644
--- a/firmware/2lib/include/2crypto.h
+++ b/firmware/2lib/include/2crypto.h
@@ -57,6 +57,9 @@ enum vb2_hash_algorithm {
/* SHA-256 and SHA-512 */
VB2_HASH_SHA256 = 2,
VB2_HASH_SHA512 = 3,
+
+ /* Last index. Don't add anything below. */
+ VB2_HASH_ALG_COUNT,
};
#endif /* VBOOT_REFERENCE_VBOOT_2CRYPTO_H_ */