Home
last modified time | relevance | path

Searched refs:KeymasterArguments (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/security/
DIKeystoreService.aidl21 import android.security.keymaster.KeymasterArguments;
60 int generateKey(String alias, in KeymasterArguments arguments, in byte[] entropy, int uid, in generateKey()
64 int importKey(String alias, in KeymasterArguments arguments, int format, in importKey()
69 in KeymasterArguments params, in byte[] entropy, int uid); in begin()
70 OperationResult update(IBinder token, in KeymasterArguments params, in byte[] input); in update()
71 OperationResult finish(IBinder token, in KeymasterArguments params, in byte[] signature, in finish()
78 int attestKey(String alias, in KeymasterArguments params, out KeymasterCertificateChain chain); in attestKey()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java33 public class KeymasterArguments implements Parcelable { class
43 public static final Parcelable.Creator<KeymasterArguments> CREATOR = new
44 Parcelable.Creator<KeymasterArguments>() {
46 public KeymasterArguments createFromParcel(Parcel in) {
47 return new KeymasterArguments(in);
51 public KeymasterArguments[] newArray(int size) {
52 return new KeymasterArguments[size];
56 public KeymasterArguments() { in KeymasterArguments() method in KeymasterArguments
60 private KeymasterArguments(Parcel in) { in KeymasterArguments() method in KeymasterArguments
DKeyCharacteristics.java31 public KeymasterArguments swEnforced;
32 public KeymasterArguments hwEnforced;
65 swEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel()
66 hwEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel()
DOperationResult.java34 public final KeymasterArguments outParams;
51 KeymasterArguments outParams) { in OperationResult()
66 outParams = KeymasterArguments.CREATOR.createFromParcel(in); in OperationResult()
DKeymasterArguments.aidl20 parcelable KeymasterArguments;
/frameworks/base/keystore/java/android/security/keystore/
DKeymasterUtils.java22 import android.security.keymaster.KeymasterArguments;
97 public static void addUserAuthArgs(KeymasterArguments args, in addUserAuthArgs()
134 KeymasterDefs.KM_TAG_USER_SECURE_ID, KeymasterArguments.toUint64(sid)); in addUserAuthArgs()
145 KeymasterArguments.toUint64(rootSid)); in addUserAuthArgs()
161 public static void addMinMacLengthAuthorizationIfNecessary(KeymasterArguments args, in addMinMacLengthAuthorizationIfNecessary()
DAndroidKeyStoreAuthenticatedAESCipherSpi.java24 import android.security.keymaster.KeymasterArguments;
214 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
289 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
307 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
415 KeymasterArguments keymasterArgs = new KeymasterArguments(); in update()
445 new KeymasterArguments() // additional params returned by finish in finish()
DAndroidKeyStoreKeyPairGeneratorSpi.java24 import android.security.keymaster.KeymasterArguments;
345 KeymasterUtils.addUserAuthArgs(new KeymasterArguments(), in initialize()
410 if (publicExponent.compareTo(KeymasterArguments.UINT64_MAX_VALUE) > 0) { in initAlgorithmSpecificParameters()
413 + ". Maximum supported value: " + KeymasterArguments.UINT64_MAX_VALUE); in initAlgorithmSpecificParameters()
487 KeymasterArguments args = new KeymasterArguments(); in createCertificateChain()
496 private void generateKeystoreKeyPair(final String privateKeyAlias, KeymasterArguments args, in generateKeystoreKeyPair()
522 private KeymasterArguments constructKeyGenerationArguments() { in constructKeyGenerationArguments()
523 KeymasterArguments args = new KeymasterArguments(); in constructKeyGenerationArguments()
596 KeyPair keyPair, KeymasterArguments args) in getAttestationChain()
612 private void addAlgorithmSpecificParameters(KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParameters()
DAndroidKeyStoreRSACipherSpi.java23 import android.security.keymaster.KeymasterArguments;
295 KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
302 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
460 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
478 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreSignatureSpiBase.java24 import android.security.keymaster.KeymasterArguments;
199 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
430 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStoreKeyGeneratorSpi.java22 import android.security.keymaster.KeymasterArguments;
234 KeymasterUtils.addUserAuthArgs(new KeymasterArguments(), in engineInit()
267 KeymasterArguments args = new KeymasterArguments(); in engineGenerateKey()
DAndroidKeyStoreHmacSpi.java22 import android.security.keymaster.KeymasterArguments;
161 KeymasterArguments keymasterArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java21 import android.security.keymaster.KeymasterArguments;
241 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
259 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreRSASignatureSpi.java20 import android.security.keymaster.KeymasterArguments;
159 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStoreECDSASignatureSpi.java24 import android.security.keymaster.KeymasterArguments;
186 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
DAndroidKeyStoreCipherSpiBase.java25 import android.security.keymaster.KeymasterArguments;
236 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
905 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
919 @NonNull KeymasterArguments keymasterArgs); in loadAlgorithmSpecificParametersFromBeginResult()
DAndroidKeyStoreSpi.java24 import android.security.keymaster.KeymasterArguments;
435 KeymasterArguments importArgs; in setPrivateKeyEntry()
463 importArgs = new KeymasterArguments(); in setPrivateKeyEntry()
625 KeymasterArguments args = new KeymasterArguments(); in setSecretKeyEntry()
/frameworks/base/keystore/java/android/security/
DKeyStore.java32 import android.security.keymaster.KeymasterArguments;
419 public int generateKey(String alias, KeymasterArguments args, byte[] entropy, int uid, in generateKey()
429 public int generateKey(String alias, KeymasterArguments args, byte[] entropy, int flags, in generateKey()
449 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey()
460 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, in importKey()
480 KeymasterArguments args, byte[] entropy, int uid) { in begin()
490 KeymasterArguments args, byte[] entropy) { in begin()
494 public OperationResult update(IBinder token, KeymasterArguments arguments, byte[] input) { in update()
503 public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature, in finish()
513 public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature) { in finish()
[all …]
/frameworks/base/keystore/tests/src/android/security/
DKeyStoreTest.java25 import android.security.keymaster.KeymasterArguments;
704 KeymasterArguments args = new KeymasterArguments(); in generateRsaKey()
727 KeymasterArguments args = new KeymasterArguments(); in testGenerateRsaWithEntropy()
759 KeymasterArguments args = new KeymasterArguments(); in testAppId()
794 KeymasterArguments args = new KeymasterArguments(); in testAesGcmEncryptSuccess()
807 args = new KeymasterArguments(); in testAesGcmEncryptSuccess()
831 KeymasterArguments args = new KeymasterArguments(); in importAesKey()
842 private byte[] doOperation(String name, int purpose, byte[] in, KeymasterArguments beginArgs) { in doOperation()
876 KeymasterArguments beginArgs = new KeymasterArguments(); in testAes256Ecb()
896 KeymasterArguments args = new KeymasterArguments(); in testOperationPruning()
[all …]
/frameworks/base/
Dcompiled-classes-phone3527 android.security.keymaster.KeymasterArguments
3528 android.security.keymaster.KeymasterArguments$1