Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java119 int expectedOutputSize = cipher.getOutputSize(ibuffer.length); in getMoreData() local
120 if (obuffer == null || expectedOutputSize > obuffer.length) { in getMoreData()
121 obuffer = new byte[expectedOutputSize]; in getMoreData()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java247 int expectedOutputSize = inputLen + outputSizeDelta++; in engineUpdate() local
248 if ((output.length - outputOffset) < expectedOutputSize) { in engineUpdate()
251 return expectedOutputSize; in engineUpdate()
256 int expectedOutputSize = inputLen + outputSizeDelta++; in engineUpdate() local
257 return new byte[expectedOutputSize]; in engineUpdate()