Home
last modified time | relevance | path

Searched refs:inputLen (Results 1 – 10 of 10) 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()
133 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
138 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.java67 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
68 return inputLen + 10; in engineGetOutputSize()
100 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
105 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
111 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
117 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.java533 public final int getOutputSize(int inputLen) { in getOutputSize() argument
537 return getSpi().engineGetOutputSize(inputLen); in getOutputSize()
1018 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument
1025 checkInputOffsetAndCount(input.length, inputOffset, inputLen); in update()
1029 return getSpi().engineUpdate(input, inputOffset, inputLen); in update()
1034 int inputLen) { in checkInputOffsetAndCount() argument
1035 if ((inputOffset | inputLen) < 0 in checkInputOffsetAndCount()
1037 || inputArrayLength - inputOffset < inputLen) { in checkInputOffsetAndCount()
1040 + "; inputLen=" + inputLen); in checkInputOffsetAndCount()
1072 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
392 protected void engineUpdateAAD(byte[] input, int inputOffset, int inputLen) { in engineUpdateAAD() argument
454 int inputLen) throws IllegalBlockSizeException, BadPaddingException; in engineDoFinal() argument
483 int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
DExemptionMechanismSpi.java75 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
DExemptionMechanism.java217 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument
221 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java82 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
114 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
119 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
125 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
131 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument