Searched defs:digest (Results 1 – 8 of 8) sorted by relevance
40 String digest = def.generateDigest(new File("unused"), "alsounused"); in testGenerateDigest() local
301 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testHmacKeyOnlyOneDigestCanBeAuthorized() local314 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() local320 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testHmacKeyOnlyOneDigestCanBeAuthorized() local424 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() local
112 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testSmallKeyRejected() local
574 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in generateLargeKatMsg() local697 String digest = algorithmUpperCase.substring(0, withIndex); in getSignatureAlgorithmDigest() local736 String digest = getSignatureAlgorithmDigest(algorithm); in isKeyLongEnoughForSignatureAlgorithm() local774 String digest = getCipherDigest(transformation); in getMaxSupportedPlaintextInputSizeBytes() local786 static int getDigestOutputSizeBits(String digest) { in getDigestOutputSizeBits()843 String digest = getSignatureAlgorithmDigest(signatureAlgorithm); in getMinimalWorkingImportParametersForSigningingWith() local885 String digest = TestUtils.getCipherDigest(transformation); in getMinimalWorkingImportParametersForCipheringWith() local
96 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() local
727 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testLongMsgKat() local879 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testInitSignFailsWhenDigestNotAuthorized() local905 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testInitVerifyIgnoresThatDigestNotAuthorized() local
2406 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2420 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local2428 Arrays.asList(TestUtils.getKeyInfo(key).getDigests()), digest); in testKeyStore_OnlyOneDigestCanBeAuthorized_HMAC() local
106 public void setDigest(String digest) { in setDigest()243 String digest = metrics.get(CtsTest.PACKAGE_DIGEST_METRIC); in populateMetrics() local