/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)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/io/ |
MacOutputStream.java | 36 return mac.doFinal();
|
/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/crypto/src/main/java/org/conscrypt/ |
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...] |
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 | 292 * Test for <code>update</code> and <code>doFinal</code> methods 329 macs[i].doFinal(); 334 macs[i].doFinal(new byte[10]); 339 macs[i].doFinal(new byte[10], 0); 346 macs[i].doFinal(new byte[1], 0); 354 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 374 macs[i].doFinal(null, 10); 379 macs[i].doFinal(byteA, -4); 384 macs[i].doFinal(byteA, 10); 389 macs[i].doFinal(new byte[1], 0) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/ |
MSOutlookKeyIdCalculator.java | 29 dig.doFinal(hash, 0);
|
/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/crypto/src/test/java/org/conscrypt/ |
MacTest.java | 59 byte[] output1 = mac1.doFinal(); 65 byte[] output2 = mac2.doFinal();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
HMac.java | 128 digest.doFinal(inputPad, 0); 181 public int doFinal( 185 digest.doFinal(outputBuf, blockLength); 197 int len = digest.doFinal(out, outOff);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
AEADBlockCipher.java | 91 public int doFinal(byte[] out, int outOff) 113 * doFinal with an input of len bytes. 116 * @return the space required to accommodate a call to processBytes and doFinal
|
/frameworks/base/core/java/android/content/pm/ |
MacAuthenticatedInputStream.java | 42 final byte[] actualTag = mMac.doFinal();
|
/libcore/luni/src/main/java/javax/crypto/ |
SealedObject.java | 103 this.encryptedContent = c.doFinal(bos.toByteArray()); 168 byte[] serialized = cipher.doFinal(encryptedContent); 219 byte[] serialized = c.doFinal(encryptedContent); 263 byte[] serialized = cipher.doFinal(encryptedContent);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
DSABase.java | 52 digest.doFinal(hash, 0); 72 digest.doFinal(hash, 0);
|