Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 8 of 8) sorted by relevance

/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPackageDefTest.java40 String digest = def.generateDigest(new File("unused"), "alsounused"); in testGenerateDigest() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java301 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testHmacKeyOnlyOneDigestCanBeAuthorized() local
314 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() local
320 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() local
424 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() local
DRSASignatureTest.java112 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testSmallKeyRejected() local
DTestUtils.java574 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in generateLargeKatMsg() local
697 String digest = algorithmUpperCase.substring(0, withIndex); in getSignatureAlgorithmDigest() local
736 String digest = getSignatureAlgorithmDigest(algorithm); in isKeyLongEnoughForSignatureAlgorithm() local
774 String digest = getCipherDigest(transformation); in getMaxSupportedPlaintextInputSizeBytes() local
786 static int getDigestOutputSizeBits(String digest) { in getDigestOutputSizeBits()
843 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local
885 String digest = TestUtils.getCipherDigest(transformation); in getMinimalWorkingImportParametersForCipheringWith() local
DSecretKeyFactoryTest.java96 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
DSignatureTest.java727 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testLongMsgKat() local
879 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testInitSignFailsWhenDigestNotAuthorized() local
905 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testInitVerifyIgnoresThatDigestNotAuthorized() local
DAndroidKeyStoreTest.java2406 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2420 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
2428 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestPackageResult.java106 public void setDigest(String digest) { in setDigest()
243 String digest = metrics.get(CtsTest.PACKAGE_DIGEST_METRIC); in populateMetrics() local