Searched defs:inOff (Results 1 - 25 of 50) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
H A DAsymmetricBlockCipher.java34 * process the block of len bytes stored in in from offset inOff.
37 * @param inOff offset into the in array where the data starts
43 public byte[] processBlock(byte[] in, int inOff, int len) argument
H A DBlockCipher.java40 * @param inOff offset into the in array the data starts at.
48 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument
H A DDigest.java33 * @param inOff the offset into the byte array where the data starts.
36 public void update(byte[] in, int inOff, int len); argument
H A DMac.java44 * @param inOff the index in the array the data begins at.
45 * @param len the length of the input starting at inOff.
49 public void update(byte[] in, int inOff, int len) argument
H A DStreamCipher.java39 * @param inOff the offset into the in array where the data to be processed starts.
45 public void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DWrapper.java14 public byte[] wrap(byte[] in, int inOff, int inLen); argument
16 public byte[] unwrap(byte[] in, int inOff, int inLen) argument
H A DStreamBlockCipher.java75 * @param inOff the offset into the in array where the data to be processed starts.
83 int inOff,
96 cipher.processBlock(in, inOff + i, out, outOff + i);
81 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DBufferedBlockCipher.java176 * @param inOff the offset at which the input data starts.
186 int inOff,
213 System.arraycopy(in, inOff, buf, bufOff, gapLen);
219 inOff += gapLen;
223 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen);
226 inOff += blockSize;
230 System.arraycopy(in, inOff, buf, bufOff, len);
184 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DNullDigest.java28 public void update(byte[] in, int inOff, int len) argument
30 bOut.write(in, inOff, len);
H A DGeneralDigest.java64 int inOff,
72 update(in[inOff]);
74 inOff++;
83 processWord(in, inOff);
85 inOff += xBuf.length;
95 update(in[inOff]);
97 inOff++;
137 protected abstract void processWord(byte[] in, int inOff); argument
62 update( byte[] in, int inOff, int len) argument
H A DOpenSSLDigest.java62 public void update(byte[] in, int inOff, int len) { argument
63 delegate.update(in, inOff, len);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DRFC3394WrapEngine.java69 int inOff,
88 System.arraycopy(in, inOff, block, iv.length, inLen);
120 int inOff,
140 System.arraycopy(in, inOff, a, 0, iv.length);
141 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length);
67 wrap( byte[] in, int inOff, int inLen) argument
118 unwrap( byte[] in, int inOff, int inLen) argument
H A DRSABlindedEngine.java80 * @param inOff the offset into the input buffer where the data starts.
87 int inOff,
95 BigInteger input = core.convertInput(in, inOff, inLen);
85 processBlock( byte[] in, int inOff, int inLen) argument
H A DRSACoreEngine.java87 int inOff,
101 if (inOff != 0 || inLen != in.length)
105 System.arraycopy(in, inOff, block, 0, inLen);
85 convertInput( byte[] in, int inOff, int inLen) argument
H A DDESedeEngine.java87 int inOff,
96 if ((inOff + BLOCK_SIZE) > in.length)
110 desFunc(workingKey1, in, inOff, temp, 0);
116 desFunc(workingKey3, in, inOff, temp, 0);
85 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
H A DBlockCipherPadding.java32 * passed to it inside in. i.e. if inOff is zero, indicating the
39 public int addPadding(byte[] in, int inOff); argument
H A DISO10126d2Padding.java49 int inOff)
51 byte code = (byte)(in.length - inOff);
53 while (inOff < (in.length - 1))
55 in[inOff] = (byte)random.nextInt();
56 inOff++;
59 in[inOff] = code;
47 addPadding( byte[] in, int inOff) argument
H A DISO7816d4Padding.java41 int inOff)
43 int added = (in.length - inOff);
45 in [inOff]= (byte) 0x80;
46 inOff ++;
48 while (inOff < in.length)
50 in[inOff] = (byte) 0;
51 inOff++;
39 addPadding( byte[] in, int inOff) argument
H A DPKCS7Padding.java40 int inOff)
42 byte code = (byte)(in.length - inOff);
44 while (inOff < in.length)
46 in[inOff] = code;
47 inOff++;
38 addPadding( byte[] in, int inOff) argument
H A DTBCPadding.java43 * passed to it inside in. i.e. if inOff is zero, indicating the
50 int inOff)
52 int count = in.length - inOff;
55 if (inOff > 0)
57 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00);
64 while (inOff < in.length)
66 in[inOff] = code;
67 inOff++;
48 addPadding( byte[] in, int inOff) argument
H A DX923Padding.java43 int inOff)
45 byte code = (byte)(in.length - inOff);
47 while (inOff < in.length - 1)
51 in[inOff] = 0;
55 in[inOff] = (byte)random.nextInt();
57 inOff++;
60 in[inOff] = code;
41 addPadding( byte[] in, int inOff) argument
H A DZeroBytePadding.java40 int inOff)
42 int added = (in.length - inOff);
44 while (inOff < in.length)
46 in[inOff] = (byte) 0;
47 inOff++;
38 addPadding( byte[] in, int inOff) argument
H A DPaddedBufferedBlockCipher.java167 * @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);
175 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCTSBlockCipher.java110 * @param inOff the offset at which the input data starts.
120 int inOff,
147 System.arraycopy(in, inOff, buf, bufOff, gapLen);
155 inOff += gapLen;
159 System.arraycopy(in, inOff, buf, bufOff, blockSize);
164 inOff += blockSize;
168 System.arraycopy(in, inOff, buf, bufOff, len);
118 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DPKCS1Encoding.java126 int inOff,
132 return encodeBlock(in, inOff, inLen);
136 return decodeBlock(in, inOff, inLen);
142 int inOff,
182 System.arraycopy(in, inOff, block, block.length - inLen, inLen);
192 int inOff,
196 byte[] block = engine.processBlock(in, inOff, inLen);
124 processBlock( byte[] in, int inOff, int inLen) argument
140 encodeBlock( byte[] in, int inOff, int inLen) argument
190 decodeBlock( byte[] in, int inOff, int inLen) argument

Completed in 159 milliseconds

12