/external/bouncycastle/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)
|
/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 | 288 * Test for <code>update</code> and <code>doFinal</code> methods 322 macs[i].doFinal(); 327 macs[i].doFinal(new byte[10]); 332 macs[i].doFinal(new byte[10], 0); 339 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 359 macs[i].doFinal(null, 10); 364 macs[i].doFinal(byteA, -4); 369 macs[i].doFinal(byteA, 10); 374 macs[i].doFinal(new byte[1], 0); 378 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/main/java/org/apache/harmony/xnet/provider/jsse/ |
PRF.java | 157 byte[] hash = md5_mac.doFinal(seed); // A(1) 163 md5_mac.doFinal(out, pos); 166 System.arraycopy(md5_mac.doFinal(), 0, out, 171 hash = md5_mac.doFinal(hash); 180 hash = sha_mac.doFinal(seed); // A(1) 185 sha1hash = sha_mac.doFinal(seed); 190 hash = sha_mac.doFinal(hash);
|
/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...] |
MacTest.java | 291 * Test for <code>update</code> and <code>doFinal</code> methods 328 macs[i].doFinal(); 333 macs[i].doFinal(new byte[10]); 338 macs[i].doFinal(new byte[10], 0); 345 macs[i].doFinal(new byte[1], 0); 353 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 373 macs[i].doFinal(null, 10); 378 macs[i].doFinal(byteA, -4); 383 macs[i].doFinal(byteA, 10); 388 macs[i].doFinal(new byte[1], 0) [all...] |
CipherTest.java | 376 byte[] output = c.doFinal(); 399 * javax.crypto.Cipher#doFinal() 433 byte[] output = c.doFinal(); 453 c.doFinal(); 460 c.doFinal(); 467 c.doFinal(b, 0, 16, b1, 0); 479 c.doFinal(); 531 * Class under test for int doFinal(byte[], int, int, byte[], int) 540 c.doFinal(b, 0, 10, b1, 5); 547 c.doFinal(b, 0, 10, b1, 5) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
NullDigest.java | 33 public int doFinal(byte[] out, int outOff)
|
SHA384Digest.java | 49 public int doFinal(
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
AEADBlockCipher.java | 73 public int doFinal(byte[] out, int outOff) 95 * doFinal with an input of len bytes. 98 * @return the space required to accommodate a call to processBytes and doFinal
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S1ParametersGenerator.java | 44 digest.doFinal(digestBytes, 0); 48 digest.doFinal(digestBytes, 0);
|
PKCS5S2ParametersGenerator.java | 51 hMac.doFinal(state, 0); 64 hMac.doFinal(state, 0);
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/ |
HMac.java | 117 digest.doFinal(inputPad, 0); 167 public int doFinal( 172 digest.doFinal(tmp, 0); 177 int len = digest.doFinal(out, outOff);
|
/libcore/luni/src/main/java/javax/crypto/ |
SealedObject.java | 97 this.encryptedContent = c.doFinal(bos.toByteArray()); 162 byte[] serialized = cipher.doFinal(encryptedContent); 213 byte[] serialized = c.doFinal(encryptedContent); 257 byte[] serialized = cipher.doFinal(encryptedContent);
|
CipherInputStream.java | 100 outputBuffer = cipher.doFinal(); 157 * stream and call {@code doFinal} on the cipher object. 166 cipher.doFinal();
|
Mac.java | 323 public final byte[] doFinal() throws IllegalStateException { 351 public final void doFinal(byte[] output, int outOffset) 386 public final byte[] doFinal(byte[] input) throws IllegalStateException {
|
Cipher.java | [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
DSABase.java | 61 digest.doFinal(hash, 0); 81 digest.doFinal(hash, 0);
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/ |
DigestTest.java | 65 int oldLength = oldDigest.doFinal(oldHash, 0); 74 int newLength = newDigest.doFinal(newHash, 0);
|
/libcore/support/src/test/java/tests/security/ |
AlgorithmParameterAsymmetricHelper.java | 75 bs = cipher.doFinal(plainData.getBytes()); 92 decrypted = cipher.doFinal(bs);
|