OSDN Git Service

Switch to libkeyutils.
authorElliott Hughes <enh@google.com>
Wed, 10 May 2017 00:01:04 +0000 (17:01 -0700)
committerElliott Hughes <enh@google.com>
Wed, 10 May 2017 23:59:33 +0000 (16:59 -0700)
Bug: http://b/37991155
Test: builds+boots
Change-Id: I33a3ba0d59ffd504093dc94517815c1196e95e2b

Android.mk
Ext4Crypt.cpp
KeyUtil.cpp

index 69be87d..e92955f 100644 (file)
@@ -46,6 +46,7 @@ common_shared_libraries := \
        libsysutils \
        libbinder \
        libcutils \
+       libkeyutils \
        liblog \
        libdiskconfig \
        libhardware_legacy \
index cb5f6d0..dd8922c 100644 (file)
@@ -46,8 +46,8 @@
 #include <cutils/fs.h>
 #include <cutils/properties.h>
 
-#include <ext4_utils/key_control.h>
 #include <ext4_utils/ext4_crypt.h>
+#include <keyutils.h>
 
 #include <android-base/file.h>
 #include <android-base/logging.h>
index fe0f3cb..865cc11 100644 (file)
 #include <sstream>
 #include <string>
 
-#include <ext4_utils/key_control.h>
-
 #include <openssl/sha.h>
 
 #include <android-base/file.h>
 #include <android-base/logging.h>
+#include <keyutils.h>
 
 #include "KeyStorage.h"
 #include "Utils.h"