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

12

/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/chromium_org/third_party/opus/src/silk/
H A Dresampler_private.h49 opus_int32 inLen /* I Number of input samples */
57 opus_int32 inLen /* I Number of input samples */
H A Dresampler_down2_3.c41 opus_int16 *out, /* O Output signal [ floor(2*inLen/3) ] */
42 const opus_int16 *in, /* I Input signal [ inLen ] */
43 opus_int32 inLen /* I Number of input samples */
58 nSamplesIn = silk_min( inLen, RESAMPLER_MAX_BATCH_SIZE_IN );
90 inLen -= nSamplesIn;
92 if( inLen > 0 ) {
H A Dresampler_down2.c40 opus_int32 inLen /* I Number of input samples */
43 opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 );
H A Dresampler_private_IIR_FIR.c69 opus_int32 inLen /* I Number of input samples */
86 nSamplesIn = silk_min( inLen, S->batchSize );
94 inLen -= nSamplesIn;
96 if( inLen > 0 ) {
H A Dresampler.c178 opus_int32 inLen /* I Number of input samples */
184 silk_assert( inLen >= S->Fs_in_kHz );
196 silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
200 silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
204 silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
208 silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16 ) );
212 silk_memcpy( S->delayBuf, &in[ inLen - S->inputDelay ], S->inputDelay * sizeof( opus_int16 ) );
H A Dresampler_private_down_FIR.c149 opus_int32 inLen /* I Number of input samples */
169 nSamplesIn = silk_min( inLen, S->batchSize );
181 inLen -= nSamplesIn;
183 if( inLen > 1 ) {
/external/libopus/silk/
H A Dresampler_private.h49 opus_int32 inLen /* I Number of input samples */
57 opus_int32 inLen /* I Number of input samples */
H A Dresampler_down2_3.c41 opus_int16 *out, /* O Output signal [ floor(2*inLen/3) ] */
42 const opus_int16 *in, /* I Input signal [ inLen ] */
43 opus_int32 inLen /* I Number of input samples */
58 nSamplesIn = silk_min( inLen, RESAMPLER_MAX_BATCH_SIZE_IN );
90 inLen -= nSamplesIn;
92 if( inLen > 0 ) {
H A Dresampler_down2.c40 opus_int32 inLen /* I Number of input samples */
43 opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 );
H A Dresampler_private_IIR_FIR.c69 opus_int32 inLen /* I Number of input samples */
86 nSamplesIn = silk_min( inLen, S->batchSize );
94 inLen -= nSamplesIn;
96 if( inLen > 0 ) {
H A Dresampler.c178 opus_int32 inLen /* I Number of input samples */
184 silk_assert( inLen >= S->Fs_in_kHz );
196 silk_resampler_private_up2_HQ_wrapper( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
200 silk_resampler_private_IIR_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
204 silk_resampler_private_down_FIR( S, &out[ S->Fs_out_kHz ], &in[ nSamples ], inLen - S->Fs_in_kHz );
208 silk_memcpy( &out[ S->Fs_out_kHz ], &in[ nSamples ], ( inLen - S->Fs_in_kHz ) * sizeof( opus_int16 ) );
212 silk_memcpy( S->delayBuf, &in[ inLen - S->inputDelay ], S->inputDelay * sizeof( opus_int16 ) );
H A Dresampler_private_down_FIR.c149 opus_int32 inLen /* I Number of input samples */
169 nSamplesIn = silk_min( inLen, S->batchSize );
181 inLen -= nSamplesIn;
183 if( inLen > 1 ) {
/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, inOff, 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, inOff + 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java130 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) argument
133 data.write(in, inOff, inLen);
192 * @param inLen length of the data in the input array.
197 public byte[] processPacket(byte[] in, int inOff, int inLen) argument
204 output = new byte[inLen + macSize];
208 if (inLen < macSize)
212 output = new byte[inLen - macSize];
215 processPacket(in, inOff, inLen, output, 0);
225 * @param inLen length of the data in the input array.
233 public int processPacket(byte[] in, int inOff, int inLen, byt argument
[all...]
/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...]
/external/chromium_org/third_party/skia/experimental/Intersection/AddTestOutput/
H A Dmain.cpp69 size_t inLen = inData.count(); local
70 inFile.read(inData.begin(), inLen);
101 inLen - (insert - inData.begin()) - 2)) {
/external/skia/experimental/Intersection/AddTestOutput/
H A Dmain.cpp69 size_t inLen = inData.count(); local
70 inFile.read(inData.begin(), inLen);
101 inLen - (insert - inData.begin()) - 2)) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Denhancer_interface.c40 int inLen=iLBCdec_inst->blockl+120; local
100 enh_buf+ENH_BUFL-inLen, /* Input samples */
101 (int16_t)(inLen+ENH_BUFL_FILTEROVERHEAD),
103 (int16_t)WEBRTC_SPL_RSHIFT_W16(inLen, 1),
/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--) {

Completed in 328 milliseconds

12