summaryrefslogtreecommitdiffstats
path: root/keystore/Android.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-02-15 17:20:23 -0800
committerKenny Root <kroot@google.com>2012-03-21 17:12:27 -0700
commit70e3a86abd2c412d602a018967c01c177eb6cf4e (patch)
treee59ab280a44ff7d4a408bd3dcb298f3840ba13ae /keystore/Android.mk
parent5187818895c4c5f650a611c40531b1dff7764c18 (diff)
downloadsystem_security-70e3a86abd2c412d602a018967c01c177eb6cf4e.zip
system_security-70e3a86abd2c412d602a018967c01c177eb6cf4e.tar.gz
system_security-70e3a86abd2c412d602a018967c01c177eb6cf4e.tar.bz2
Add keymaster to keystore with soft implementation
Add hardware crypto capabilities to keystore. This allows hardware escrow of private key material. There is also an OpenSSL engine that connects to keystore to allow use of the keystore keys from native code built into the platform. This includes a software implementation of keymaster using OpenSSL as the backend. This is just as insecure as the previous solution, but it's needed so devices without hardware support can continue to operate in the new scheme without a lot of compatibility code. Change-Id: I2bc67766e1f633ef1cbbd2874a65962074e84f4f
Diffstat (limited to 'keystore/Android.mk')
-rw-r--r--keystore/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystore/Android.mk b/keystore/Android.mk
index d0ab19d..548f783 100644
--- a/keystore/Android.mk
+++ b/keystore/Android.mk
@@ -19,8 +19,9 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := keystore.cpp
LOCAL_C_INCLUDES := external/openssl/include
-LOCAL_SHARED_LIBRARIES := libcutils libcrypto
+LOCAL_SHARED_LIBRARIES := libcutils libcrypto libhardware
LOCAL_MODULE := keystore
+LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)