Searched refs:keymasterDigests (Results 1 – 3 of 3) sorted by relevance
206 int[] keymasterDigests) { in addMinMacLengthAuthorizationIfNecessary() argument221 if (keymasterDigests.length != 1) { in addMinMacLengthAuthorizationIfNecessary()224 + keymasterDigests.length in addMinMacLengthAuthorizationIfNecessary()227 int keymasterDigest = keymasterDigests[0]; in addMinMacLengthAuthorizationIfNecessary()
338 List<Integer> keymasterDigests = keyCharacteristics.getEnums(KeymasterDefs.KM_TAG_DIGEST); in loadAndroidKeyStoreSecretKeyFromKeystore() local340 if (keymasterDigests.isEmpty()) { in loadAndroidKeyStoreSecretKeyFromKeystore()345 keymasterDigest = keymasterDigests.get(0); in loadAndroidKeyStoreSecretKeyFromKeystore()
654 int[] keymasterDigests; in setSecretKeyEntry() local668 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()