Searched refs:outOff (Results 1 - 25 of 38) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DDerivationFunction.java10 public int generateBytes(byte[] out, int outOff, int len) argument
H A DStreamBlockCipher.java32 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
35 if (outOff + len > out.length)
47 int outStart = outOff;
H A DBlockCipher.java42 * @param outOff the offset into the out array the output will start at.
48 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument
H A DDigest.java43 * @param outOff the offset into the out array the digest is to start at.
45 public int doFinal(byte[] out, int outOff); argument
H A DMac.java59 * @param outOff the offset into the out buffer the output is to start at.
63 public int doFinal(byte[] out, int outOff) argument
H A DStreamCipher.java42 * @param outOff the offset into the output byte array the processed data starts at.
46 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DBufferedBlockCipher.java155 * @param outOff the offset from which the output will be copied.
163 int outOff)
172 resultLen = cipher.processBlock(buf, 0, out, outOff);
186 * @param outOff the offset from which the output will be copied.
196 int outOff)
209 if ((outOff + length) > out.length)
222 resultLen += cipher.processBlock(buf, 0, out, outOff);
230 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
243 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen);
254 * @param outOff th
160 processByte( byte in, byte[] out, int outOff) argument
191 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
264 doFinal( byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DSHA512Digest.java61 int outOff)
65 Pack.longToBigEndian(H1, out, outOff);
66 Pack.longToBigEndian(H2, out, outOff + 8);
67 Pack.longToBigEndian(H3, out, outOff + 16);
68 Pack.longToBigEndian(H4, out, outOff + 24);
69 Pack.longToBigEndian(H5, out, outOff + 32);
70 Pack.longToBigEndian(H6, out, outOff + 40);
71 Pack.longToBigEndian(H7, out, outOff + 48);
72 Pack.longToBigEndian(H8, out, outOff + 56);
59 doFinal( byte[] out, int outOff) argument
H A DSHA384Digest.java61 int outOff)
65 Pack.longToBigEndian(H1, out, outOff);
66 Pack.longToBigEndian(H2, out, outOff + 8);
67 Pack.longToBigEndian(H3, out, outOff + 16);
68 Pack.longToBigEndian(H4, out, outOff + 24);
69 Pack.longToBigEndian(H5, out, outOff + 32);
70 Pack.longToBigEndian(H6, out, outOff + 40);
59 doFinal( byte[] out, int outOff) argument
H A DNullDigest.java33 public int doFinal(byte[] out, int outOff) argument
37 System.arraycopy(res, 0, out, outOff, res.length);
H A DOpenSSLDigest.java66 public int doFinal(byte[] out, int outOff) { argument
68 return delegate.digest(out, outOff, out.length - outOff);
H A DSHA256Digest.java134 int outOff)
138 Pack.intToBigEndian(H1, out, outOff);
139 Pack.intToBigEndian(H2, out, outOff + 4);
140 Pack.intToBigEndian(H3, out, outOff + 8);
141 Pack.intToBigEndian(H4, out, outOff + 12);
142 Pack.intToBigEndian(H5, out, outOff + 16);
143 Pack.intToBigEndian(H6, out, outOff + 20);
144 Pack.intToBigEndian(H7, out, outOff + 24);
145 Pack.intToBigEndian(H8, out, outOff + 28);
132 doFinal( byte[] out, int outOff) argument
H A DSHA224Digest.java133 int outOff)
137 Pack.intToBigEndian(H1, out, outOff);
138 Pack.intToBigEndian(H2, out, outOff + 4);
139 Pack.intToBigEndian(H3, out, outOff + 8);
140 Pack.intToBigEndian(H4, out, outOff + 12);
141 Pack.intToBigEndian(H5, out, outOff + 16);
142 Pack.intToBigEndian(H6, out, outOff + 20);
143 Pack.intToBigEndian(H7, out, outOff + 24);
131 doFinal( byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCTSBlockCipher.java80 * @param outOff the offset from which the output will be copied.
88 int outOff)
95 resultLen = cipher.processBlock(buf, 0, out, outOff);
113 * @param outOff the offset from which the output will be copied.
123 int outOff)
136 if ((outOff + length) > out.length)
149 resultLen += cipher.processBlock(buf, 0, out, outOff);
160 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen);
179 * @param outOff the offset at which the copying starts.
190 int outOff)
85 processByte( byte in, byte[] out, int outOff) argument
118 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
188 doFinal( byte[] out, int outOff) argument
[all...]
H A DCBCBlockCipher.java135 * @param outOff the offset into the out array the output will start at.
145 int outOff)
148 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff);
169 * @param outOff the offset into the out array the output will start at.
179 int outOff)
196 int length = cipher.processBlock(cbcV, 0, out, outOff);
201 System.arraycopy(out, outOff, cbcV, 0, cbcV.length);
212 * @param outOff the offset into the out array the output will start at.
222 int outOff)
141 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
175 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
218 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
[all...]
H A DAEADBlockCipher.java71 * @param outOff the offset into the output byte array the processed data starts at.
75 public int processByte(byte in, byte[] out, int outOff) argument
85 * @param outOff the offset into the output byte array the processed data starts at.
89 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
96 * @param outOff offset into out to start copying the data at.
101 public int doFinal(byte[] out, int outOff) argument
H A DCFBBlockCipher.java181 * @param outOff the offset into the out array the output will start at.
191 int outOff)
194 processBytes(in, inOff, blockSize, out, outOff);
205 * @param outOff the offset into the out array the output will start at.
215 int outOff)
218 processBytes(in, inOff, blockSize, out, outOff);
229 * @param outOff the offset into the out array the output will start at.
239 int outOff)
242 processBytes(in, inOff, blockSize, out, outOff);
187 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
211 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
235 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
H A DCCMBlockCipher.java123 public int processByte(byte in, byte[] out, int outOff) argument
131 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) argument
143 public int doFinal(byte[] out, int outOff) argument
146 int len = processPacket(data.getBuffer(), 0, data.size(), out, outOff);
232 * @param outOff offset into output array to start putting processed bytes.
238 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) argument
268 int outIndex = outOff;
273 if (output.length < (outputLen + outOff))
299 System.arraycopy(encMac, 0, output, outOff + inLen, macSize);
308 if (output.length < (outputLen + outOff))
[all...]
H A DGCMBlockCipher.java319 public int processByte(byte in, byte[] out, int outOff) argument
330 outputBlock(out, outOff);
336 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
355 outputBlock(out, outOff + resultLen);
385 public int doFinal(byte[] out, int outOff) argument
397 if (out.length < (outOff + extra + macSize))
410 if (out.length < (outOff + extra))
418 gCTRPartial(bufBlock, 0, extra, out, outOff);
484 System.arraycopy(macBlock, 0, out, outOff + bufOff, macSize);
543 private void gCTRBlock(byte[] block, byte[] out, int outOff) argument
555 gCTRPartial(byte[] buf, int off, int len, byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
H A DPaddedBufferedBlockCipher.java139 * @param outOff the offset from which the output will be copied.
147 int outOff)
154 resultLen = cipher.processBlock(buf, 0, out, outOff);
170 * @param outOff the offset from which the output will be copied.
180 int outOff)
193 if ((outOff + length) > out.length)
206 resultLen += cipher.processBlock(buf, 0, out, outOff);
214 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
234 * @param outOff the offset at which the copying starts.
244 int outOff)
144 processByte( byte in, byte[] out, int outOff) argument
175 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
242 doFinal( byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DRC2Engine.java164 int outOff)
176 if ((outOff + BLOCK_SIZE) > out.length)
183 encryptBlock(in, inOff, out, outOff);
187 decryptBlock(in, inOff, out, outOff);
208 int outOff)
251 out[outOff + 0] = (byte)x10;
252 out[outOff + 1] = (byte)(x10 >> 8);
253 out[outOff + 2] = (byte)x32;
254 out[outOff + 3] = (byte)(x32 >> 8);
255 out[outOff
160 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
204 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
261 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
[all...]
H A DDESedeEngine.java89 int outOff)
101 if ((outOff + BLOCK_SIZE) > out.length)
112 desFunc(workingKey3, temp, 0, out, outOff);
118 desFunc(workingKey1, temp, 0, out, outOff);
85 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
H A DRC4Engine.java76 int outOff)
83 if ((outOff + len) > out.length)
99 out[i+outOff] = (byte)(in[i + inOff]
71 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DDESEngine.java68 int outOff)
80 if ((outOff + BLOCK_SIZE) > out.length)
85 desFunc(workingKey, in, inOff, out, outOff);
406 int outOff)
486 out[outOff + 0] = (byte)((right >>> 24) & 0xff);
487 out[outOff + 1] = (byte)((right >>> 16) & 0xff);
488 out[outOff + 2] = (byte)((right >>> 8) & 0xff);
489 out[outOff + 3] = (byte)(right & 0xff);
490 out[outOff + 4] = (byte)((left >>> 24) & 0xff);
491 out[outOff
64 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
401 desFunc( int[] wKey, byte[] in, int inOff, byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DPKCS5S2ParametersGenerator.java53 int outOff)
68 System.arraycopy(state, 0, out, outOff, state.length);
77 out[outOff + j] ^= state[j];
48 F( byte[] S, int c, byte[] iBuf, byte[] out, int outOff) argument

Completed in 183 milliseconds

12