summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2015-03-27 23:37:44 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-27 23:37:44 +0000
commitdb22c6595c1b1949ff5473517609a7315b8e130f (patch)
treefe556c5494a706ed6d4496c15fee69582937d26a /core/java
parent8045a23a08898abadcd3e3d355d65d757480e1e6 (diff)
parent3e89fac56966fc30790430f128887a987fea63d8 (diff)
downloadframeworks_base-db22c6595c1b1949ff5473517609a7315b8e130f.zip
frameworks_base-db22c6595c1b1949ff5473517609a7315b8e130f.tar.gz
frameworks_base-db22c6595c1b1949ff5473517609a7315b8e130f.tar.bz2
am 3e89fac5: am dbd9a4b6: Merge "Allow entropy to be provided to some operations"
* commit '3e89fac56966fc30790430f128887a987fea63d8': Allow entropy to be provided to some operations
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/security/IKeystoreService.aidl6
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);