HomeSort by relevance Sort by last modified time
    Searched refs:inOff (Results 26 - 50 of 53) sorted by null

12 3

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
CTSBlockCipher.java 109 * @param inOff the offset at which the input data starts.
119 int inOff,
146 System.arraycopy(in, inOff, buf, bufOff, gapLen);
154 inOff += gapLen;
158 System.arraycopy(in, inOff, buf, bufOff, blockSize);
163 inOff += blockSize;
167 System.arraycopy(in, inOff, buf, bufOff, len);
SICBlockCipher.java 85 public int processBlock(byte[] in, int inOff, byte[] out, int outOff)
95 out[outOff + i] = (byte)(counterOut[i] ^ in[inOff + i]);
OFBBlockCipher.java 132 * @param inOff offset into the in array the data starts at.
142 int inOff,
147 if ((inOff + blockSize) > in.length)
165 out[outOff + i] = (byte)(ofbOutV[i] ^ in[inOff + i]);
CCMBlockCipher.java 107 public void processAADBytes(byte[] in, int inOff, int len)
110 associatedText.write(in, inOff, len);
121 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff)
124 data.write(in, inOff, inLen);
181 public byte[] processPacket(byte[] in, int inOff, int inLen)
209 int index = inOff;
217 calculateMac(in, inOff, inLen, macBlock);
244 System.arraycopy(in, inOff + inLen - macSize, macBlock, 0, macSize);
GCMBlockCipher.java 223 public void processAADBytes(byte[] in, int inOff, int len)
227 atBlock[atBlockPos] = in[inOff + i];
271 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
278 bufBlock[bufOff] = in[inOff + i];
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java 167 * @param inOff the offset at which the input data starts.
177 int inOff,
204 System.arraycopy(in, inOff, buf, bufOff, gapLen);
210 inOff += gapLen;
214 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
217 inOff += blockSize;
221 System.arraycopy(in, inOff, buf, bufOff, len);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
OAEPEncoding.java 125 int inOff,
131 return encodeBlock(in, inOff, inLen);
135 return decodeBlock(in, inOff, inLen);
141 int inOff,
150 System.arraycopy(in, inOff, block, block.length - inLen, inLen);
208 int inOff,
212 byte[] data = engine.processBlock(in, inOff, inLen);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
LongDigest.java 86 int inOff,
94 update(in[inOff]);
96 inOff++;
105 processWord(in, inOff);
107 inOff += xBuf.length;
117 update(in[inOff]);
119 inOff++;
171 int inOff)
173 W[wOff] = Pack.bigEndianToLong(in, inOff);
SHA1Digest.java 65 int inOff)
68 // X[xOff] = Pack.bigEndianToInt(in, inOff);
69 int n = in[ inOff] << 24;
70 n |= (in[++inOff] & 0xff) << 16;
71 n |= (in[++inOff] & 0xff) << 8;
72 n |= (in[++inOff] & 0xff);
OpenSSLDigest.java 91 public void update(byte[] in, int inOff, int len) {
92 NativeCrypto.EVP_DigestUpdate(getCtx(), in, inOff, len);
SHA256Digest.java 77 int inOff)
80 // X[xOff] = Pack.bigEndianToInt(in, inOff);
81 int n = in[inOff] << 24;
82 n |= (in[++inOff] & 0xff) << 16;
83 n |= (in[++inOff] & 0xff) << 8;
84 n |= (in[++inOff] & 0xff);
MD5Digest.java 63 int inOff)
65 X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8)
66 | ((in[inOff + 2] & 0xff) << 16) | ((in[inOff + 3] & 0xff) << 24);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
RC4Engine.java 73 int inOff,
78 if ((inOff + len) > in.length)
99 out[i+outOff] = (byte)(in[i + inOff]
RSABlindedEngine.java 80 * @param inOff the offset into the input buffer where the data starts.
87 int inOff,
95 BigInteger input = core.convertInput(in, inOff, inLen);
DESEngine.java 66 int inOff,
75 if ((inOff + BLOCK_SIZE) > in.length)
85 desFunc(workingKey, in, inOff, out, outOff);
404 int inOff,
410 left = (in[inOff + 0] & 0xff) << 24;
411 left |= (in[inOff + 1] & 0xff) << 16;
412 left |= (in[inOff + 2] & 0xff) << 8;
413 left |= (in[inOff + 3] & 0xff);
415 right = (in[inOff + 4] & 0xff) << 24;
416 right |= (in[inOff + 5] & 0xff) << 16
    [all...]
RSACoreEngine.java 87 int inOff,
101 if (inOff != 0 || inLen != in.length)
105 System.arraycopy(in, inOff, block, 0, inLen);
DESedeWrapEngine.java 136 * @param inOff
140 public byte[] wrap(byte[] in, int inOff, int inLen)
149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen);
207 * @param inOff
212 public byte[] unwrap(byte[] in, int inOff, int inLen)
257 engine.processBlock(in, inOff + currentBytePos, TEMP3, currentBytePos);
RFC3394WrapEngine.java 69 int inOff,
120 int inOff,
AESEngine.java 380 int inOff,
389 if ((inOff + (32 / 2)) > in.length)
401 unpackBlock(in, inOff);
407 unpackBlock(in, inOff);
BlowfishEngine.java 351 int inOff,
360 if ((inOff + BLOCK_SIZE) > in.length)
372 encryptBlock(in, inOff, out, outOff);
376 decryptBlock(in, inOff, out, outOff);
TwofishEngine.java 291 int inOff,
300 if ((inOff + BLOCK_SIZE) > in.length)
312 encryptBlock(in, inOff, out, outOff);
316 decryptBlock(in, inOff, out, outOff);
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DES.java 72 public void transformBlock(byte[] in, int inOff, byte[] out, int outOff)
79 desFunc(workingKey, in, inOff, out, outOff);
283 protected void desFunc(int[] wKey, byte[] in, int inOff, byte[] out, int outOff)
287 left = (in[inOff + 0] & 0xff) << 24;
288 left |= (in[inOff + 1] & 0xff) << 16;
289 left |= (in[inOff + 2] & 0xff) << 8;
290 left |= (in[inOff + 3] & 0xff);
292 right = (in[inOff + 4] & 0xff) << 24;
293 right |= (in[inOff + 5] & 0xff) << 16;
294 right |= (in[inOff + 6] & 0xff) << 8
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
HMac.java 175 int inOff,
178 digest.update(in, inOff, len);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
RSADigestSigner.java 132 int inOff,
135 digest.update(input, inOff, length);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseBlockCipher.java 817 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
880 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException
882 return cipher.processBytes(in, inOff, len, out, outOff);
937 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException
939 return cipher.processBytes(in, inOff, len, out, outOff);

Completed in 151 milliseconds

12 3