Searched refs:inLen (Results 1 - 13 of 13) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
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
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DPKCS1Encoding.java127 int inLen)
132 return encodeBlock(in, inOff, inLen);
136 return decodeBlock(in, inOff, inLen);
143 int inLen)
146 if (inLen > getInputBlockSize())
157 for (int i = 1; i != block.length - inLen - 1; i++)
172 for (int i = 1; i != block.length - inLen - 1; i++)
181 block[block.length - inLen - 1] = 0x00; // mark the end of the padding
182 System.arraycopy(in, inOff, block, block.length - inLen, 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
[all...]
H A DOAEPEncoding.java126 int inLen)
131 return encodeBlock(in, inOff, inLen);
135 return decodeBlock(in, inOff, inLen);
142 int inLen)
150 System.arraycopy(in, inOff, block, block.length - inLen, inLen);
155 block[block.length - inLen - 1] = 0x01;
209 int inLen)
212 byte[] data = engine.processBlock(in, inOff, inLen);
123 processBlock( byte[] in, int inOff, int inLen) argument
139 encodeBlock( byte[] in, int inOff, int inLen) argument
206 decodeBlock( byte[] in, int inOff, int inLen) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
H A DRFC3394WrapEngine.java70 int inLen)
77 int n = inLen / 8;
79 if ((n * 8) != inLen)
84 byte[] block = new byte[inLen + iv.length];
88 System.arraycopy(in, 0, block, iv.length, inLen);
121 int inLen)
129 int n = inLen / 8;
131 if ((n * 8) != inLen)
136 byte[] block = new byte[inLen - iv.length];
141 System.arraycopy(in, iv.length, block, 0, inLen
67 wrap( byte[] in, int inOff, int inLen) argument
118 unwrap( byte[] in, int inOff, int inLen) argument
[all...]
H A DRSACoreEngine.java88 int inLen)
90 if (inLen > (getInputBlockSize() + 1))
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption)
101 if (inOff != 0 || inLen != in.length)
103 block = new byte[inLen];
105 System.arraycopy(in, inOff, block, 0, inLen);
85 convertInput( byte[] in, int inOff, int inLen) argument
H A DDESedeWrapEngine.java137 * @param inLen
140 public byte[] wrap(byte[] in, int inOff, int inLen) argument
147 byte keyToBeWrapped[] = new byte[inLen];
149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen);
208 * @param inLen
212 public byte[] unwrap(byte[] in, int inOff, int inLen) argument
226 if (inLen % blockSize != 0)
253 byte TEMP3[] = new byte[inLen];
255 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize)
H A DRSABlindedEngine.java81 * @param inLen the length of the data to be processed.
88 int inLen)
95 BigInteger input = core.convertInput(in, inOff, inLen);
85 processBlock( byte[] in, int inOff, int inLen) argument
/external/svox/pico/lib/
H A Dpicowa.c60 picoos_uint16 inLen; /* length of item in inBuf, 0 for empty buf */ member in struct:wa_subobj
97 wa->inLen = 0;
292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen,
295 wa->inLen = 0;
333 wa->inLen = 0;
340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen,
343 wa->inLen = 0;
390 PICODBG_DEBUG(("doing state %i, inLen: %d, outLen: %d",
391 wa->procState, wa->inLen, wa->outLen));
398 if (wa->inLen
[all...]
H A Dpicosa.c785 inLen number of bytes in grapheme buffer
786 inPos start position of current grapheme (0..inLen-1)
794 const picoos_uint16 inLen,
807 if (!picobase_get_next_utf8char(sInChar, inLen, &pos, cstr) ||
812 for (nCount = 0; nCount < inLen; ) {
813 if (!picobase_get_next_utf8char(sInChar, inLen, &nCount, cstr)) {
791 saGetNrVowel(register picodata_ProcessingUnit this, register sa_subobj_t *sa, const picoos_uint8 *sInChar, const picoos_uint16 inLen, const picoos_uint8 inPos, picoos_uint8 *nVow, picoos_uint8 *nVord) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java104 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) argument
107 data.write(in, inOff, inLen);
163 public byte[] processPacket(byte[] in, int inOff, int inLen) argument
186 out = new byte[inLen + macSize];
188 calculateMac(in, inOff, inLen, macBlock);
192 while (index < inLen - blockSize) // S1...
201 System.arraycopy(in, index, block, 0, inLen - index);
205 System.arraycopy(block, 0, out, outOff, inLen - index);
207 outOff += inLen - index;
216 out = new byte[inLen
[all...]
/external/ppp/pppd/
H A Dmd5.c119 account for the presence of each of the characters inBuf[0..inLen-1]
122 void MD5_Update (mdContext, inBuf, inLen)
125 unsigned int inLen;
135 if ((mdContext->i[0] + ((UINT4)inLen << 3)) < mdContext->i[0])
137 mdContext->i[0] += ((UINT4)inLen << 3);
138 mdContext->i[1] += ((UINT4)inLen >> 29);
140 while (inLen--) {
/external/icu4c/test/iotest/
H A Dfiletst.c918 size_t inLen =0;
940 inLen = fread(inBuf, 1, 200, myCFile);
943 if(inLen<=0) {
949 for(i=0;i<(int32_t)inLen;i++) {
965 if(inLen != 12) {
966 log_err("Expected 12 bytes, read %d\n", inLen);
968 log_verbose("OK: read %d bytes\n", inLen);
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...

Completed in 260 milliseconds