HomeSort by relevance Sort by last modified time
    Searched refs:engineDoFinal (Results 1 - 25 of 45) sorted by null

1 2

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
MacSpiTest.java 47 protected byte[] engineDoFinal() {
48 return super.engineDoFinal();
81 protected byte[] engineDoFinal() {
82 return super.engineDoFinal();
120 protected byte[] engineDoFinal() {
121 return super.engineDoFinal();
176 byte[] bb = mSpi.engineDoFinal();
203 bb = mSpi1.engineDoFinal();
204 assertEquals("Incorrect result of engineDoFinal", bb.length, beforeUp);
248 protected byte[] engineDoFinal() {
    [all...]
CipherSpiTest.java 50 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
52 return super.engineDoFinal(input, inputOffset, inputLen);
56 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
59 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset);
156 bb = cSpi.engineDoFinal(bb1, 1, 2);
157 assertEquals("Incorrect result of engineDoFinal(byte, int, int)", 2,
163 "Incorrect result of engineDoFinal(byte, int, int, byte, int)",
164 2, cSpi.engineDoFinal(bb1, 1, 2, bb2, 0));
259 * Test for <code>engineDoFinal(ByteBuffer, ByteBuffer)</code> method
275 cSpi.engineDoFinal(bbNull, bb1)
    [all...]
MockMacSpi.java 74 protected byte[] engineDoFinal() {
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherSpiTest.java 69 bb = cSpi.engineDoFinal(bb1, 1, 2);
70 assertEquals("Incorrect result of engineDoFinal(byte, int, int)", 2,
76 "Incorrect result of engineDoFinal(byte, int, int, byte, int)",
77 2, cSpi.engineDoFinal(bb1, 1, 2, bb2, 0));
172 * Test for <code>engineDoFinal(ByteBuffer, ByteBuffer)</code> method
188 cSpi.engineDoFinal(bbNull, bb1);
193 cSpi.engineDoFinal(bb1, bbNull);
199 assertEquals("Incorrect result", 0, cSpi.engineDoFinal(bb1, bb2));
204 cSpi.engineDoFinal(bb1, bb2);
212 assertTrue("Incorrect result", cSpi.engineDoFinal(bb1, bb2) > 0)
    [all...]
MacSpiTest.java 73 byte[] bb = mSpi.engineDoFinal();
100 bb = mSpi1.engineDoFinal();
101 assertEquals("Incorrect result of engineDoFinal", bb.length, beforeUp);
145 protected byte[] engineDoFinal() {
  /external/apache-harmony/crypto/src/test/impl/java.injected/org/apache/harmony/crypto/internal/
NullCipherSpiTest.java 78 * Class under test for byte[] engineDoFinal(byte[], int, int)
84 b1 = spi.engineDoFinal(b, 3, 4);
91 * Class under test for int engineDoFinal(byte[], int, int, byte[], int)
97 assertEquals("incorrect doFinal result", 4, spi.engineDoFinal(b, 3, 4, b1, 5));
150 * Class under test for int engineDoFinal(ByteBuffer, ByteBuffer)
160 spi.engineDoFinal(null, outbuf);
166 spi.engineDoFinal(inbuf, null);
175 int result = spi.engineDoFinal(inbuf, outbuf);
188 spi.engineDoFinal(inbuf, outbuf);
  /libcore/luni/src/main/java/javax/crypto/
CipherSpi.java 453 protected abstract byte[] engineDoFinal(byte[] input, int inputOffset,
482 protected abstract int engineDoFinal(byte[] input, int inputOffset,
514 protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
535 bOutput = engineDoFinal(bInput, offset + position, limit - position);
540 bOutput = engineDoFinal(bInput, 0, limit - position);
MacSpi.java 124 protected abstract byte[] engineDoFinal();
Mac.java 463 return getSpi().engineDoFinal();
503 byte[] result = spi.engineDoFinal();
531 return spi.engineDoFinal();
Cipher.java     [all...]
  /external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MyMacSpi.java 67 protected byte[] engineDoFinal() {
MyCipher.java 108 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
114 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen,
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyMacSpi.java 68 protected byte[] engineDoFinal() {
MyCipher.java 111 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
117 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen,
  /libcore/luni/src/main/java/org/apache/harmony/crypto/internal/
NullCipherSpi.java 133 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
142 public int engineDoFinal(byte[] input, int inputOffset, int inputLen,
151 public int engineDoFinal(ByteBuffer input, ByteBuffer output)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseWrapCipher.java 274 protected byte[] engineDoFinal(
285 protected int engineDoFinal(
311 return engineDoFinal(encoded, 0, encoded.length);
335 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
BaseMac.java 126 protected byte[] engineDoFinal()
BaseStreamCipher.java 329 protected byte[] engineDoFinal(
348 protected int engineDoFinal(
  /libcore/luni/src/test/java/libcore/javax/crypto/
MockMacSpi.java 84 protected byte[] engineDoFinal() {
MockCipherSpi.java 212 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
218 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLCipherRSA.java 239 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
295 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
298 byte[] b = engineDoFinal(input, inputOffset, inputLen);
314 return engineDoFinal(encoded, 0, encoded.length);
326 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
OpenSSLMac.java 118 protected byte[] engineDoFinal() {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseCipherSpi.java 124 return engineDoFinal(encoded, 0, encoded.length);
148 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreCipherSpiBase.java 77 * {@code engineInit} and is invalidated when {@code engineDoFinal} succeeds and on some error
89 * {@code engineDoFinal}. Once such an exception is encountered, {@code engineUpdate} and
90 * {@code engineDoFinal} start ignoring input data.
454 protected final byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
495 protected final int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
498 byte[] outputCopy = engineDoFinal(input, inputOffset, inputLen);
512 protected final int engineDoFinal(ByteBuffer input, ByteBuffer output)
514 return super.engineDoFinal(input, output);
592 return engineDoFinal(encoded, 0, encoded.length);
616 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length)
    [all...]
AndroidKeyStoreHmacSpi.java 75 // Fields below are populated by engineInit and should be preserved after engineDoFinal.
78 // Fields below are reset when engineDoFinal succeeds.
226 protected byte[] engineDoFinal() {

Completed in 1113 milliseconds

1 2