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 --- crypto/ext4crypt/Ext4Crypt.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crypto/ext4crypt/Ext4Crypt.cpp') diff --git a/crypto/ext4crypt/Ext4Crypt.cpp b/crypto/ext4crypt/Ext4Crypt.cpp index 8bc419992..ea5b1cf88 100644 --- a/crypto/ext4crypt/Ext4Crypt.cpp +++ b/crypto/ext4crypt/Ext4Crypt.cpp @@ -41,8 +41,16 @@ #include +#ifdef HAVE_SYNTH_PWD_SUPPORT +#include +#else #include "ext4_crypt.h" +#endif +#ifndef HAVE_LIBKEYUTILS #include "key_control.h" +#else +#include +#endif #include #include "HashPassword.h" -- cgit v1.2.3