Home
last modified time | relevance | path

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

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DConnectionState.java76 return encCipher.getOutputSize(1+hash_size); // 1 byte for data in getMinFragmentSize()
84 return encCipher.getOutputSize(content_size+hash_size); in getFragmentSize()
95 return decCipher.getOutputSize(generic_cipher_size)-hash_size; in getContentSize()
DConnectionStateTLS.java277 byte[] rez = new byte[encCipher.getOutputSize(res.length)]; in encrypt()
DConnectionStateSSLv3.java269 byte[] rez = new byte[encCipher.getOutputSize(res.length)]; in encrypt()
/dalvik/libcore/crypto/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()
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
DIESEngine.java132 byte[] tmp = new byte[cipher.getOutputSize(inLen)]; in decryptBlock()
203 c_text_length = cipher.getOutputSize(inLen); in encryptBlock()
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DExemptionMechanismTest.java91 em.getOutputSize(100); in testExemptionMechanism()
104 em.getOutputSize(100); in testExemptionMechanism()
542 em.getOutputSize(10); in test_getOutputSizeI()
549 assertEquals(10, em.getOutputSize(10)); in test_getOutputSizeI()
DNullCipherTest.java89 assertEquals("Incorrect OutputSize", 111, c.getOutputSize(111)); in testGetOutputSize()
DCipherTest.java339 cipher.getOutputSize(25); in test_getOutputSizeI()
348 int result = cipher.getOutputSize(25); in test_getOutputSizeI()
352 result = cipher.getOutputSize(8); in test_getOutputSizeI()
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
DPaddedBlockCipher.java42 public int getOutputSize( in getOutputSize() method in PaddedBlockCipher
DCTSBlockCipher.java68 public int getOutputSize( in getOutputSize() method in CTSBlockCipher
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java136 public int getOutputSize( in getOutputSize() method in BufferedBlockCipher
/dalvik/libcore/crypto/src/main/java/javax/crypto/
DExemptionMechanism.java234 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() method in ExemptionMechanism
DCipher.java419 public final int getOutputSize(int inputLen) { in getOutputSize() method in Cipher
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java92 public int getOutputSize( in getOutputSize() method in PaddedBufferedBlockCipher
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DJCEBlockCipher.java121 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
677 int outputLen = cipher.getOutputSize(inputLen); in engineDoFinal()
DBrokenJCEBlockCipher.java113 return cipher.getOutputSize(inputLen); in engineGetOutputSize()