Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DMacTest.java459 String algorithm, in assertMacVerifiesOneShot()
467 String algorithm, in assertMacVerifiesOneShot()
485 String algorithm, in assertMacDoesNotVerifyOneShot()
500 String algorithm, in assertMacVerifiesFedOneByteAtATime()
519 String algorithm, in assertMacVerifiesFedUsingFixedSizeChunks()
543 private void assertInitSucceeds(String algorithm, KeyProtection keyProtection) in assertInitSucceeds()
556 private void assertInitThrowsInvalidKeyException(String algorithm, KeyProtection keyProtection) in assertInitThrowsInvalidKeyException()
591 private static KeyProtection getWorkingImportParams( in getWorkingImportParams()
DTransparentSecretKey.java31 public TransparentSecretKey(byte[] keyMaterial, String algorithm) { in TransparentSecretKey()
DSignatureTest.java1184 String algorithm, in assertSignatureVerifiesOneShot()
1192 String algorithm, in assertSignatureVerifiesOneShot()
1210 String algorithm, in assertSignatureDoesNotVerifyOneShot()
1228 String algorithm, in assertSignatureVerifiesFedOneByteAtATime()
1248 String algorithm, in generateSignatureFedUsingFixedSizeChunks()
1268 String algorithm, in assertSignatureVerifiesFedUsingFixedSizeChunks()
1293 private static KeyProtection getMinimalWorkingImportParamsForSigning(String algorithm) { in getMinimalWorkingImportParamsForSigning()
1297 private static KeyProtection getMinimalWorkingImportParamsForVerifying( in getMinimalWorkingImportParamsForVerifying()
DTestUtils.java605 static boolean isHmacAlgorithm(String algorithm) { in isHmacAlgorithm()
609 static String getHmacAlgorithmDigest(String algorithm) { in getHmacAlgorithmDigest()
691 static String getSignatureAlgorithmDigest(String algorithm) { in getSignatureAlgorithmDigest()
704 static String getSignatureAlgorithmPadding(String algorithm) { in getSignatureAlgorithmPadding()
717 static String getSignatureAlgorithmKeyAlgorithm(String algorithm) { in getSignatureAlgorithmKeyAlgorithm()
729 static boolean isKeyLongEnoughForSignatureAlgorithm(String algorithm, Key key) { in isKeyLongEnoughForSignatureAlgorithm()
DSecretKeyFactoryTest.java230 private SecretKeyFactory getKeyFactory(String algorithm) throws NoSuchAlgorithmException, in getKeyFactory()
DKeyGeneratorTest.java524 private static KeyGenerator getKeyGenerator(String algorithm) throws NoSuchAlgorithmException, in getKeyGenerator()
DKeyFactoryTest.java473 private KeyFactory getKeyFactory(String algorithm) throws NoSuchAlgorithmException, in getKeyFactory()
DKeyPairGeneratorTest.java1141 private void assertKeyGenInitSucceeds(String algorithm, AlgorithmParameterSpec params) in assertKeyGenInitSucceeds()
1148 String algorithm, AlgorithmParameterSpec params) throws Exception { in assertKeyGenInitThrowsInvalidAlgorithmParameterException()
1486 private KeyPairGenerator getGenerator(String algorithm) in getGenerator()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageDef.java423 final String algorithm = "SHA-1"; in generateDigest() local
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java540 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers() local
DCtsTestServer.java975 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); in getKeyManagers() local