Home
last modified time | relevance | path

Searched refs:inputLen (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/
DNullCipherSpi.java61 public int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
62 return inputLen; in engineGetOutputSize()
96 public byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
100 byte[] result = new byte[inputLen]; in engineUpdate()
101 System.arraycopy(input, inputOffset, result, 0, inputLen); in engineUpdate()
106 public int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
111 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate()
112 return inputLen; in engineUpdate()
131 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
136 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java50 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
52 return super.engineDoFinal(input, inputOffset, inputLen); in engineDoFinal()
56 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
59 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
73 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
74 return super.engineGetOutputSize(inputLen); in engineGetOutputSize()
111 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
112 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate()
116 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
118 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
[all …]
DExemptionMechanismSpiTest.java61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
62 return super.engineGetOutputSize(inputLen); in engineGetOutputSize()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java66 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
67 return inputLen + 10; in engineGetOutputSize()
99 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
DMyExemptionMechanismSpi.java61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
/libcore/luni/src/main/java/javax/crypto/
DCipher.java398 public final int getOutputSize(int inputLen) { in getOutputSize() argument
402 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()
882 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument
889 checkInputOffsetAndCount(input.length, inputOffset, inputLen); in update()
893 return spiImpl.engineUpdate(input, inputOffset, inputLen); in update()
898 int inputLen) { in checkInputOffsetAndCount() argument
899 if ((inputOffset | inputLen) < 0 in checkInputOffsetAndCount()
901 || inputArrayLength - inputOffset < inputLen) { in checkInputOffsetAndCount()
904 + "; inputLen=" + inputLen); in checkInputOffsetAndCount()
936 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument
[all …]
DCipherSpi.java132 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
284 int inputLen); in engineUpdate() argument
310 int inputLen, byte[] output, int outputOffset) in engineUpdate() argument
391 int inputLen) throws IllegalBlockSizeException, BadPaddingException; in engineDoFinal() argument
420 int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
DExemptionMechanismSpi.java75 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
DExemptionMechanism.java216 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument
220 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()