Home
last modified time | relevance | path

Searched refs:keymasterDigests (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DKeymasterUtils.java206 int[] keymasterDigests) { in addMinMacLengthAuthorizationIfNecessary() argument
221 if (keymasterDigests.length != 1) { in addMinMacLengthAuthorizationIfNecessary()
224 + keymasterDigests.length in addMinMacLengthAuthorizationIfNecessary()
227 int keymasterDigest = keymasterDigests[0]; in addMinMacLengthAuthorizationIfNecessary()
DAndroidKeyStoreProvider.java338 List<Integer> keymasterDigests = keyCharacteristics.getEnums(KeymasterDefs.KM_TAG_DIGEST); in loadAndroidKeyStoreSecretKeyFromKeystore() local
340 if (keymasterDigests.isEmpty()) { in loadAndroidKeyStoreSecretKeyFromKeystore()
345 keymasterDigest = keymasterDigests.get(0); in loadAndroidKeyStoreSecretKeyFromKeystore()
DAndroidKeyStoreSpi.java654 int[] keymasterDigests; in setSecretKeyEntry() local
668 keymasterDigests = new int[] {keymasterImpliedDigest}; in setSecretKeyEntry()
686 keymasterDigests = KeyProperties.Digest.allToKeymaster(params.getDigests()); in setSecretKeyEntry()
688 keymasterDigests = EmptyArray.INT; in setSecretKeyEntry()
691 args.addEnums(KeymasterDefs.KM_TAG_DIGEST, keymasterDigests); in setSecretKeyEntry()
723 keymasterDigests); in setSecretKeyEntry()