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

12

/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
H A DDESede.java84 public void transformBlock(byte[] in, int inOff, byte[] out, int outOff) argument
93 desFunc(key1, in, inOff, out, outOff);
94 desFunc(key2, out, outOff, out, outOff);
95 desFunc(key3, out, outOff, out, outOff);
99 desFunc(key3, in, inOff, out, outOff);
100 desFunc(key2, out, outOff, out, outOff);
101 desFunc(key1, out, outOff, ou
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DSHA384Digest.java51 int outOff)
55 Pack.longToBigEndian(H1, out, outOff);
56 Pack.longToBigEndian(H2, out, outOff + 8);
57 Pack.longToBigEndian(H3, out, outOff + 16);
58 Pack.longToBigEndian(H4, out, outOff + 24);
59 Pack.longToBigEndian(H5, out, outOff + 32);
60 Pack.longToBigEndian(H6, out, outOff + 40);
49 doFinal( byte[] out, int outOff) argument
H A DSHA512Digest.java50 int outOff)
54 Pack.longToBigEndian(H1, out, outOff);
55 Pack.longToBigEndian(H2, out, outOff + 8);
56 Pack.longToBigEndian(H3, out, outOff + 16);
57 Pack.longToBigEndian(H4, out, outOff + 24);
58 Pack.longToBigEndian(H5, out, outOff + 32);
59 Pack.longToBigEndian(H6, out, outOff + 40);
60 Pack.longToBigEndian(H7, out, outOff + 48);
61 Pack.longToBigEndian(H8, out, outOff + 56);
48 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 DSHA256Digest.java100 int outOff)
104 Pack.intToBigEndian(H1, out, outOff);
105 Pack.intToBigEndian(H2, out, outOff + 4);
106 Pack.intToBigEndian(H3, out, outOff + 8);
107 Pack.intToBigEndian(H4, out, outOff + 12);
108 Pack.intToBigEndian(H5, out, outOff + 16);
109 Pack.intToBigEndian(H6, out, outOff + 20);
110 Pack.intToBigEndian(H7, out, outOff + 24);
111 Pack.intToBigEndian(H8, out, outOff + 28);
98 doFinal( byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
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 DDerivationFunction.java15 public int generateBytes(byte[] out, int outOff, int len) 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 DStreamBlockCipher.java78 * @param outOff the offset into the output byte array the processed data stars at.
86 int outOff)
89 if (outOff + len > out.length)
96 cipher.processBlock(in, inOff + i, out, outOff + i);
81 processBytes( byte[] in, int inOff, int len, 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.
45 public void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DBufferedBlockCipher.java148 * @param outOff the offset from which the output will be copied.
156 int outOff)
165 resultLen = cipher.processBlock(buf, 0, out, outOff);
179 * @param outOff the offset from which the output will be copied.
189 int outOff)
202 if ((outOff + length) > out.length)
215 resultLen += cipher.processBlock(buf, 0, out, outOff);
223 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
236 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen);
247 * @param outOff th
153 processByte( byte in, byte[] out, int outOff) argument
184 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
257 doFinal( byte[] out, int outOff) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCTSBlockCipher.java79 * @param outOff the offset from which the output will be copied.
87 int outOff)
94 resultLen = cipher.processBlock(buf, 0, out, outOff);
112 * @param outOff the offset from which the output will be copied.
122 int outOff)
135 if ((outOff + length) > out.length)
148 resultLen += cipher.processBlock(buf, 0, out, outOff);
159 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen);
178 * @param outOff the offset at which the copying starts.
189 int outOff)
84 processByte( byte in, byte[] out, int outOff) argument
117 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
187 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.java61 * @param outOff the offset into the output byte array the processed data starts at.
65 public int processByte(byte in, byte[] out, int outOff) argument
75 * @param outOff the offset into the output byte array the processed data starts at.
79 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
86 * @param outOff offset into out to start copying the data at.
91 public int doFinal(byte[] out, int outOff) argument
H A DCCMBlockCipher.java108 public int processByte(byte in, byte[] out, int outOff) argument
116 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) argument
124 public int doFinal(byte[] out, int outOff) argument
130 System.arraycopy(enc, 0, out, outOff, enc.length);
199 int outOff = 0;
209 ctrCipher.processBlock(in, index, out, outOff);
210 outOff += blockSize;
220 System.arraycopy(block, 0, out, outOff, inLen - index);
222 outOff += inLen - index;
224 System.arraycopy(macBlock, 0, out, outOff, ou
[all...]
H A DCFBBlockCipher.java136 * @param outOff the offset into the out array the output will start at.
146 int outOff)
149 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff);
158 * @param outOff the offset into the out array the output will start at.
168 int outOff)
176 if ((outOff + blockSize) > out.length)
188 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]);
195 System.arraycopy(out, outOff, cfbV, cfbV.length - blockSize, blockSize);
206 * @param outOff th
142 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
164 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
212 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
[all...]
H A DSICBlockCipher.java85 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument
95 out[outOff + i] = (byte)(counterOut[i] ^ in[inOff + i]);
H A DOFBBlockCipher.java134 * @param outOff the offset into the out array the output will start at.
144 int outOff)
152 if ((outOff + blockSize) > out.length)
165 out[outOff + i] = (byte)(ofbOutV[i] ^ in[inOff + i]);
140 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
H A DGCMBlockCipher.java259 public int processByte(byte in, byte[] out, int outOff) argument
265 outputBlock(out, outOff);
271 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
281 outputBlock(out, outOff + resultLen);
307 public int doFinal(byte[] out, int outOff) argument
327 gCTRPartial(bufBlock, 0, extra, out, outOff);
394 System.arraycopy(macBlock, 0, out, outOff + bufOff, macSize);
450 private void gCTRBlock(byte[] block, byte[] out, int outOff) argument
455 System.arraycopy(tmp, 0, out, outOff, BLOCK_SIZE);
462 private void 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.java163 int outOff)
175 if ((outOff + BLOCK_SIZE) > out.length)
182 encryptBlock(in, inOff, out, outOff);
186 decryptBlock(in, inOff, out, outOff);
207 int outOff)
250 out[outOff + 0] = (byte)x10;
251 out[outOff + 1] = (byte)(x10 >> 8);
252 out[outOff + 2] = (byte)x32;
253 out[outOff + 3] = (byte)(x32 >> 8);
254 out[outOff
159 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
203 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
260 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument
[all...]
H A DDESedeEngine.java91 int outOff)
103 if ((outOff + BLOCK_SIZE) > out.length)
116 desFunc(workingKey3, temp, 0, out, outOff);
122 desFunc(workingKey1, temp, 0, out, outOff);
87 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
H A DRC4Engine.java75 int outOff)
82 if ((outOff + len) > out.length)
98 out[i+outOff] = (byte)(in[i + inOff]
70 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DPKCS5S2ParametersGenerator.java48 int outOff)
64 System.arraycopy(state, 0, out, outOff, state.length);
79 out[outOff + j] ^= state[j];
42 F( byte[] P, byte[] S, int c, byte[] iBuf, byte[] out, int outOff) argument

Completed in 3177 milliseconds

12