Set flags correctly for softkeymaster.

Change-Id: Ib7f4996d2e2002db4892d5585761a053f6698495
This commit is contained in:
Shawn Willden 2015-05-11 07:12:50 -06:00
parent 7804f54312
commit 0e8b2dffaa

View file

@ -752,7 +752,8 @@ __attribute__((visibility("default"))) int openssl_open(const hw_module_t* modul
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 | KEYMASTER_SUPPORTS_DSA |
KEYMASTER_SUPPORTS_EC;
dev->generate_keypair = openssl_generate_keypair;
dev->import_keypair = openssl_import_keypair;