Home
last modified time | relevance | path

Searched refs:getOutputSize (Results 1 – 10 of 10) 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.java78 em.getOutputSize(100); in testExemptionMechanism()
91 em.getOutputSize(100); in testExemptionMechanism()
437 em.getOutputSize(10); in test_getOutputSizeI()
444 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/luni/src/main/java/javax/crypto/
DCipherInputStream.java95 int outputSize = cipher.getOutputSize(inputBuffer.length); in fillBuffer()
DExemptionMechanism.java217 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
DCipher.java533 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1098 c.getOutputSize(0); in test_Cipher()
1130 … getExpectedOutputSize(algorithm, encryptMode, providerName), c.getOutputSize(0)); in test_Cipher()
1143 … getExpectedOutputSize(algorithm, decryptMode, providerName), c.getOutputSize(0)); in test_Cipher()
2283 c.getOutputSize(RSA_2048_Vector1.length); in testRSA_ECB_NoPadding_GetOutputSize_NoInit_Failure()
2305 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
2306 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length * 2)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
2307 assertEquals(modulusInBytes, c.getOutputSize(0)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
2632 final byte[] actualPlaintext = new byte[c.getOutputSize(p.ciphertext.length)]; in checkCipher()
2644 final byte[] actualPlaintext = new byte[c.getOutputSize(p.ciphertext.length) + 2]; in checkCipher()