HomeSort by relevance Sort by last modified time
    Searched refs:outOff (Results 1 - 25 of 36) sorted by null

1 2

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/
SHA384Digest.java 51 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);
SHA512Digest.java 50 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);
NullDigest.java 33 public int doFinal(byte[] out, int outOff)
37 System.arraycopy(res, 0, out, outOff, res.length);
SHA256Digest.java 100 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);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
AEADBlockCipher.java 43 * @param outOff the offset into the output byte array the processed data starts at.
47 public int processByte(byte in, byte[] out, int outOff)
57 * @param outOff the offset into the output byte array the processed data starts at.
61 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
68 * @param outOff offset into out to start copying the data at.
73 public int doFinal(byte[] out, int outOff)
CTSBlockCipher.java 79 * @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)
    [all...]
CBCBlockCipher.java 117 * @param outOff the offset into the out array the output will start at.
127 int outOff)
130 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff);
151 * @param outOff the offset into the out array the output will start at.
161 int outOff)
178 int length = cipher.processBlock(cbcV, 0, out, outOff);
183 System.arraycopy(out, outOff, cbcV, 0, cbcV.length);
194 * @param outOff the offset into the out array the output will start at.
204 int outOff)
    [all...]
CCMBlockCipher.java 96 public int processByte(byte in, byte[] out, int outOff)
104 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff)
112 public int doFinal(byte[] out, int outOff)
118 System.arraycopy(enc, 0, out, outOff, enc.length);
184 int outOff = 0;
194 ctrCipher.processBlock(in, index, out, outOff);
195 outOff += blockSize;
205 System.arraycopy(block, 0, out, outOff, inLen - index);
207 outOff += inLen - index;
209 System.arraycopy(macBlock, 0, out, outOff, out.length - outOff)
    [all...]
CFBBlockCipher.java 128 * @param outOff the offset into the out array the output will start at.
138 int outOff)
141 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff);
150 * @param outOff the offset into the out array the output will start at.
160 int outOff)
168 if ((outOff + blockSize) > out.length)
180 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]);
187 System.arraycopy(out, outOff, cfbV, cfbV.length - blockSize, blockSize);
198 * @param outOff the offset into the out array the output will start at
    [all...]
GOFBBlockCipher.java 140 * @param outOff the offset into the out array the output will start at.
150 int outOff)
158 if ((outOff + blockSize) > out.length)
183 out[outOff + i] = (byte)(ofbOutV[i] ^ in[inOff + i]);
219 int outOff)
221 out[outOff + 3] = (byte)(num >>> 24);
222 out[outOff + 2] = (byte)(num >>> 16);
223 out[outOff + 1] = (byte)(num >>> 8);
224 out[outOff] = (byte)num;
OFBBlockCipher.java 126 * @param outOff the offset into the out array the output will start at.
136 int outOff)
144 if ((outOff + blockSize) > out.length)
157 out[outOff + i] = (byte)(ofbOutV[i] ^ in[inOff + i]);
GCMBlockCipher.java 184 public int processByte(byte in, byte[] out, int outOff)
187 return process(in, out, outOff);
190 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
197 // resultLen += process(in[inOff + i], out, outOff + resultLen);
202 gCTRBlock(bufBlock, BLOCK_SIZE, out, outOff + resultLen);
217 private int process(byte in, byte[] out, int outOff)
224 gCTRBlock(bufBlock, BLOCK_SIZE, out, outOff);
238 public int doFinal(byte[] out, int outOff)
255 gCTRBlock(tmp, extra, out, outOff);
281 System.arraycopy(macBlock, 0, out, outOff + bufOff, macSize)
    [all...]
SICBlockCipher.java 79 public int processBlock(byte[] in, int inOff, byte[] out, int outOff)
89 out[outOff + i] = (byte)(counterOut[i] ^ in[inOff + i]);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/
BlockCipher.java 42 * @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)
DerivationFunction.java 15 public int generateBytes(byte[] out, int outOff, int len)
Digest.java 43 * @param outOff the offset into the out array the digest is to start at.
45 public int doFinal(byte[] out, int outOff);
StreamBlockCipher.java 78 * @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);
Mac.java 59 * @param outOff the offset into the out buffer the output is to start at.
63 public int doFinal(byte[] out, int outOff)
StreamCipher.java 42 * @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)
BufferedBlockCipher.java 148 * @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 the offset at which the copying starts
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java 138 * @param outOff the offset from which the output will be copied.
146 int outOff)
153 resultLen = cipher.processBlock(buf, 0, out, outOff);
169 * @param outOff the offset from which the output will be copied.
179 int outOff)
192 if ((outOff + length) > out.length)
205 resultLen += cipher.processBlock(buf, 0, out, outOff);
213 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
233 * @param outOff the offset at which the copying starts.
243 int outOff)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
RC2Engine.java 163 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 + 4] = (byte)x54
    [all...]
DESedeEngine.java 88 int outOff)
100 if ((outOff + BLOCK_SIZE) > out.length)
111 desFunc(workingKey3, temp, 0, out, outOff);
117 desFunc(workingKey1, temp, 0, out, outOff);
RC4Engine.java 75 int outOff)
82 if ((outOff + len) > out.length)
98 out[i+outOff] = (byte)(in[i + inOff]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
PKCS5S2ParametersGenerator.java 37 int outOff)
53 System.arraycopy(state, 0, out, outOff, state.length);
68 out[outOff + j] ^= state[j];

Completed in 291 milliseconds

1 2