Searched refs:getOutputSize (Results 1 – 9 of 9) 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 | 76 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()
|
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/ojluni/src/main/java/javax/crypto/ |
D | ExemptionMechanism.java | 285 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
|
D | Cipher.java | 1029 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 1303 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()
|