summaryrefslogtreecommitdiffstats
path: root/keystore/java
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2015-06-04 19:48:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-04 19:48:29 +0000
commit43e77bf6209bd964bd9cc568b5f37b26401956b3 (patch)
tree762849d22bfba9b5474f94b7ddc477e201ed39e1 /keystore/java
parent581cc1ee59d01fe4b4a31618ab4aedfa639e42b0 (diff)
parent8a07701f3817ad0b76b82cfc464868e8f57e359d (diff)
downloadframeworks_base-43e77bf6209bd964bd9cc568b5f37b26401956b3.zip
frameworks_base-43e77bf6209bd964bd9cc568b5f37b26401956b3.tar.gz
frameworks_base-43e77bf6209bd964bd9cc568b5f37b26401956b3.tar.bz2
Merge "Add optional additional entropy to finish" into mnc-dev
Diffstat (limited to 'keystore/java')
-rw-r--r--keystore/java/android/security/KeyStore.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/keystore/java/android/security/KeyStore.java b/keystore/java/android/security/KeyStore.java
index 37ed723..1a05104 100644
--- a/keystore/java/android/security/KeyStore.java
+++ b/keystore/java/android/security/KeyStore.java
@@ -514,15 +514,20 @@ public class KeyStore {
}
}
- public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature) {
+ public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature,
+ byte[] entropy) {
try {
- return mBinder.finish(token, arguments, signature);
+ return mBinder.finish(token, arguments, signature, entropy);
} catch (RemoteException e) {
Log.w(TAG, "Cannot connect to keystore", e);
return null;
}
}
+ public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature) {
+ return finish(token, arguments, signature, null);
+ }
+
public int abort(IBinder token) {
try {
return mBinder.abort(token);