summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Willden <swillden@google.com>2014-11-05 09:54:51 -0700
committerShawn Willden <swillden@google.com>2014-11-05 09:54:51 -0700
commit9976480a6e7fc53b40f0fe97aac29aa297bfd1b7 (patch)
tree10d2fae2245e3aef8136513f8b6f4e12cd8664d6
parent90c4779146c9ac154fe85cd6a0775f8e1fc29be8 (diff)
downloadandroid_system_security-9976480a6e7fc53b40f0fe97aac29aa297bfd1b7.tar.gz
android_system_security-9976480a6e7fc53b40f0fe97aac29aa297bfd1b7.tar.bz2
android_system_security-9976480a6e7fc53b40f0fe97aac29aa297bfd1b7.zip
Indicate that softkeymaster key blobs are standalone, meaning they don't
require a functional file system or any other support infrastructure. Bug: 17362157 Change-Id: I2e73e34bf066155c96e088136af8ad3413a844b7
-rw-r--r--softkeymaster/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/softkeymaster/module.cpp b/softkeymaster/module.cpp
index bfb1dd5..9eeb9b4 100644
--- a/softkeymaster/module.cpp
+++ b/softkeymaster/module.cpp
@@ -58,7 +58,7 @@ static int openssl_open(const hw_module_t* module, const char* name, hw_device_t
dev->common.module = (struct hw_module_t*)module;
dev->common.close = openssl_close;
- dev->flags = KEYMASTER_SOFTWARE_ONLY;
+ dev->flags = KEYMASTER_SOFTWARE_ONLY | KEYMASTER_BLOBS_ARE_STANDALONE;
dev->generate_keypair = openssl_generate_keypair;
dev->import_keypair = openssl_import_keypair;