/libcore/ojluni/src/main/java/javax/crypto/ |
D | NullCipherSpi.java | 56 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 57 return inputLen; in engineGetOutputSize() 80 int inputLen) { in engineUpdate() argument 82 byte[] x = new byte[inputLen]; in engineUpdate() 83 System.arraycopy(input, inputOffset, x, 0, inputLen); in engineUpdate() 88 int inputLen, byte[] output, in engineUpdate() argument 91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate() 92 return inputLen; in engineUpdate() 96 int inputLen) in engineDoFinal() argument 98 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal() [all …]
|
D | Cipher.java | 1029 public final int getOutputSize(int inputLen) { in getOutputSize() argument 1034 if (inputLen < 0) { in getOutputSize() 1039 return spi.engineGetOutputSize(inputLen); in getOutputSize() 1710 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument 1715 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1720 if (inputLen == 0) { in update() 1723 return spi.engineUpdate(input, inputOffset, inputLen); in update() 1762 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument 1769 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1774 if (inputLen == 0) { in update() [all …]
|
D | CipherSpi.java | 279 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument 480 int inputLen); in engineUpdate() argument 509 int inputLen, byte[] output, in engineUpdate() argument 601 int inputLen) in engineDoFinal() argument 658 int inputLen, byte[] output, in engineDoFinal() argument
|
D | ExemptionMechanism.java | 285 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument 290 if (inputLen < 0) { in getOutputSize() 294 return exmechSpi.engineGetOutputSize(inputLen); in getOutputSize()
|
D | ExemptionMechanismSpi.java | 62 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
|
/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 | 67 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
|
D | MyExemptionMechanismSpi.java | 61 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 220 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 254 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 259 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 265 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 271 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
|
D | MockMacSpi.java | 79 protected void engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
|