/frameworks/base/core/java/android/security/ |
D | IKeystoreService.aidl | 21 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/ |
D | KeymasterArguments.java | 33 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
|
D | KeyCharacteristics.java | 31 public KeymasterArguments swEnforced; 32 public KeymasterArguments hwEnforced; 65 swEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel() 66 hwEnforced = KeymasterArguments.CREATOR.createFromParcel(in); in readFromParcel()
|
D | OperationResult.java | 34 public final KeymasterArguments outParams; 51 KeymasterArguments outParams) { in OperationResult() 66 outParams = KeymasterArguments.CREATOR.createFromParcel(in); in OperationResult()
|
D | KeymasterArguments.aidl | 20 parcelable KeymasterArguments;
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeymasterUtils.java | 22 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()
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 24 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()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 24 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()
|
D | AndroidKeyStoreRSACipherSpi.java | 23 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()
|
D | AndroidKeyStoreSignatureSpiBase.java | 24 import android.security.keymaster.KeymasterArguments; 199 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized() 430 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 22 import android.security.keymaster.KeymasterArguments; 234 KeymasterUtils.addUserAuthArgs(new KeymasterArguments(), in engineInit() 267 KeymasterArguments args = new KeymasterArguments(); in engineGenerateKey()
|
D | AndroidKeyStoreHmacSpi.java | 22 import android.security.keymaster.KeymasterArguments; 161 KeymasterArguments keymasterArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreUnauthenticatedAESCipherSpi.java | 21 import android.security.keymaster.KeymasterArguments; 241 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin() 259 @NonNull KeymasterArguments keymasterArgs) { in loadAlgorithmSpecificParametersFromBeginResult()
|
D | AndroidKeyStoreRSASignatureSpi.java | 20 import android.security.keymaster.KeymasterArguments; 159 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 24 import android.security.keymaster.KeymasterArguments; 186 @NonNull KeymasterArguments keymasterArgs) { in addAlgorithmSpecificParametersToBegin()
|
D | AndroidKeyStoreCipherSpiBase.java | 25 import android.security.keymaster.KeymasterArguments; 236 KeymasterArguments keymasterInputArgs = new KeymasterArguments(); in ensureKeystoreOperationInitialized() 905 @NonNull KeymasterArguments keymasterArgs); in addAlgorithmSpecificParametersToBegin() 919 @NonNull KeymasterArguments keymasterArgs); in loadAlgorithmSpecificParametersFromBeginResult()
|
D | AndroidKeyStoreSpi.java | 24 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/ |
D | KeyStore.java | 32 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/ |
D | KeyStoreTest.java | 25 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/ |
D | compiled-classes-phone | 3527 android.security.keymaster.KeymasterArguments 3528 android.security.keymaster.KeymasterArguments$1
|