Searched refs:bufOff (Results 1 - 5 of 5) sorted by relevance

/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/
H A DCBCBlockCipherMac.java19 private int bufOff; field in class:CBCBlockCipherMac
102 bufOff = 0;
126 if (bufOff == buf.length)
129 bufOff = 0;
132 buf[bufOff++] = in;
146 int gapLen = blockSize - bufOff;
150 System.arraycopy(in, inOff, buf, bufOff, gapLen);
154 bufOff = 0;
167 System.arraycopy(in, inOff, buf, bufOff, len);
169 bufOff
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/
H A DBufferedBlockCipher.java15 protected int bufOff; field in class:BufferedBlockCipher
41 bufOff = 0;
113 int total = len + bufOff;
140 return length + bufOff;
161 buf[bufOff++] = in;
163 if (bufOff == buf.length)
166 bufOff = 0;
209 int gapLen = buf.length - bufOff;
213 System.arraycopy(in, inOff, buf, bufOff, gapLen);
217 bufOff
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
H A DCTSBlockCipher.java35 bufOff = 0;
49 int total = len + bufOff;
71 return len + bufOff;
92 if (bufOff == buf.length)
97 bufOff = blockSize;
100 buf[bufOff++] = in;
142 int gapLen = buf.length - bufOff;
146 System.arraycopy(in, inOff, buf, bufOff, gapLen);
151 bufOff = blockSize;
158 System.arraycopy(in, inOff, buf, bufOff, blockSiz
[all...]
H A DGCMBlockCipher.java44 private int bufOff; field in class:GCMBlockCipher
160 this.bufOff = 0;
173 return len + bufOff + macSize;
176 return len + bufOff - macSize;
181 return ((len + bufOff) / BLOCK_SIZE) * BLOCK_SIZE;
198 bufBlock[bufOff++] = in[inOff + i];
200 if (bufOff == bufBlock.length)
207 // bufOff = 0;
208 bufOff = bufBlock.length - BLOCK_SIZE;
220 bufBlock[bufOff
[all...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/
H A DPaddedBufferedBlockCipher.java36 bufOff = 0;
95 int total = len + bufOff;
122 int total = len + bufOff;
151 if (bufOff == buf.length)
154 bufOff = 0;
157 buf[bufOff++] = in;
199 int gapLen = buf.length - bufOff;
203 System.arraycopy(in, inOff, buf, bufOff, gapLen);
207 bufOff = 0;
220 System.arraycopy(in, inOff, buf, bufOff, le
[all...]

Completed in 100 milliseconds