Home
last modified time | relevance | path

Searched refs:getOutputSize (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherSymmetricKeyThread.java58 outputSize = cip.getOutputSize(input.length); in crypt()
66 outputSize = cip.getOutputSize(input.length); in crypt()
DCipherRSAThread.java44 int outputSize = cip.getOutputSize(input.length); in crypt()
DCipherPBEThread.java54 int outputSize = cip.getOutputSize(input.length); in crypt()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DExemptionMechanismTest.java76 em.getOutputSize(100); in testExemptionMechanism()
89 em.getOutputSize(100); in testExemptionMechanism()
396 em.getOutputSize(10); in test_getOutputSizeI()
403 assertEquals(10, em.getOutputSize(10)); in test_getOutputSizeI()
DNullCipherTest.java57 assertEquals("Incorrect OutputSize", 111, c.getOutputSize(111)); in testGetOutputSize()
DCipherTest.java213 cipher.getOutputSize(25); in test_getOutputSizeI()
221 int result = cipher.getOutputSize(25); in test_getOutputSizeI()
225 result = cipher.getOutputSize(8); in test_getOutputSizeI()
/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java119 int expectedOutputSize = cipher.getOutputSize(ibuffer.length); in getMoreData()
DExemptionMechanism.java285 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
DCipher.java639 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1426 c.getOutputSize(0); in test_Cipher()
1459 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1504 … getExpectedOutputSize(algorithm, decryptMode, providerName), c.getOutputSize(0)); in test_Cipher()
3190 c.getOutputSize(RSA_2048_Vector1.length); in testRSA_ECB_NoPadding_GetOutputSize_NoInit_Failure()
3209 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
3210 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length * 2)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
3211 assertEquals(modulusInBytes, c.getOutputSize(0)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
3946 .getOutputSize(0)); in checkCipher()
3977 .getOutputSize(0)); in checkCipher()
4070 final byte[] actualPlaintext = new byte[c.getOutputSize(p.ciphertext.length)]; in checkCipher()
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1124 return delegate.getOutputSize(inputLen); in engineGetOutputSize()