Set flags correctly for softkeymaster.
Change-Id: Ib7f4996d2e2002db4892d5585761a053f6698495
This commit is contained in:
parent
7804f54312
commit
0e8b2dffaa
1 changed files with 2 additions and 1 deletions
|
@ -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.module = (struct hw_module_t*)module;
|
||||||
dev->common.close = openssl_close;
|
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->generate_keypair = openssl_generate_keypair;
|
||||||
dev->import_keypair = openssl_import_keypair;
|
dev->import_keypair = openssl_import_keypair;
|
||||||
|
|
Loading…
Reference in a new issue