Home
last modified time | relevance | path

Searched refs:outputOffset (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DNullCipherSpi.java89 int outputOffset) { in engineUpdate() argument
91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate()
103 int outputOffset) in engineDoFinal() argument
106 output, outputOffset); in engineDoFinal()
DCipher.java1820 byte[] output, int outputOffset) in update() argument
1827 || outputOffset < 0) { in update()
1836 output, outputOffset); in update()
1991 public final int doFinal(byte[] output, int outputOffset) in doFinal() argument
1997 if ((output == null) || (outputOffset < 0)) { in doFinal()
2002 return spi.engineDoFinal(null, 0, 0, output, outputOffset); in doFinal()
2254 byte[] output, int outputOffset) in doFinal() argument
2262 || outputOffset < 0) { in doFinal()
2268 output, outputOffset); in doFinal()
DExemptionMechanism.java466 public final int genExemptionBlob(byte[] output, int outputOffset) in genExemptionBlob() argument
473 int n = exmechSpi.engineGenExemptionBlob(output, outputOffset); in genExemptionBlob()
DExemptionMechanismSpi.java168 (byte[] output, int outputOffset) in engineGenExemptionBlob() argument
DCipherSpi.java519 int outputOffset) in engineUpdate() argument
668 int outputOffset) in engineDoFinal() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java59 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
61 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
119 int outputOffset) throws ShortBufferException { 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()
427 byte[] inArray, int inOfs, int inLen, byte[] outArray, int outputOffset) in testCrypt_outputSizeUpdatedAfterShortBufferException()
534 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
537 if ((output.length - outputOffset) < t) { in engineUpdate()
541 output[i + outputOffset] = initV[i]; in engineUpdate()
559 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
[all …]
DExemptionMechanismTest.java179 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument
181 if (output.length - outputOffset < in engineGenExemptionBlob()
182 super.engineGenExemptionBlob(output, outputOffset)) { in engineGenExemptionBlob()
185 if (output[outputOffset + 3] == 33) { in engineGenExemptionBlob()
188 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
DExemptionMechanismSpiTest.java56 …protected int engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException,… in engineGenExemptionBlob() argument
57 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
DCipherOutputStream1Test.java277 int outputOffset) throws ShortBufferException { in engineUpdate() argument
295 int outputOffset) in engineDoFinal() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java106 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
118 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
DMyExemptionMechanismSpi.java55 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java87 …pdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.c… in update() argument
93 public final int doFinal(byte[] output, int outputOffset) throws javax.crypto.BadPaddingException, … in doFinal() argument
101 …Final(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) throws javax.c… in doFinal() argument
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java260 int outputOffset) throws ShortBufferException { in engineUpdate() argument
272 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
DCipherInputStreamTest.java246 int outputOffset) throws ShortBufferException { in engineUpdate() argument
248 if ((output.length - outputOffset) < expectedOutputSize) { in engineUpdate()