Home
last modified time | relevance | path

Searched refs:leftOver (Results 1 – 3 of 3) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java97 int leftOver = total % buf.length; in getOutputSize() local
99 if (leftOver == 0) in getOutputSize()
109 return total - leftOver + buf.length; in getOutputSize()
124 int leftOver = total % buf.length; in getUpdateOutputSize() local
126 if (leftOver == 0) in getUpdateOutputSize()
131 return total - leftOver; in getUpdateOutputSize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java114 int leftOver; in getUpdateOutputSize() local
120 leftOver = total % buf.length - (cipher.getBlockSize() + 2); in getUpdateOutputSize()
124 leftOver = total % buf.length; in getUpdateOutputSize()
129 leftOver = total % buf.length; in getUpdateOutputSize()
132 return total - leftOver; in getUpdateOutputSize()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java51 int leftOver = total % buf.length; in getUpdateOutputSize() local
53 if (leftOver == 0) in getUpdateOutputSize()
58 return total - leftOver; in getUpdateOutputSize()