Searched refs:keymasterAlgorithm (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 164 protected AndroidKeyStoreKeyPairGeneratorSpi(int keymasterAlgorithm) { in AndroidKeyStoreKeyPairGeneratorSpi() argument 165 mOriginalKeymasterAlgorithm = keymasterAlgorithm; in AndroidKeyStoreKeyPairGeneratorSpi() 190 int keymasterAlgorithm = mOriginalKeymasterAlgorithm; in initialize() local 202 keymasterAlgorithm = in initialize() 210 switch (keymasterAlgorithm) { in initialize() 287 mKeymasterAlgorithm = keymasterAlgorithm; in initialize() 292 mKeySizeBits = getDefaultKeySize(keymasterAlgorithm); in initialize() 294 checkValidKeySize(keymasterAlgorithm, mKeySizeBits); in initialize() 303 keymasterAlgorithm); in initialize() 630 private static int getDefaultKeySize(int keymasterAlgorithm) { in getDefaultKeySize() argument [all …]
|
D | AndroidKeyStoreProvider.java | 229 Integer keymasterAlgorithm = keyCharacteristics.getEnum(KeymasterDefs.KM_TAG_ALGORITHM); in loadAndroidKeyStorePublicKeyFromKeystore() local 230 if (keymasterAlgorithm == null) { in loadAndroidKeyStorePublicKeyFromKeystore() 237 keymasterAlgorithm); in loadAndroidKeyStorePublicKeyFromKeystore() 280 Integer keymasterAlgorithm = keyCharacteristics.getEnum(KeymasterDefs.KM_TAG_ALGORITHM); in loadAndroidKeyStoreSecretKeyFromKeystore() local 281 if (keymasterAlgorithm == null) { in loadAndroidKeyStoreSecretKeyFromKeystore() 298 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 | 115 int keymasterAlgorithm, in AndroidKeyStoreKeyGeneratorSpi() argument 117 this(keymasterAlgorithm, -1, defaultKeySizeBits); in AndroidKeyStoreKeyGeneratorSpi() 121 int keymasterAlgorithm, in AndroidKeyStoreKeyGeneratorSpi() argument 124 mKeymasterAlgorithm = keymasterAlgorithm; in AndroidKeyStoreKeyGeneratorSpi()
|
D | KeymasterUtils.java | 145 int keymasterAlgorithm, in addMinMacLengthAuthorizationIfNecessary() argument 148 switch (keymasterAlgorithm) { in addMinMacLengthAuthorizationIfNecessary()
|
D | AndroidKeyStoreSpi.java | 623 int keymasterAlgorithm = in setSecretKeyEntry() local 625 args.addEnum(KeymasterDefs.KM_TAG_ALGORITHM, keymasterAlgorithm); in setSecretKeyEntry() 628 if (keymasterAlgorithm == KeymasterDefs.KM_ALGORITHM_HMAC) { in setSecretKeyEntry() 696 keymasterAlgorithm, in setSecretKeyEntry()
|