Home
last modified time | relevance | path

Searched refs:getOutputSize (Results 1 – 9 of 9) 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/
DExemptionMechanism.java285 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
DCipher.java1029 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1303 c.getOutputSize(0); in test_Cipher()
1335 getExpectedOutputSize(algorithm, encryptMode, providerName) <= c.getOutputSize(0)); in test_Cipher()
1402 … getExpectedOutputSize(algorithm, decryptMode, providerName), c.getOutputSize(0)); in test_Cipher()
2621 c.getOutputSize(RSA_2048_Vector1.length); in testRSA_ECB_NoPadding_GetOutputSize_NoInit_Failure()
2643 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
2644 assertEquals(modulusInBytes, c.getOutputSize(RSA_2048_Vector1.length * 2)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
2645 assertEquals(modulusInBytes, c.getOutputSize(0)); in testRSA_ECB_NoPadding_GetOutputSize_Success()
3140 final byte[] actualPlaintext = new byte[c.getOutputSize(p.ciphertext.length)]; in checkCipher()
3158 final byte[] actualPlaintext = new byte[c.getOutputSize(p.ciphertext.length) + 2]; in checkCipher()