From fefe5915b06a1121d885fba3680dd1b90027fd5d Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Sat, 30 Sep 2017 22:22:13 -0500 Subject: FBE for Pixel 2 Includes various minor fixes for building in Android 8 trees with r23+ tag Update FBE extended header in libtar to version 2 and include the entire ext4_encryption_policy structure now after translating the policy. See this post for more details: https://plus.google.com/u/1/+DeesTroy/posts/i33ygUi7tiu Change-Id: I2af981e51f459b17fcd895fb8c2d3f6c8200e24b --- libtar/libtar.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libtar/libtar.h') diff --git a/libtar/libtar.h b/libtar/libtar.h index 2d0a3d3fc..aa637b13a 100644 --- a/libtar/libtar.h +++ b/libtar/libtar.h @@ -21,8 +21,7 @@ #include "libtar_listhash.h" #ifdef HAVE_EXT4_CRYPT -#define EXT4_KEY_DESCRIPTOR_SIZE 8 -#define EXT4_KEY_DESCRIPTOR_HEX 17 +# include "ext4crypt_tar.h" #endif #ifdef __cplusplus @@ -70,7 +69,7 @@ struct tar_header char *gnu_longlink; char *selinux_context; #ifdef HAVE_EXT4_CRYPT - char *e4crypt_policy; + struct ext4_encryption_policy *eep; #endif int has_cap_data; struct vfs_cap_data cap_data; -- cgit v1.2.3