Home
last modified time | relevance | path

Searched refs:transformation (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java672 final private String transformation; field in Cipher
702 String transformation) { in Cipher() argument
712 this.transformation = transformation; in Cipher()
721 String transformation, in Cipher() argument
725 this.transformation = transformation; in Cipher()
732 private static String[] tokenizeTransformation(String transformation) in tokenizeTransformation() argument
734 if (transformation == null || transformation.isEmpty()) { in tokenizeTransformation()
746 StringTokenizer parser = new StringTokenizer(transformation, "/"); in tokenizeTransformation()
754 transformation); in tokenizeTransformation()
758 "format:" + transformation); in tokenizeTransformation()
[all …]
/libcore/support/src/test/java/tests/security/
DAlgorithmParameterSymmetricHelper.java55 String transformation = algorithmName; in test() local
58 transformation += "/" + blockmode; in test()
61 Cipher cipher = Cipher.getInstance(transformation); in test()
/libcore/ojluni/src/main/java/sun/security/ssl/
DCipherSuite.java402 final String transformation; field in CipherSuite.BulkCipher
426 BulkCipher(String transformation, int keySize, in BulkCipher() argument
428 this.transformation = transformation; in BulkCipher()
429 String[] splits = transformation.split("/"); in BulkCipher()
442 BulkCipher(String transformation, int keySize, in BulkCipher() argument
444 this.transformation = transformation; in BulkCipher()
445 String[] splits = transformation.split("/"); in BulkCipher()
DJsseJce.java220 static Cipher getCipher(String transformation) in getCipher() argument
224 return Cipher.getInstance(transformation); in getCipher()
226 return Cipher.getInstance(transformation, cryptoProvider); in getCipher()
DSSLAlgorithmConstraints.java361 if (bulkCipher.transformation != null) { in decomposes()
362 components.addAll(super.decomposes(bulkCipher.transformation)); in decomposes()
DCipherBox.java150 this.cipher = JsseJce.getCipher(bulkCipher.transformation); in CipherBox()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java2931 public final String transformation; field in CipherTest.CipherTestParam
2945 public CipherTestParam(String transformation, byte[] key, byte[] iv, byte[] aad, in CipherTestParam() argument
2947 this.transformation = transformation.toUpperCase(Locale.ROOT); in CipherTestParam()
3014 out.append("Error encountered checking " + p.transformation + ", keySize=" in testCipher_Success()
3029 Cipher c = Cipher.getInstance(p.transformation, provider); in checkCipher()
3033 if (isAEAD(p.transformation)) { in checkCipher()
3046 assertEquals(p.transformation + " " + provider, Arrays.toString(p.ciphertext), in checkCipher()
3049 c = Cipher.getInstance(p.transformation, provider); in checkCipher()
3056 if (!isAEAD(p.transformation)) { in checkCipher()
3068 if (!"AndroidOpenSSL".equals(provider) || !isAEAD(p.transformation)) { in checkCipher()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DEncryptedPrivateKeyInfoTest.java1600 public TestDataGenerator(String algName, String transformation, in TestDataGenerator() argument
1604 .getInstance(transformation != null ? transformation in TestDataGenerator()
1606 transformation != null ? transformation : algName, in TestDataGenerator()
/libcore/benchmarks/libs/
Dcaliper.jar.txt32 transformation or translation of a Source form, including but