/libcore/ojluni/src/main/java/javax/crypto/ |
D | NullCipherSpi.java | 79 protected byte[] engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument 83 System.arraycopy(input, inputOffset, x, 0, inputLen); in engineUpdate() 87 protected int engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument 91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate() 95 protected byte[] engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument 98 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal() 101 protected int engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument 105 return engineUpdate(input, inputOffset, inputLen, in engineDoFinal()
|
D | Cipher.java | 1709 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument 1713 if (input == null || inputOffset < 0 in update() 1714 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1722 return spi.engineUpdate(input, inputOffset, inputLen); in update() 1761 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument 1767 if (input == null || inputOffset < 0 in update() 1768 || inputLen > (input.length - inputOffset) || inputLen < 0) { in update() 1776 return spi.engineUpdate(input, inputOffset, inputLen, in update() 1819 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument 1825 if (input == null || inputOffset < 0 in update() [all …]
|
D | CipherSpi.java | 488 protected abstract byte[] engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument 517 protected abstract int engineUpdate(byte[] input, int inputOffset, in engineUpdate() argument 609 protected abstract byte[] engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument 666 protected abstract int engineDoFinal(byte[] input, int inputOffset, in engineDoFinal() argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherSpiTest.java | 52 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 54 return super.engineDoFinal(input, inputOffset, inputLen); in engineDoFinal() 58 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument 61 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal() 113 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 114 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate() 118 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 120 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 366 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) { in testCrypt_doNotCallPutForZeroLengthOutput() 523 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument [all …]
|
D | CipherOutputStream1Test.java | 271 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 276 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 282 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 286 engineDoFinal(input, inputOffset, inputLen, new byte[10], 0); in engineDoFinal() 294 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyCipher.java | 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
|
/libcore/ojluni/annotations/mmodule/javax/crypto/ |
D | Cipher.annotated.java | 83 public final byte[] update(byte[] input, int inputOffset, int inputLen) { throw new RuntimeExceptio… in update() argument 85 public final int update(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.cr… in update() argument 87 public final int update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffse… in update() argument 97 public final byte[] doFinal(byte[] input, int inputOffset, int inputLen) throws javax.crypto.BadPad… in doFinal() argument 99 public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) throws javax.c… in doFinal() argument 101 public final int doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffs… in doFinal() argument
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 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 | 78 protected void engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
|
D | CipherInputStreamTest.java | 245 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 255 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 261 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) { in engineDoFinal() argument
|