/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 127 int inLen) in processBlock() argument 132 return encodeBlock(in, inOff, inLen); in processBlock() 136 return decodeBlock(in, inOff, inLen); in processBlock() 143 int inLen) in encodeBlock() argument 146 if (inLen > getInputBlockSize()) in encodeBlock() 157 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 172 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock() 181 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock() 182 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 193 int inLen) in decodeBlock() argument [all …]
|
D | ISO9796d1Encoding.java | 126 int inLen) in processBlock() argument 131 return encodeBlock(in, inOff, inLen); in processBlock() 135 return decodeBlock(in, inOff, inLen); in processBlock() 142 int inLen) in encodeBlock() argument 147 int z = inLen; in encodeBlock() 154 System.arraycopy(in, inOff + inLen - (t - i), in encodeBlock() 199 int inLen) in decodeBlock() argument 202 byte[] block = engine.processBlock(in, inOff, inLen); in decodeBlock()
|
D | OAEPEncoding.java | 122 int inLen) in processBlock() argument 127 return encodeBlock(in, inOff, inLen); in processBlock() 131 return decodeBlock(in, inOff, inLen); in processBlock() 138 int inLen) in encodeBlock() argument 146 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock() 151 block[block.length - inLen - 1] = 0x01; in encodeBlock() 205 int inLen) in decodeBlock() argument 208 byte[] data = engine.processBlock(in, inOff, inLen); in decodeBlock()
|
/external/svox/pico/lib/ |
D | picowa.c | 60 picoos_uint16 inLen; /* length of item in inBuf, 0 for empty buf */ member 97 wa->inLen = 0; in waInitialize() 292 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph() 295 wa->inLen = 0; in waProcessWordgraph() 333 wa->inLen = 0; in waProcessWordgraph() 340 if (PICO_OK == picodata_copy_item(wa->inBuf, wa->inLen, in waProcessWordgraph() 343 wa->inLen = 0; in waProcessWordgraph() 391 wa->procState, wa->inLen, wa->outLen)); in waStep() 398 if (wa->inLen == 0) { /* is input buffer empty? */ in waStep() 406 wa->inLen = blen; in waStep() [all …]
|
D | picosa.c | 794 const picoos_uint16 inLen, in saGetNrVowel() argument 807 if (!picobase_get_next_utf8char(sInChar, inLen, &pos, cstr) || in saGetNrVowel() 812 for (nCount = 0; nCount < inLen; ) { in saGetNrVowel() 813 if (!picobase_get_next_utf8char(sInChar, inLen, &nCount, cstr)) { in saGetNrVowel()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 70 int inLen) in wrap() argument 77 int n = inLen / 8; in wrap() 79 if ((n * 8) != inLen) in wrap() 84 byte[] block = new byte[inLen + iv.length]; in wrap() 88 System.arraycopy(in, 0, block, iv.length, inLen); in wrap() 121 int inLen) in unwrap() argument 129 int n = inLen / 8; in unwrap() 131 if ((n * 8) != inLen) in unwrap() 136 byte[] block = new byte[inLen - iv.length]; in unwrap() 141 System.arraycopy(in, iv.length, block, 0, inLen - iv.length); in unwrap()
|
D | RSACoreEngine.java | 88 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()
|
D | DESedeWrapEngine.java | 136 public byte[] wrap(byte[] in, int inOff, int inLen) in wrap() argument 143 byte keyToBeWrapped[] = new byte[inLen]; in wrap() 145 System.arraycopy(in, inOff, keyToBeWrapped, 0, inLen); in wrap() 208 public byte[] unwrap(byte[] in, int inOff, int inLen) in unwrap() argument 222 if (inLen % blockSize != 0) in unwrap() 249 byte TEMP3[] = new byte[inLen]; in unwrap() 251 for (int currentBytePos = 0; currentBytePos != inLen; currentBytePos += blockSize) in unwrap()
|
D | RSABlindedEngine.java | 88 int inLen) in processBlock() argument 95 BigInteger input = core.convertInput(in, inOff, inLen); in processBlock()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
D | CCMBlockCipher.java | 104 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) in processBytes() argument 107 data.write(in, inOff, inLen); in processBytes() 163 public byte[] processPacket(byte[] in, int inOff, int inLen) in processPacket() argument 186 out = new byte[inLen + macSize]; in processPacket() 188 calculateMac(in, inOff, inLen, macBlock); in processPacket() 192 while (index < inLen - blockSize) // S1... in processPacket() 201 System.arraycopy(in, index, block, 0, inLen - index); in processPacket() 205 System.arraycopy(block, 0, out, outOff, inLen - index); in processPacket() 207 outOff += inLen - index; in processPacket() 216 out = new byte[inLen - macSize]; in processPacket() [all …]
|
/external/bouncycastle/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/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--) {
|