diff options
| author | Chad Brubaker <cbrubaker@google.com> | 2015-03-27 23:25:59 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2015-03-27 23:25:59 +0000 |
| commit | 3e89fac56966fc30790430f128887a987fea63d8 (patch) | |
| tree | f838fad57b5389a16df097b122bbb54b162ce0dd /core/java/android | |
| parent | c27d3c2bd440a69d22bec8dd2c7bfe511fa53eba (diff) | |
| parent | dbd9a4b651aed25a50976ca0a68a979cc3f299fa (diff) | |
| download | frameworks_base-3e89fac56966fc30790430f128887a987fea63d8.zip frameworks_base-3e89fac56966fc30790430f128887a987fea63d8.tar.gz frameworks_base-3e89fac56966fc30790430f128887a987fea63d8.tar.bz2 | |
am dbd9a4b6: Merge "Allow entropy to be provided to some operations"
* commit 'dbd9a4b651aed25a50976ca0a68a979cc3f299fa':
Allow entropy to be provided to some operations
Diffstat (limited to 'core/java/android')
| -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); |
