/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Digest.java | 39 * close the digest, producing the final digest value. The doFinal 45 public int doFinal(byte[] out, int outOff);
|
Mac.java | 56 * doFinal leaves the MAC in the same state it was after the last init. 63 public int doFinal(byte[] out, int outOff)
|
/frameworks/base/keystore/java/android/security/keystore/ |
KeyStoreCryptoOperationStreamer.java | 31 * {@link #doFinal(byte[], int, int, byte[], byte[]) doFinal} operations which can be used to 38 byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherSymmetricKeyThread.java | 57 cip.doFinal(input, 0, input.length, output); 62 cip.doFinal(output, 0, outputSize, decrypted); 65 cip.doFinal(input, 0, input.length, output); 68 cip.doFinal(output, 0, outputSize, decrypted);
|
MacThread.java | 44 byte[] res = m.doFinal(src1); 47 res = m.doFinal(src2); 50 res = m.doFinal(src3);
|
CipherPBEThread.java | 53 cip.doFinal(input, 0, input.length, output); 56 cip.doFinal(output, 0, outputSize, decrypted);
|
CipherRSAThread.java | 43 cip.doFinal(input, 0, input.length, output); 46 cip.doFinal(output, 0, outputSize, decrypted);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 291 * Test for <code>update</code> and <code>doFinal</code> methods 325 macs[i].doFinal(); 330 macs[i].doFinal(new byte[10]); 335 macs[i].doFinal(new byte[10], 0); 343 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 363 macs[i].doFinal(null, 10); 368 macs[i].doFinal(byteA, -4); 373 macs[i].doFinal(byteA, 10); 378 macs[i].doFinal(new byte[1], 0); 382 byte[] res = macs[i].doFinal(); [all...] |
NullCipherTest.java | 142 * Class under test for byte[] doFinal() 145 assertNull("doFinal failed", c.doFinal()); 149 * Class under test for int doFinal(byte[], int) 153 assertEquals("doFinal failed", 0, c.doFinal(r, 0)); 157 * Class under test for byte[] doFinal(byte[]) 162 r = c.doFinal(b); 168 * Class under test for byte[] doFinal(byte[], int, int) 173 r = c.doFinal(b, 0, 5) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
NullCipherTest.java | 144 * Class under test for byte[] doFinal() 147 assertNull("doFinal failed", c.doFinal()); 151 * Class under test for int doFinal(byte[], int) 155 assertEquals("doFinal failed", 0, c.doFinal(r, 0)); 159 * Class under test for byte[] doFinal(byte[]) 164 r = c.doFinal(b); 170 * Class under test for byte[] doFinal(byte[], int, int) 175 r = c.doFinal(b, 0, 5) [all...] |
CipherTest.java | 355 byte[] output = c.doFinal(); 378 * javax.crypto.Cipher#doFinal() 412 byte[] output = c.doFinal(); 433 c.doFinal(); 440 c.doFinal(); 447 int len = c.doFinal(b, 0, 16, b1, 0); 456 c.doFinal(); 508 * Class under test for int doFinal(byte[], int, int, byte[], int) 518 c.doFinal(b, 0, 10, b1, 5); 525 c.doFinal(b, 0, 10, b1, 5) [all...] |
MacTest.java | 302 * Test for <code>update</code> and <code>doFinal</code> methods 339 macs[i].doFinal(); 344 macs[i].doFinal(new byte[10]); 349 macs[i].doFinal(new byte[10], 0); 356 macs[i].doFinal(new byte[1], 0); 364 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 382 macs[i].doFinal(null, 10); 387 macs[i].doFinal(byteA, -4); 392 macs[i].doFinal(byteA, 10); 397 macs[i].doFinal(new byte[1], 0) [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AESGCMCipherTestBase.java | 155 assertEquals(expectedOutput, doFinal(input)); 159 assertEquals(expectedOutput, doFinal(input)); 163 assertEquals(expectedOutput, doFinal(input)); 176 assertEquals(expectedOutput, doFinal(input)); 186 doFinal(ciphertext); 200 doFinal(ciphertext);
|
BlockCipherTestBase.java | 147 doFinal(getKatPlaintext()); 152 doFinal(getKatCiphertext()); 177 // Authenticated ciphers do not return any output when decrypting until doFinal where 206 // doFinal dominates the output size. 261 // doFinal dominates the output size. 360 byte[] ciphertext = doFinal(new byte[getBlockSize()]); 367 doFinal(ciphertext); 392 byte[] ciphertext = doFinal(plaintext); 395 byte[] decryptedPlaintext = mCipher.doFinal(ciphertext); 409 byte[] ciphertext = mCipher.doFinal(getKatPlaintext()) [all...] |
RSACipherTest.java | 61 MoreAsserts.assertEquals(expectedOutput, cipher.doFinal(input)); 64 MoreAsserts.assertEquals(expectedOutput, cipher.doFinal(input)); 91 byte[] ciphertext = cipher.doFinal(plaintext); 93 MoreAsserts.assertEquals(plaintext, cipher.doFinal(ciphertext)); 118 byte[] ciphertext = cipher.doFinal(plaintext); 147 byte[] ciphertext = cipher.doFinal(plaintext); 179 byte[] ciphertext = cipher.doFinal(plaintext); 211 byte[] plaintext = cipher.doFinal(ciphertext); 237 byte[] ciphertext = cipher.doFinal(plaintext); 245 MoreAsserts.assertEquals(expectedPlaintext, cipher.doFinal(ciphertext)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
NullDigest.java | 33 public int doFinal(byte[] out, int outOff)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
DigestOutputStream.java | 38 digest.doFinal(res, 0);
|
MacOutputStream.java | 38 mac.doFinal(res, 0);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
BCMessageDigest.java | 43 digest.doFinal(digestBytes, 0);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S1ParametersGenerator.java | 44 digest.doFinal(digestBytes, 0); 48 digest.doFinal(digestBytes, 0);
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterAsymmetricHelper.java | 49 byte[] bs = cipher.doFinal(plainData.getBytes()); 52 byte[] decrypted = cipher.doFinal(bs);
|
AlgorithmParameterSymmetricHelper.java | 63 byte[] bs = cipher.doFinal(plainData.getBytes()); 66 byte[] decrypted = cipher.doFinal(bs);
|
CipherHelper.java | 45 byte[] encrypted = cipher.doFinal(plainData.getBytes()); 48 byte[] decrypted = cipher.doFinal(encrypted);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
HMac.java | 126 digest.doFinal(inputPad, 0); 179 public int doFinal( 183 digest.doFinal(outputBuf, blockLength); 195 int len = digest.doFinal(out, outOff);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
AEADBlockCipher.java | 12 * processed dugin the call to {@link #doFinal(byte[], int)}), or in a streaming mode (where output data is 17 * may be output prior to the call to {@link #doFinal(byte[], int)} that results in an authentication 101 public int doFinal(byte[] out, int outOff) 128 * doFinal with an input of len bytes. 133 * and a call to {@link #doFinal(byte[], int)}. 136 * @return the space required to accommodate a call to processBytes and doFinal
|