/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/ |
D | NullCipherSpi.java | 64 public int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 65 return inputLen; in engineGetOutputSize() 99 public byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 103 byte[] result = new byte[inputLen]; in engineUpdate() 104 System.arraycopy(input, inputOffset, result, 0, inputLen); in engineUpdate() 109 public int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument 114 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate() 115 return inputLen; in engineUpdate() 134 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 139 return engineUpdate(input, inputOffset, inputLen); in engineDoFinal() [all …]
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherSpiTest.java | 56 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 58 return super.engineDoFinal(input, inputOffset, inputLen); in engineDoFinal() 62 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument 65 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal() 79 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 80 return super.engineGetOutputSize(inputLen); in engineGetOutputSize() 117 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 118 return super.engineUpdate(input, inputOffset, inputLen); in engineUpdate() 122 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 124 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() [all …]
|
D | ExemptionMechanismSpiTest.java | 67 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 68 return super.engineGetOutputSize(inputLen); in engineGetOutputSize()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEStreamCipher.java | 94 int inputLen) in engineGetOutputSize() argument 96 return inputLen; in engineGetOutputSize() 307 int inputLen) in engineUpdate() argument 309 byte[] out = new byte[inputLen]; in engineUpdate() 311 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 319 int inputLen, in engineUpdate() argument 326 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 328 return inputLen; in engineUpdate() 339 int inputLen) in engineDoFinal() argument 341 if (inputLen != 0) in engineDoFinal() [all …]
|
D | JCEIESCipher.java | 91 int inputLen) in engineGetOutputSize() argument 95 return buffer.size() + inputLen + 20; /* SHA1 MAC size */ in engineGetOutputSize() 99 return buffer.size() + inputLen - 20; in engineGetOutputSize() 281 int inputLen) in engineUpdate() argument 283 buffer.write(input, inputOffset, inputLen); in engineUpdate() 290 int inputLen, in engineUpdate() argument 294 buffer.write(input, inputOffset, inputLen); in engineUpdate() 301 int inputLen) in engineDoFinal() argument 304 if (inputLen != 0) in engineDoFinal() 306 buffer.write(input, inputOffset, inputLen); in engineDoFinal() [all …]
|
D | BrokenJCEBlockCipher.java | 111 int inputLen) in engineGetOutputSize() argument 113 return cipher.getOutputSize(inputLen); in engineGetOutputSize() 381 int inputLen) in engineUpdate() argument 383 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 389 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 393 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 401 int inputLen, in engineUpdate() argument 405 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 411 int inputLen) in engineDoFinal() argument 415 byte[] tmp = new byte[engineGetOutputSize(inputLen)]; in engineDoFinal() [all …]
|
D | JCEBlockCipher.java | 119 int inputLen) in engineGetOutputSize() argument 121 return cipher.getOutputSize(inputLen); in engineGetOutputSize() 580 int inputLen) in engineUpdate() argument 582 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 588 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 606 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 614 int inputLen, in engineUpdate() argument 621 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 632 int inputLen) in engineDoFinal() argument 636 byte[] tmp = new byte[engineGetOutputSize(inputLen)]; in engineDoFinal() [all …]
|
D | JCERSACipher.java | 127 int inputLen) in engineGetOutputSize() argument 385 int inputLen) in engineUpdate() argument 387 bOut.write(input, inputOffset, inputLen); in engineUpdate() 410 int inputLen, in engineUpdate() argument 414 bOut.write(input, inputOffset, inputLen); in engineUpdate() 437 int inputLen) in engineDoFinal() argument 442 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 477 int inputLen, in engineDoFinal() argument 484 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
|
D | WrapCipherSpi.java | 97 int inputLen) in engineGetOutputSize() argument 228 int inputLen) in engineUpdate() argument 236 int inputLen, in engineUpdate() argument 247 int inputLen) in engineDoFinal() argument 258 int inputLen, in engineDoFinal() argument
|
/dalvik/libcore/crypto/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
|
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
D | Cipher.java | 419 public final int getOutputSize(int inputLen) { in getOutputSize() argument 424 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize() 924 public final byte[] update(byte[] input, int inputOffset, int inputLen) { in update() argument 932 if (inputOffset < 0 || inputLen < 0 in update() 933 || inputLen > input.length in update() 934 || inputOffset > input.length - inputLen) { in update() 941 return spiImpl.engineUpdate(input, inputOffset, inputLen); in update() 974 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument 976 return update(input, inputOffset, inputLen, output, 0); in update() 1011 public final int update(byte[] input, int inputOffset, int inputLen, in update() argument [all …]
|
D | CipherSpi.java | 143 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument 305 int inputLen); in engineUpdate() argument 333 int inputLen, byte[] output, int outputOffset) in engineUpdate() argument 415 int inputLen) throws IllegalBlockSizeException, BadPaddingException; in engineDoFinal() argument 446 int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
|
D | ExemptionMechanismSpi.java | 81 protected abstract int engineGetOutputSize(int inputLen); in engineGetOutputSize() argument
|
D | ExemptionMechanism.java | 234 public final int getOutputSize(int inputLen) throws IllegalStateException { in getOutputSize() argument 238 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()
|
/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/nls/ |
D | messages.properties | 47 crypto.1E=Incorrect inputOffset/inputLen parameters 50 crypto.21=Incorrect inputOffset/inputLen parameters
|