/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/ |
D | NullCipherSpi.java | 61 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/ |
D | CipherSpiTest.java | 50 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 …]
|
D | ExemptionMechanismSpiTest.java | 61 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/ |
D | MyCipher.java | 66 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
|
D | MyExemptionMechanismSpi.java | 61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
|
/libcore/luni/src/main/java/javax/crypto/ |
D | Cipher.java | 398 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 …]
|
D | CipherSpi.java | 132 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
|
D | ExemptionMechanismSpi.java | 75 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
|
D | ExemptionMechanism.java | 216 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument 220 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()
|