Home
last modified time | relevance | path

Searched refs:inLen (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DCipherSpi.java753 int inLen = inLimit - inPos; in bufferCrypt() local
754 if (isUpdate && (inLen == 0)) { in bufferCrypt()
757 int outLenNeeded = engineGetOutputSize(inLen); in bufferCrypt()
774 n = engineUpdate(inArray, inOfs, inLen, outArray, outOfs); in bufferCrypt()
776 n = engineDoFinal(inArray, inOfs, inLen, outArray, outOfs); in bufferCrypt()
785 byte[] inArray = new byte[getTempArraySize(inLen)]; in bufferCrypt()
788 int chunk = Math.min(inLen, inArray.length); in bufferCrypt()
793 if (isUpdate || (inLen != chunk)) { in bufferCrypt()
800 inLen -= chunk; in bufferCrypt()
801 } while (inLen > 0); in bufferCrypt()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java391 byte[] inArray, int inOfs, int inLen, byte[] outArray, int outputOffset) in testCrypt_outputSizeUpdatedAfterShortBufferException()
393 if (inLen == maxInternalArrayAllocation) { in testCrypt_outputSizeUpdatedAfterShortBufferException()