Home
last modified time | relevance | path

Searched refs:inputOffset (Results 1 – 12 of 12) sorted by relevance

/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/
DNullCipherSpi.java99 public byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
104 System.arraycopy(input, inputOffset, result, 0, inputLen); in engineUpdate()
109 public int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
114 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate()
134 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
139 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
143 public int engineDoFinal(byte[] input, int inputOffset, int inputLen, in engineDoFinal() argument
146 int result = engineUpdate(input, inputOffset, inputLen, output, in engineDoFinal()
/dalvik/libcore/crypto/src/main/java/javax/crypto/
DCipher.java924 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument
932 if (inputOffset < 0 || inputLen < 0 in update()
934 || inputOffset > input.length - inputLen) { in update()
941 return spiImpl.engineUpdate(input, inputOffset, inputLen); in update()
974 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument
976 return update(input, inputOffset, inputLen, output, 0); in update()
1011 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument
1027 if (inputOffset < 0 || inputLen < 0 in update()
1029 || inputOffset > input.length - inputLen) { in update()
1036 return spiImpl.engineUpdate(input, inputOffset, inputLen, output, in update()
[all …]
DCipherSpi.java304 protected abstract byte[] engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument
332 protected abstract int engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument
414 protected abstract byte[] engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument
445 protected abstract int engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java56 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
58 return super.engineDoFinal(input, inputOffset, inputLen); in engineDoFinal()
62 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
65 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
117 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
118 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate()
122 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
124 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
395 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
400 initV[i] = input[inputOffset + i]; in engineUpdate()
[all …]
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java99 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
104 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
110 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
116 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, in engineDoFinal() argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DJCEStreamCipher.java306 int inputOffset, in engineUpdate() argument
311 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
318 int inputOffset, in engineUpdate() argument
326 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
338 int inputOffset, in engineDoFinal() argument
343 byte[] out = engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
357 int inputOffset, in engineDoFinal() argument
364 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DJCEIESCipher.java280 int inputOffset, in engineUpdate() argument
283 buffer.write(input, inputOffset, inputLen); in engineUpdate()
289 int inputOffset, in engineUpdate() argument
294 buffer.write(input, inputOffset, inputLen); in engineUpdate()
300 int inputOffset, in engineDoFinal() argument
306 buffer.write(input, inputOffset, inputLen); in engineDoFinal()
325 int inputOffset, in engineDoFinal() argument
333 buffer.write(input, inputOffset, inputLen); in engineDoFinal()
DJCERSACipher.java384 int inputOffset, in engineUpdate() argument
387 bOut.write(input, inputOffset, inputLen); in engineUpdate()
409 int inputOffset, in engineUpdate() argument
414 bOut.write(input, inputOffset, inputLen); in engineUpdate()
436 int inputOffset, in engineDoFinal() argument
442 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
476 int inputOffset, in engineDoFinal() argument
484 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
DBrokenJCEBlockCipher.java380 int inputOffset, in engineUpdate() argument
389 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
393 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
400 int inputOffset, in engineUpdate() argument
405 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
410 int inputOffset, in engineDoFinal() argument
419 len = cipher.processBytes(input, inputOffset, inputLen, tmp, 0); in engineDoFinal()
444 int inputOffset, in engineDoFinal() argument
454 len = cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DJCEBlockCipher.java579 int inputOffset, in engineUpdate() argument
588 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
606 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
613 int inputOffset, in engineUpdate() argument
621 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
631 int inputOffset, in engineDoFinal() argument
640 len = cipher.processBytes(input, inputOffset, inputLen, tmp, 0); in engineDoFinal()
665 int inputOffset, in engineDoFinal() argument
686 len = cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DWrapCipherSpi.java227 int inputOffset, in engineUpdate() argument
235 int inputOffset, in engineUpdate() argument
246 int inputOffset, in engineDoFinal() argument
257 int inputOffset, in engineDoFinal() argument
/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/nls/
Dmessages.properties47 crypto.1E=Incorrect inputOffset/inputLen parameters
50 crypto.21=Incorrect inputOffset/inputLen parameters