Home
last modified time | relevance | path

Searched refs:inOff (Results 1 – 25 of 162) sorted by relevance

1234567

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRC2Engine.java162 int inOff, in processBlock() argument
171 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
183 encryptBlock(in, inOff, out, outOff); in processBlock()
187 decryptBlock(in, inOff, out, outOff); in processBlock()
206 int inOff, in encryptBlock() argument
212 x76 = ((in[inOff + 7] & 0xff) << 8) + (in[inOff + 6] & 0xff); in encryptBlock()
213 x54 = ((in[inOff + 5] & 0xff) << 8) + (in[inOff + 4] & 0xff); in encryptBlock()
214 x32 = ((in[inOff + 3] & 0xff) << 8) + (in[inOff + 2] & 0xff); in encryptBlock()
215 x10 = ((in[inOff + 1] & 0xff) << 8) + (in[inOff + 0] & 0xff); in encryptBlock()
263 int inOff, in decryptBlock() argument
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/engines/
DRC2Engine.java164 int inOff, in processBlock() argument
173 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
185 encryptBlock(in, inOff, out, outOff); in processBlock()
189 decryptBlock(in, inOff, out, outOff); in processBlock()
208 int inOff, in encryptBlock() argument
214 x76 = ((in[inOff + 7] & 0xff) << 8) + (in[inOff + 6] & 0xff); in encryptBlock()
215 x54 = ((in[inOff + 5] & 0xff) << 8) + (in[inOff + 4] & 0xff); in encryptBlock()
216 x32 = ((in[inOff + 3] & 0xff) << 8) + (in[inOff + 2] & 0xff); in encryptBlock()
217 x10 = ((in[inOff + 1] & 0xff) << 8) + (in[inOff + 0] & 0xff); in encryptBlock()
265 int inOff, in decryptBlock() argument
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/
DRC2Engine.java164 int inOff, in processBlock() argument
173 if ((inOff + BLOCK_SIZE) > in.length) in processBlock()
185 encryptBlock(in, inOff, out, outOff); in processBlock()
189 decryptBlock(in, inOff, out, outOff); in processBlock()
208 int inOff, in encryptBlock() argument
214 x76 = ((in[inOff + 7] & 0xff) << 8) + (in[inOff + 6] & 0xff); in encryptBlock()
215 x54 = ((in[inOff + 5] & 0xff) << 8) + (in[inOff + 4] & 0xff); in encryptBlock()
216 x32 = ((in[inOff + 3] & 0xff) << 8) + (in[inOff + 2] & 0xff); in encryptBlock()
217 x10 = ((in[inOff + 1] & 0xff) << 8) + (in[inOff + 0] & 0xff); in encryptBlock()
265 int inOff, in decryptBlock() argument
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DISO7816d4Padding.java41 int inOff) in addPadding() argument
43 int added = (in.length - inOff); in addPadding()
45 in [inOff]= (byte) 0x80; in addPadding()
46 inOff ++; in addPadding()
48 while (inOff < in.length) in addPadding()
50 in[inOff] = (byte) 0; in addPadding()
51 inOff++; in addPadding()
DX923Padding.java43 int inOff) in addPadding() argument
45 byte code = (byte)(in.length - inOff); in addPadding()
47 while (inOff < in.length - 1) in addPadding()
51 in[inOff] = 0; in addPadding()
55 in[inOff] = (byte)random.nextInt(); in addPadding()
57 inOff++; in addPadding()
60 in[inOff] = code; in addPadding()
DTBCPadding.java50 int inOff) in addPadding() argument
52 int count = in.length - inOff; in addPadding()
55 if (inOff > 0) in addPadding()
57 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00); in addPadding()
64 while (inOff < in.length) in addPadding()
66 in[inOff] = code; in addPadding()
67 inOff++; in addPadding()
DISO10126d2Padding.java43 int inOff) in addPadding() argument
45 byte code = (byte)(in.length - inOff); in addPadding()
47 while (inOff < (in.length - 1)) in addPadding()
49 in[inOff] = (byte)random.nextInt(); in addPadding()
50 inOff++; in addPadding()
53 in[inOff] = code; in addPadding()
DZeroBytePadding.java40 int inOff) in addPadding() argument
42 int added = (in.length - inOff); in addPadding()
44 while (inOff < in.length) in addPadding()
46 in[inOff] = (byte) 0; in addPadding()
47 inOff++; in addPadding()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/paddings/
DISO7816d4Padding.java43 int inOff) in addPadding() argument
45 int added = (in.length - inOff); in addPadding()
47 in [inOff]= (byte) 0x80; in addPadding()
48 inOff ++; in addPadding()
50 while (inOff < in.length) in addPadding()
52 in[inOff] = (byte) 0; in addPadding()
53 inOff++; in addPadding()
DX923Padding.java45 int inOff) in addPadding() argument
47 byte code = (byte)(in.length - inOff); in addPadding()
49 while (inOff < in.length - 1) in addPadding()
53 in[inOff] = 0; in addPadding()
57 in[inOff] = (byte)random.nextInt(); in addPadding()
59 inOff++; in addPadding()
62 in[inOff] = code; in addPadding()
DTBCPadding.java52 int inOff) in addPadding() argument
54 int count = in.length - inOff; in addPadding()
57 if (inOff > 0) in addPadding()
59 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00); in addPadding()
66 while (inOff < in.length) in addPadding()
68 in[inOff] = code; in addPadding()
69 inOff++; in addPadding()
DISO10126d2Padding.java45 int inOff) in addPadding() argument
47 byte code = (byte)(in.length - inOff); in addPadding()
49 while (inOff < (in.length - 1)) in addPadding()
51 in[inOff] = (byte)random.nextInt(); in addPadding()
52 inOff++; in addPadding()
55 in[inOff] = code; in addPadding()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/paddings/
DISO7816d4Padding.java43 int inOff) in addPadding() argument
45 int added = (in.length - inOff); in addPadding()
47 in [inOff]= (byte) 0x80; in addPadding()
48 inOff ++; in addPadding()
50 while (inOff < in.length) in addPadding()
52 in[inOff] = (byte) 0; in addPadding()
53 inOff++; in addPadding()
DX923Padding.java45 int inOff) in addPadding() argument
47 byte code = (byte)(in.length - inOff); in addPadding()
49 while (inOff < in.length - 1) in addPadding()
53 in[inOff] = 0; in addPadding()
57 in[inOff] = (byte)random.nextInt(); in addPadding()
59 inOff++; in addPadding()
62 in[inOff] = code; in addPadding()
DTBCPadding.java52 int inOff) in addPadding() argument
54 int count = in.length - inOff; in addPadding()
57 if (inOff > 0) in addPadding()
59 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00); in addPadding()
66 while (inOff < in.length) in addPadding()
68 in[inOff] = code; in addPadding()
69 inOff++; in addPadding()
DISO10126d2Padding.java45 int inOff) in addPadding() argument
47 byte code = (byte)(in.length - inOff); in addPadding()
49 while (inOff < (in.length - 1)) in addPadding()
51 in[inOff] = (byte)random.nextInt(); in addPadding()
52 inOff++; in addPadding()
55 in[inOff] = code; in addPadding()
DZeroBytePadding.java42 int inOff) in addPadding() argument
44 int added = (in.length - inOff); in addPadding()
46 while (inOff < in.length) in addPadding()
48 in[inOff] = (byte) 0; in addPadding()
49 inOff++; in addPadding()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java117 public void processAADBytes(byte[] in, int inOff, int len) in processAADBytes() argument
120 associatedText.write(in, inOff, len); in processAADBytes()
131 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument
134 if (in.length < (inOff + inLen)) in processBytes()
138 data.write(in, inOff, inLen); in processBytes()
202 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument
220 processPacket(in, inOff, inLen, output, 0); in processPacket()
238 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) in processPacket() argument
267 int inIndex = inOff; in processPacket()
278 calculateMac(in, inOff, inLen, macBlock); in processPacket()
[all …]
DCBCBlockCipher.java143 int inOff, in processBlock() argument
148 … return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); in processBlock()
177 int inOff, in encryptBlock() argument
182 if ((inOff + blockSize) > in.length) in encryptBlock()
193 cbcV[i] ^= in[inOff + i]; in encryptBlock()
220 int inOff, in decryptBlock() argument
225 if ((inOff + blockSize) > in.length) in decryptBlock()
230 System.arraycopy(in, inOff, cbcNextV, 0, blockSize); in decryptBlock()
232 int length = cipher.processBlock(in, inOff, out, outOff); in decryptBlock()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCBCBlockCipher.java145 int inOff, in processBlock() argument
150 … return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); in processBlock()
179 int inOff, in encryptBlock() argument
184 if ((inOff + blockSize) > in.length) in encryptBlock()
195 cbcV[i] ^= in[inOff + i]; in encryptBlock()
222 int inOff, in decryptBlock() argument
227 if ((inOff + blockSize) > in.length) in decryptBlock()
232 System.arraycopy(in, inOff, cbcNextV, 0, blockSize); in decryptBlock()
234 int length = cipher.processBlock(in, inOff, out, outOff); in decryptBlock()
DCCMBlockCipher.java119 public void processAADBytes(byte[] in, int inOff, int len) in processAADBytes() argument
122 associatedText.write(in, inOff, len); in processAADBytes()
133 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument
136 if (in.length < (inOff + inLen)) in processBytes()
140 data.write(in, inOff, inLen); in processBytes()
204 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument
222 processPacket(in, inOff, inLen, output, 0); in processPacket()
240 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) in processPacket() argument
269 int inIndex = inOff; in processPacket()
280 calculateMac(in, inOff, inLen, macBlock); in processPacket()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DCBCBlockCipher.java145 int inOff, in processBlock() argument
150 … return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); in processBlock()
179 int inOff, in encryptBlock() argument
184 if ((inOff + blockSize) > in.length) in encryptBlock()
195 cbcV[i] ^= in[inOff + i]; in encryptBlock()
222 int inOff, in decryptBlock() argument
227 if ((inOff + blockSize) > in.length) in decryptBlock()
232 System.arraycopy(in, inOff, cbcNextV, 0, blockSize); in decryptBlock()
234 int length = cipher.processBlock(in, inOff, out, outOff); in decryptBlock()
DCCMBlockCipher.java119 public void processAADBytes(byte[] in, int inOff, int len) in processAADBytes() argument
122 associatedText.write(in, inOff, len); in processAADBytes()
133 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument
136 if (in.length < (inOff + inLen)) in processBytes()
140 data.write(in, inOff, inLen); in processBytes()
204 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument
222 processPacket(in, inOff, inLen, output, 0); in processPacket()
240 public int processPacket(byte[] in, int inOff, int inLen, byte[] output, int outOff) in processPacket() argument
269 int inIndex = inOff; in processPacket()
280 calculateMac(in, inOff, inLen, macBlock); in processPacket()
[all …]
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cert/selector/
DMSOutlookKeyIdCalculator.java90 int inOff, in update() argument
98 update(in[inOff]); in update()
100 inOff++; in update()
109 processWord(in, inOff); in update()
111 inOff += xBuf.length; in update()
121 update(in[inOff]); in update()
123 inOff++; in update()
158 protected abstract void processWord(byte[] in, int inOff); in processWord() argument
195 int inOff) in processWord() argument
199 int n = in[ inOff] << 24; in processWord()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DMSOutlookKeyIdCalculator.java89 int inOff, in update() argument
97 update(in[inOff]); in update()
99 inOff++; in update()
108 processWord(in, inOff); in update()
110 inOff += xBuf.length; in update()
120 update(in[inOff]); in update()
122 inOff++; in update()
157 protected abstract void processWord(byte[] in, int inOff); in processWord() argument
194 int inOff) in processWord() argument
198 int n = in[ inOff] << 24; in processWord()
[all …]

1234567