Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java57 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
59 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
117 int outputOffset) throws ShortBufferException { in engineUpdate() argument
118 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
365 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
368 if ((output.length - outputOffset) < t) { in engineUpdate()
372 output[i + outputOffset] = initV[i]; in engineUpdate()
390 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
395 if ((output.length - outputOffset) < t) { in engineDoFinal()
399 output[i + outputOffset] = res[i]; in engineDoFinal()
DExemptionMechanismSpiTest.java56 …protected int engineGenExemptionBlob(byte[] output, int outputOffset) throws ShortBufferException,… in engineGenExemptionBlob() argument
57 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
DExemptionMechanismTest.java222 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument
224 if (output.length - outputOffset < in engineGenExemptionBlob()
225 super.engineGenExemptionBlob(output, outputOffset)) { in engineGenExemptionBlob()
228 if (output[outputOffset + 3] == 33) { in engineGenExemptionBlob()
231 return super.engineGenExemptionBlob(output, outputOffset); in engineGenExemptionBlob()
/libcore/luni/src/main/java/org/apache/harmony/crypto/internal/
DNullCipherSpi.java107 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
111 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); in engineUpdate()
141 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
144 outputOffset); in engineDoFinal()
/libcore/luni/src/main/java/javax/crypto/
DCipher.java972 byte[] output, int outputOffset) throws ShortBufferException { in update() argument
982 if (outputOffset < 0) { in update()
983 throw new IllegalArgumentException("outputOffset < 0. outputOffset=" + outputOffset); in update()
990 outputOffset); in update()
1076 public final int doFinal(byte[] output, int outputOffset) in doFinal() argument
1082 if (outputOffset < 0) { in doFinal()
1083 throw new IllegalArgumentException("outputOffset < 0. outputOffset=" + outputOffset); in doFinal()
1085 return spiImpl.engineDoFinal(null, 0, 0, output, outputOffset); in doFinal()
1218 byte[] output, int outputOffset) throws ShortBufferException, in doFinal() argument
1225 outputOffset); in doFinal()
DExemptionMechanismSpi.java63 int outputOffset) throws ShortBufferException, in engineGenExemptionBlob() argument
DCipherSpi.java310 int inputLen, byte[] output, int outputOffset) in engineUpdate() argument
420 int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
DExemptionMechanism.java351 public final int genExemptionBlob(byte[] output, int outputOffset) in genExemptionBlob() argument
358 int len = spiImpl.engineGenExemptionBlob(output, outputOffset); in genExemptionBlob()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java105 byte[] output, int outputOffset) throws ShortBufferException { in engineUpdate() argument
117 byte[] output, int outputOffset) throws ShortBufferException, in engineDoFinal() argument
DMyExemptionMechanismSpi.java55 protected int engineGenExemptionBlob(byte[] output, int outputOffset) in engineGenExemptionBlob() argument