Searched refs:getOutputSize (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherSymmetricKeyThread.java | 58 outputSize = cip.getOutputSize(input.length); in crypt() 66 outputSize = cip.getOutputSize(input.length); in crypt()
|
D | CipherRSAThread.java | 44 int outputSize = cip.getOutputSize(input.length); in crypt()
|
D | CipherPBEThread.java | 54 int outputSize = cip.getOutputSize(input.length); in crypt()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismTest.java | 78 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()
|
D | NullCipherTest.java | 57 assertEquals("Incorrect OutputSize", 111, c.getOutputSize(111)); in testGetOutputSize()
|
D | CipherTest.java | 213 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/ |
D | CipherInputStream.java | 95 int outputSize = cipher.getOutputSize(inputBuffer.length); in fillBuffer()
|
D | ExemptionMechanism.java | 217 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
|
D | Cipher.java | 533 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 1098 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()
|