Searched refs:keymasterAlgorithm (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 172 protected AndroidKeyStoreKeyPairGeneratorSpi(int keymasterAlgorithm) { in AndroidKeyStoreKeyPairGeneratorSpi() argument 173 mOriginalKeymasterAlgorithm = keymasterAlgorithm; in AndroidKeyStoreKeyPairGeneratorSpi() 200 int keymasterAlgorithm = mOriginalKeymasterAlgorithm; in initialize() local 212 keymasterAlgorithm = in initialize() 220 switch (keymasterAlgorithm) { in initialize() 298 mKeymasterAlgorithm = keymasterAlgorithm; in initialize() 303 mKeySizeBits = getDefaultKeySize(keymasterAlgorithm); in initialize() 305 checkValidKeySize(keymasterAlgorithm, mKeySizeBits); in initialize() 314 keymasterAlgorithm); in initialize() 711 private static int getDefaultKeySize(int keymasterAlgorithm) { in getDefaultKeySize() argument [all …]
|
D | AndroidKeyStoreProvider.java | 235 Integer keymasterAlgorithm = keyCharacteristics.getEnum(KeymasterDefs.KM_TAG_ALGORITHM); in loadAndroidKeyStorePublicKeyFromKeystore() local 236 if (keymasterAlgorithm == null) { in loadAndroidKeyStorePublicKeyFromKeystore() 243 keymasterAlgorithm); in loadAndroidKeyStorePublicKeyFromKeystore() 286 Integer keymasterAlgorithm = keyCharacteristics.getEnum(KeymasterDefs.KM_TAG_ALGORITHM); in loadAndroidKeyStoreSecretKeyFromKeystore() local 287 if (keymasterAlgorithm == null) { in loadAndroidKeyStoreSecretKeyFromKeystore() 304 keymasterAlgorithm, keymasterDigest); in loadAndroidKeyStoreSecretKeyFromKeystore()
|
D | KeyProperties.java | 184 int keymasterAlgorithm) { in fromKeymasterAsymmetricKeyAlgorithm() argument 185 switch (keymasterAlgorithm) { in fromKeymasterAsymmetricKeyAlgorithm() 192 "Unsupported key algorithm: " + keymasterAlgorithm); in fromKeymasterAsymmetricKeyAlgorithm() 210 int keymasterAlgorithm, int keymasterDigest) { in fromKeymasterSecretKeyAlgorithm() argument 211 switch (keymasterAlgorithm) { in fromKeymasterSecretKeyAlgorithm() 232 "Unsupported key algorithm: " + keymasterAlgorithm); in fromKeymasterSecretKeyAlgorithm()
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 116 int keymasterAlgorithm, in AndroidKeyStoreKeyGeneratorSpi() argument 118 this(keymasterAlgorithm, -1, defaultKeySizeBits); in AndroidKeyStoreKeyGeneratorSpi() 122 int keymasterAlgorithm, in AndroidKeyStoreKeyGeneratorSpi() argument 125 mKeymasterAlgorithm = keymasterAlgorithm; in AndroidKeyStoreKeyGeneratorSpi()
|
D | KeymasterUtils.java | 173 int keymasterAlgorithm, in addMinMacLengthAuthorizationIfNecessary() argument 176 switch (keymasterAlgorithm) { in addMinMacLengthAuthorizationIfNecessary()
|
D | AndroidKeyStoreSpi.java | 631 int keymasterAlgorithm = in setSecretKeyEntry() local 633 args.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, keymasterAlgorithm); in setSecretKeyEntry() 636 if (keymasterAlgorithm == KeymasterDefs.KM_ALGORITHM_HMAC) { in setSecretKeyEntry() 707 keymasterAlgorithm, in setSecretKeyEntry()
|