From bc91ae17f682d2a0a6062101707e2707f965a9b2 Mon Sep 17 00:00:00 2001 From: Chong Cai Date: Tue, 27 Oct 2020 19:10:32 -0700 Subject: Add SHA512 to merkle tree library PiperOrigin-RevId: 339377254 --- pkg/abi/linux/ioctl.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/abi/linux/ioctl.go') diff --git a/pkg/abi/linux/ioctl.go b/pkg/abi/linux/ioctl.go index 7df02dd6d..006b5a525 100644 --- a/pkg/abi/linux/ioctl.go +++ b/pkg/abi/linux/ioctl.go @@ -121,6 +121,9 @@ const ( // Constants from uapi/linux/fsverity.h. const ( + FS_VERITY_HASH_ALG_SHA256 = 1 + FS_VERITY_HASH_ALG_SHA512 = 2 + FS_IOC_ENABLE_VERITY = 1082156677 FS_IOC_MEASURE_VERITY = 3221513862 ) -- cgit v1.2.3