diff options
author | Chad Brubaker <cbrubaker@google.com> | 2015-03-27 23:49:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-27 23:49:17 +0000 |
commit | 2fb1d0eb206714f79a93cf717d704a4330bb6f1e (patch) | |
tree | 91eebdffced606d359033a49f00f1447948cbc58 /core/java/android/security | |
parent | e7e8761a5130c198a8ae8dc2c9220aa46657c715 (diff) | |
parent | db22c6595c1b1949ff5473517609a7315b8e130f (diff) | |
download | frameworks_base-2fb1d0eb206714f79a93cf717d704a4330bb6f1e.zip frameworks_base-2fb1d0eb206714f79a93cf717d704a4330bb6f1e.tar.gz frameworks_base-2fb1d0eb206714f79a93cf717d704a4330bb6f1e.tar.bz2 |
am db22c659: am 3e89fac5: am dbd9a4b6: Merge "Allow entropy to be provided to some operations"
* commit 'db22c6595c1b1949ff5473517609a7315b8e130f':
Allow entropy to be provided to some operations
Diffstat (limited to 'core/java/android/security')
-rw-r--r-- | core/java/android/security/IKeystoreService.aidl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/security/IKeystoreService.aidl b/core/java/android/security/IKeystoreService.aidl index d24bc13..14b5748 100644 --- a/core/java/android/security/IKeystoreService.aidl +++ b/core/java/android/security/IKeystoreService.aidl @@ -60,8 +60,8 @@ interface IKeystoreService { // Keymaster 0.4 methods int addRngEntropy(in byte[] data); - int generateKey(String alias, in KeymasterArguments arguments, int uid, int flags, - out KeyCharacteristics characteristics); + int generateKey(String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, + int flags, out KeyCharacteristics characteristics); int getKeyCharacteristics(String alias, in KeymasterBlob clientId, in KeymasterBlob appId, out KeyCharacteristics characteristics); int importKey(String alias, in KeymasterArguments arguments, int format, @@ -69,7 +69,7 @@ interface IKeystoreService { ExportResult exportKey(String alias, int format, in KeymasterBlob clientId, in KeymasterBlob appId); OperationResult begin(IBinder appToken, String alias, int purpose, boolean pruneable, - in KeymasterArguments params, out KeymasterArguments operationParams); + in KeymasterArguments params, in byte[] entropy, out KeymasterArguments operationParams); OperationResult update(IBinder token, in KeymasterArguments params, in byte[] input); OperationResult finish(IBinder token, in KeymasterArguments params, in byte[] signature); int abort(IBinder handle); |