Home
last modified time | relevance | path

Searched refs:inLen (Results 1 – 25 of 29) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java131 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
209 output = new byte[inLen + macSize]; in processPacket()
213 if (inLen < macSize) in processPacket()
217 output = new byte[inLen - macSize]; in processPacket()
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
253 if (inLen >= limitLen) in processPacket()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java191 int inLen) in processBlock() argument
196 return encodeBlock(in, inOff, inLen); in processBlock()
200 return decodeBlock(in, inOff, inLen); in processBlock()
207 int inLen) in encodeBlock() argument
210 if (inLen > getInputBlockSize()) in encodeBlock()
221 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
236 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
245 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock()
246 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
309 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument
[all …]
DOAEPEncoding.java128 int inLen) in processBlock() argument
133 return encodeBlock(in, inOff, inLen); in processBlock()
137 return decodeBlock(in, inOff, inLen); in processBlock()
144 int inLen) in encodeBlock() argument
147 if (inLen > getInputBlockSize()) in encodeBlock()
157 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
162 block[block.length - inLen - 1] = 0x01; in encodeBlock()
216 int inLen) in decodeBlock() argument
219 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRFC3394WrapEngine.java88 int inLen) in wrap() argument
95 int n = inLen / 8; in wrap()
97 if ((n * 8) != inLen) in wrap()
102 byte[] block = new byte[inLen + iv.length]; in wrap()
106 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap()
139 int inLen) in unwrap() argument
147 int n = inLen / 8; in unwrap()
149 if ((n * 8) != inLen) in unwrap()
154 byte[] block = new byte[inLen - iv.length]; in unwrap()
159 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
DRSACoreEngine.java88 int inLen) in convertInput() argument
90 if (inLen > (getInputBlockSize() + 1)) in convertInput()
94 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput()
101 if (inOff != 0 || inLen != in.length) in convertInput()
103 block = new byte[inLen]; in convertInput()
105 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
DDESedeWrapEngine.java139 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument
146 byte keyToBeWrapped[] = new byte[inLen]; in wrap()
148 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap()
211 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
225 if (inLen % blockSize != 0) in unwrap()
252 byte TEMP3[] = new byte[inLen]; in unwrap()
254 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
DRSABlindedEngine.java88 int inLen) in processBlock() argument
95 BigInteger input = core.convertInput(in, inOff, inLen); in processBlock()
/external/libopus/silk/
Dresampler.c178 …opus_int32 inLen /* I Number of input samples … in silk_resampler() argument
184 silk_assert( inLen >= S->Fs_in_kHz ); in silk_resampler()
196 …silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in… in silk_resampler()
200 … silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); in silk_resampler()
204 …silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz ); in silk_resampler()
208 …silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16… in silk_resampler()
212 silk_memcpy( S->delayBuf, &in[ inLen - S->inputDelay ], S->inputDelay * sizeof( opus_int16 ) ); in silk_resampler()
Dresampler_down2_3.c43 …opus_int32 inLen /* I Number of input samples … in silk_resampler_down2_3() argument
58 nSamplesIn = silk_min( inLen, RESAMPLER_MAX_BATCH_SIZE_IN ); in silk_resampler_down2_3()
90 inLen -= nSamplesIn; in silk_resampler_down2_3()
92 if( inLen > 0 ) { in silk_resampler_down2_3()
Dresampler_private_IIR_FIR.c69 opus_int32 inLen /* I Number of input samples */ in silk_resampler_private_IIR_FIR() argument
86 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_IIR_FIR()
94 inLen -= nSamplesIn; in silk_resampler_private_IIR_FIR()
96 if( inLen > 0 ) { in silk_resampler_private_IIR_FIR()
Dresampler_private.h49 opus_int32 inLen /* I Number of input samples */
57 opus_int32 inLen /* I Number of input samples */
Dresampler_down2.c40 …opus_int32 inLen /* I Number of input samples … in silk_resampler_down2() argument
43 opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 ); in silk_resampler_down2()
Dresampler_private_down_FIR.c149 opus_int32 inLen /* I Number of input samples */ in silk_resampler_private_down_FIR() argument
169 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_down_FIR()
181 inLen -= nSamplesIn; in silk_resampler_private_down_FIR()
183 if( inLen > 1 ) { in silk_resampler_private_down_FIR()
DSigProc_FIX.h76 …opus_int32 inLen /* I Number of input samples …
86 …opus_int32 inLen /* I Number of input samples …
96 …opus_int32 inLen /* I Number of input samples …
/external/syslinux/core/lwip/src/netif/ppp/
Dmd5.c134 MD5Update(MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen) in MD5Update() argument
141 PPPDEBUG(LOG_INFO, ("MD5Update: %u:%.*H\n", inLen, LWIP_MIN(inLen, 20) * 2, inBuf)); in MD5Update()
142 PPPDEBUG(LOG_INFO, ("MD5Update: %u:%s\n", inLen, inBuf)); in MD5Update()
149 if ((mdContext->i[0] + ((u32_t)inLen << 3)) < mdContext->i[0]) { in MD5Update()
152 mdContext->i[0] += ((u32_t)inLen << 3); in MD5Update()
153 mdContext->i[1] += ((u32_t)inLen >> 29); in MD5Update()
155 while (inLen--) { in MD5Update()
Dmd5.h52 void MD5Update( MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DWrapper.java14 public byte[] wrap(byte[] in, int inOff, int inLen); in wrap() argument
16 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
/external/ppp/pppd/
Dmd5.c122 void MD5_Update (mdContext, inBuf, inLen) in MD5_Update() argument
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--) {
Dmd5.h61 void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Denhancer_interface.c40 size_t inLen=iLBCdec_inst->blockl+120; in WebRtcIlbcfix_EnhancerInterface() local
105 enh_buf+ENH_BUFL-inLen, /* Input samples */ in WebRtcIlbcfix_EnhancerInterface()
106 inLen + ENH_BUFL_FILTEROVERHEAD, in WebRtcIlbcfix_EnhancerInterface()
108 inLen / 2, in WebRtcIlbcfix_EnhancerInterface()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java226 int inLen = 0; in encode() local
231 in[inLen++]=ch; in encode()
239 rc = encode(inLen,in,case_flags, outLen, output); in encode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java229 int inLen = 0; in encode() local
234 in[inLen++]=ch; in encode()
242 rc = encode(inLen,in,case_flags, outLen, output); in encode()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp571 SizeT inLen = inSize - inPos; in Decode() local
577 xzu.InBuf + inPos, &inLen, in Decode()
580 inPos += inLen; in Decode()
583 InSize += inLen; in Decode()
588 bool finished = ((inLen == 0 && outLen == 0) || res != SZ_OK); in Decode()
/external/icu/icu4c/source/test/iotest/
Dfiletst.c927 size_t inLen =0; in TestCodepageFlush()
949 inLen = fread(inBuf, 1, 200, myCFile); in TestCodepageFlush()
952 if(inLen<=0) { in TestCodepageFlush()
958 for(i=0;i<(int32_t)inLen;i++) { in TestCodepageFlush()
974 if(inLen != 12) { in TestCodepageFlush()
975 log_err("Expected 12 bytes, read %d\n", inLen); in TestCodepageFlush()
977 log_verbose("OK: read %d bytes\n", inLen); in TestCodepageFlush()
/external/skia/tests/
DPathOpsExtendedTest.cpp631 size_t inLen = inData.count(); in initializeTests() local
632 inFile.read(inData.begin(), inLen); in initializeTests()

12