/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/ |
D | CCMBlockCipher.java | 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 211 output = new byte[inLen + macSize]; in processPacket() 215 if (inLen < macSize) in processPacket() 219 output = new byte[inLen - macSize]; in processPacket() 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 255 if (inLen >= limitLen) in processPacket() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | CCMBlockCipher.java | 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 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 194 int inLen) in processBlock() argument 199 return encodeBlock(in, inOff, inLen); in processBlock() 203 return decodeBlock(in, inOff, inLen); in processBlock() 210 int inLen) in encodeBlock() argument 213 if (inLen > getInputBlockSize()) in encodeBlock() 224 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 239 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 248 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock() 249 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 312 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument [all …]
|
D | OAEPEncoding.java | 131 int inLen) in processBlock() argument 136 return encodeBlock(in, inOff, inLen); in processBlock() 140 return decodeBlock(in, inOff, inLen); in processBlock() 147 int inLen) in encodeBlock() argument 150 if (inLen > getInputBlockSize()) in encodeBlock() 160 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 165 block[block.length - inLen - 1] = 0x01; in encodeBlock() 219 int inLen) in decodeBlock() argument 222 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 192 int inLen) in processBlock() argument 197 return encodeBlock(in, inOff, inLen); in processBlock() 201 return decodeBlock(in, inOff, inLen); in processBlock() 208 int inLen) in encodeBlock() argument 211 if (inLen > getInputBlockSize()) in encodeBlock() 222 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 237 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 246 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock() 247 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 310 private byte[] decodeBlockOrRandom(byte[] in, int inOff, int inLen) in decodeBlockOrRandom() argument [all …]
|
D | OAEPEncoding.java | 129 int inLen) in processBlock() argument 134 return encodeBlock(in, inOff, inLen); in processBlock() 138 return decodeBlock(in, inOff, inLen); in processBlock() 145 int inLen) in encodeBlock() argument 148 if (inLen > getInputBlockSize()) in encodeBlock() 158 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 163 block[block.length - inLen - 1] = 0x01; in encodeBlock() 217 int inLen) in decodeBlock() argument 220 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 90 int inLen) in wrap() argument 97 int n = inLen / 8; in wrap() 99 if ((n * 8) != inLen) in wrap() 104 byte[] block = new byte[inLen + iv.length]; in wrap() 108 System.arraycopy(in, inOff, block, iv.length, inLen); in wrap() 141 int inLen) in unwrap() argument 149 int n = inLen / 8; in unwrap() 151 if ((n * 8) != inLen) in unwrap() 156 byte[] block = new byte[inLen - iv.length]; in unwrap() 161 System.arraycopy(in, inOff + iv.length, block, 0, inLen - iv.length); in unwrap()
|
D | RSACoreEngine.java | 90 int inLen) in convertInput() argument 92 if (inLen > (getInputBlockSize() + 1)) in convertInput() 96 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput() 103 if (inOff != 0 || inLen != in.length) in convertInput() 105 block = new byte[inLen]; in convertInput() 107 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
|
D | DESedeWrapEngine.java | 142 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument 149 byte keyToBeWrapped[] = new byte[inLen]; in wrap() 151 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap() 214 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument 228 if (inLen % blockSize != 0) in unwrap() 255 byte TEMP3[] = new byte[inLen]; in unwrap() 257 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 88 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()
|
D | RSACoreEngine.java | 89 int inLen) in convertInput() argument 91 if (inLen > (getInputBlockSize() + 1)) in convertInput() 95 else if (inLen == (getInputBlockSize() + 1) && !forEncryption) in convertInput() 102 if (inOff != 0 || inLen != in.length) in convertInput() 104 block = new byte[inLen]; in convertInput() 106 System.arraycopy(in, inOff, block, 0, inLen); in convertInput()
|
D | DESedeWrapEngine.java | 140 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument 147 byte keyToBeWrapped[] = new byte[inLen]; in wrap() 149 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap() 212 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument 226 if (inLen % blockSize != 0) in unwrap() 253 byte TEMP3[] = new byte[inLen]; in unwrap() 255 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
|
D | RSABlindedEngine.java | 89 int inLen) in processBlock() argument 96 BigInteger input = core.convertInput(in, inOff, inLen); in processBlock()
|
/external/libopus/silk/ |
D | resampler.c | 178 …opus_int32 inLen /* I Number of input samples … in silk_resampler() argument 184 celt_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()
|
D | resampler_down2_3.c | 43 …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()
|
D | resampler_private_IIR_FIR.c | 69 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()
|
D | resampler_private.h | 49 opus_int32 inLen /* I Number of input samples */ 57 opus_int32 inLen /* I Number of input samples */
|
D | resampler_down2.c | 40 …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()
|
D | resampler_private_down_FIR.c | 149 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()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | Wrapper.java | 14 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | Wrapper.java | 18 public byte[] wrap(byte[] in, int inOff, int inLen); in wrap() argument 20 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | WikipediaOfficialLanguages.java | 182 int inLen = getStartLen(comments, "in "); in getRegionSet() local 183 if (inLen == 0) { in getRegionSet() 184 inLen = getStartLen(comments, "minority language in "); in getRegionSet() 186 if (inLen == 0) { in getRegionSet() 189 comments = comments.substring(inLen); in getRegionSet()
|
/external/ppp/pppd/ |
D | md5.c | 122 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--) {
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | enhancer_interface.c | 40 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/iperf3/src/ |
D | units.c | 268 void unit_snprintf(char *s, int inLen, in unit_snprintf() argument 349 snprintf(s, inLen, format, inNum, suffix); in unit_snprintf()
|