Searched refs:useStrongbox (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyGeneratorTest.java | 224 private void testInitWithAlgParamsAndNullSecureRandomHelper(boolean useStrongbox) in testInitWithAlgParamsAndNullSecureRandomHelper() argument 227 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testInitWithAlgParamsAndNullSecureRandomHelper() 231 .setIsStrongBoxBacked(useStrongbox) in testInitWithAlgParamsAndNullSecureRandomHelper() 267 private void testDefaultKeySize(boolean useStrongbox) throws Exception { in testDefaultKeySize() argument 269 (useStrongbox ? EXPECTED_STRONGBOX_ALGORITHMS : EXPECTED_ALGORITHMS)) { in testDefaultKeySize() 280 strict.check(algorithm + " key generation on " + (useStrongbox ? "StrongBox" : "TEE")); in testDefaultKeySize() 292 private void testAesKeySupportedSizesHelper(boolean useStrongbox) throws Exception { in testAesKeySupportedSizesHelper() argument 302 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper() 306 goodSpec.setKeySize(i)).setIsStrongBoxBacked(useStrongbox).build(); in testAesKeySupportedSizesHelper() 313 if (TestUtils.contains(useStrongbox ? in testAesKeySupportedSizesHelper() [all …]
|
D | KeyPairGeneratorTest.java | 363 private void testGenerateHonorsRequestedAuthorizationsHelper(boolean useStrongbox) { in testGenerateHonorsRequestedAuthorizationsHelper() argument 387 .setIsStrongBoxBacked(useStrongbox) in testGenerateHonorsRequestedAuthorizationsHelper() 419 String specific = useStrongbox ? "Strongbox:" : ""; in testGenerateHonorsRequestedAuthorizationsHelper() 658 List<Pair<Date, Date>> durations, boolean useStrongbox) in generateKeyWithDifferentValidityPeriods() argument 676 .setIsStrongBoxBacked(useStrongbox) in generateKeyWithDifferentValidityPeriods() 690 private void replacesOldEntryWithSameAliasHelper(boolean useStrongbox) throws Exception { in replacesOldEntryWithSameAliasHelper() argument 706 .setIsStrongBoxBacked(useStrongbox) in replacesOldEntryWithSameAliasHelper() 734 .setIsStrongBoxBacked(useStrongbox) in replacesOldEntryWithSameAliasHelper() 756 private void doesNotReplaceOtherEntriesHelper(boolean useStrongbox) throws Exception { in doesNotReplaceOtherEntriesHelper() argument 771 .setIsStrongBoxBacked(useStrongbox) in doesNotReplaceOtherEntriesHelper() [all …]
|
D | ECDSASignatureTest.java | 146 private void testECDSANonceReuse_Helper(boolean useStrongbox, String curve) in testECDSANonceReuse_Helper() argument 150 KeyPair kp = generateKeyPairForNonceReuse_Helper(useStrongbox, curve); in testECDSANonceReuse_Helper() 185 + " Strongbox: " + Boolean.toString(useStrongbox) in testECDSANonceReuse_Helper() 193 private KeyPair generateKeyPairForNonceReuse_Helper(boolean useStrongbox, in generateKeyPairForNonceReuse_Helper() argument 204 .setIsStrongBoxBacked(useStrongbox) in generateKeyPairForNonceReuse_Helper()
|
D | DeviceOwnerKeyManagementTest.java | 151 boolean useStrongbox) in validateDeviceIdAttestationData() argument 204 validateSecondImei(teeAttestation.getSecondImei(), expectedSecondImei, useStrongbox); in validateDeviceIdAttestationData() local 208 boolean useStrongbox) { in validateSecondImei() argument 219 TestUtils.hasKeystoreVersion(useStrongbox, Attestation.KM_VERSION_KEYMINT_3); in validateSecondImei() 251 boolean useStrongbox) in validateDeviceIdAttestationDataUsingExtLib() argument 313 validateSecondImei(attestationIdSecondImei, expectedSecondImei, useStrongbox); in validateDeviceIdAttestationDataUsingExtLib()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ProtectedConfirmationTest.java | 172 private void createKey(boolean useStrongbox) { in createKey() argument 186 builder.setIsStrongBoxBacked(useStrongbox); in createKey() 222 private void runTest(boolean useStrongbox, boolean positiveScenario) { in runTest() argument 223 createKey(useStrongbox); in runTest() 230 useStrongbox, positiveScenario); in runTest() local 234 private void showConfirmationPrompt(String confirmationMessage, boolean useStrongbox, in showConfirmationPrompt() argument 247 markTestSuccess(useStrongbox, positiveScenario); in showConfirmationPrompt()
|
/cts/tests/tests/keystore/src/android/keystore/cts/util/ |
D | TestUtils.java | 121 public static int getFeatureVersionKeystore(Context appContext, boolean useStrongbox) { in getFeatureVersionKeystore() argument 122 if (useStrongbox) { in getFeatureVersionKeystore()
|