OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bufOff
(Results
1 - 5
of
5
) sorted by null
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/
BufferedBlockCipher.java
15
protected int
bufOff
;
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
= 0
[
all
...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/
CBCBlockCipherMac.java
19
private int
bufOff
;
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
+= len
[
all
...]
CMac.java
38
private int
bufOff
;
98
bufOff
= 0;
144
if (
bufOff
== buf.length)
147
bufOff
= 0;
150
buf[
bufOff
++] = in;
162
int gapLen = blockSize -
bufOff
;
166
System.arraycopy(in, inOff, buf,
bufOff
, gapLen);
170
bufOff
= 0;
183
System.arraycopy(in, inOff, buf,
bufOff
, len);
185
bufOff
+= len
[
all
...]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
EAXBlockCipher.java
49
private int
bufOff
;
154
bufOff
= 0;
189
int extra =
bufOff
;
192
bufOff
= 0;
247
return ((len +
bufOff
) / blockSize) * blockSize;
254
return len +
bufOff
+ macSize;
258
return len +
bufOff
- macSize;
264
bufBlock[
bufOff
++] = b;
266
if (
bufOff
== bufBlock.length)
283
bufOff
= blockSize
[
all
...]
GCMBlockCipher.java
44
private int
bufOff
;
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
++] = in
[
all
...]
Completed in 173 milliseconds