Searched defs:len (Results 201 - 225 of 5216) sorted by path

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDefiniteLengthInputStream.java65 public int read(byte[] buf, int off, int len) argument
73 int toRead = Math.min(len, _remaining);
H A DIndefiniteLengthInputStream.java51 public int read(byte[] b, int off, int len) argument
55 if (_eofOn00 || len < 3)
57 return super.read(b, off, len);
65 int numRead = _in.read(b, off + 2, len - 2);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
H A DASN1Dump.java390 private static String calculateAscString(byte[] bytes, int off, int len) argument
394 for (int i = off; i != off + len; i++)
/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.
38 * @param len the length of the block to be processed.
43 public byte[] processBlock(byte[] in, int inOff, int len) argument
H A DBufferedBlockCipher.java104 * an input of len bytes.
106 * @param len the length of the input.
108 * with len bytes of input.
111 int len)
113 int total = len + bufOff;
177 * @param len the number of bytes to be copied out of the input array.
187 int len,
192 if (len < 0)
198 int length = getUpdateOutputSize(len);
211 if (len > gapLe
110 getUpdateOutputSize( int len) argument
184 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
[all...]
H A DDerivationFunction.java10 public int generateBytes(byte[] out, int outOff, int len) argument
H A DDigest.java34 * @param len the length of the data.
36 public void update(byte[] in, int inOff, int len); argument
H A DMac.java45 * @param len the length of the input starting at inOff.
49 public void update(byte[] in, int inOff, int len) argument
H A DSigner.java24 public void update(byte[] in, int off, int len); argument
H A DStreamBlockCipher.java76 * @param len the number of bytes to be processed.
84 int len,
89 if (outOff + len > out.length)
94 for (int i = 0; i != len; i++)
81 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
H A DStreamCipher.java40 * @param len the number of bytes to be processed.
45 public void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DGeneralDigest.java65 int len)
70 while ((xBufOff != 0) && (len > 0))
75 len--;
81 while (len > xBuf.length)
86 len -= xBuf.length;
93 while (len > 0)
98 len--;
62 update( byte[] in, int inOff, int len) argument
H A DLongDigest.java87 int len)
92 while ((xBufOff != 0) && (len > 0))
97 len--;
103 while (len > xBuf.length)
108 len -= xBuf.length;
115 while (len > 0)
120 len--;
84 update( byte[] in, int inOff, int len) argument
H A DNullDigest.java28 public void update(byte[] in, int inOff, int len) argument
30 bOut.write(in, inOff, len);
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 DRC4Engine.java74 int len,
78 if ((inOff + len) > in.length)
83 if ((outOff + len) > out.length)
88 for (int i = 0; i < len ; i++)
71 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
H A DDigestInputStream.java37 int len)
40 int n = in.read(b, off, len);
34 read( byte[] b, int off, int len) argument
H A DDigestOutputStream.java28 int len)
31 digest.update(b, off, len);
25 write( byte[] b, int off, int len) argument
H A DMacInputStream.java37 int len)
40 int n = in.read(b, off, len);
34 read( byte[] b, int off, int len) argument
H A DMacOutputStream.java28 int len)
31 mac.update(b, off, len);
25 write( byte[] b, int off, int len) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
H A DCBCBlockCipherMac.java138 int len)
140 if (len < 0)
148 if (len > gapLen)
155 len -= gapLen;
158 while (len > blockSize)
162 len -= blockSize;
167 System.arraycopy(in, inOff, buf, bufOff, len);
169 bufOff += len;
135 update( byte[] in, int inOff, int len) argument
H A DHMac.java174 int len)
176 digest.update(in, inOff, len);
195 int len = digest.doFinal(out, outOff);
211 return len;
230 private static void xorPad(byte[] pad, int len, byte n) argument
232 for (int i = 0; i < len; ++i)
171 update( byte[] in, int inOff, int len) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DAEADBlockCipher.java52 * @param len the number of bytes to be processed.
54 public void processAADBytes(byte[] in, int inOff, int len); argument
73 * @param len the number of bytes to be processed.
79 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
103 * an input of len bytes.
105 * @param len the length of the input.
107 * with len bytes of input.
109 public int getUpdateOutputSize(int len); argument
113 * doFinal with an input of len bytes.
115 * @param len th
119 getOutputSize(int len) argument
[all...]
H A DCCMBlockCipher.java116 public void processAADBytes(byte[] in, int inOff, int len) argument
119 associatedText.write(in, inOff, len);
141 int len = processPacket(data.getBuffer(), 0, data.size(), out, outOff);
145 return len;
170 public int getUpdateOutputSize(int len) argument
175 public int getOutputSize(int len) argument
177 int totalData = len + data.size();
H A DCTSBlockCipher.java41 * an input of len bytes.
43 * @param len the length of the input.
45 * with len bytes of input.
48 int len)
50 int total = len + bufOff;
63 * doFinal with an input of len bytes.
65 * @param len the length of the input.
67 * with len bytes of input.
70 int len)
72 return len
47 getUpdateOutputSize( int len) argument
69 getOutputSize( int len) argument
118 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
[all...]

Completed in 237 milliseconds

1234567891011>>