/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);
|
/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);
|
/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/jce/provider/util/ |
NullDigest.java | 33 public int doFinal(byte[] out, int outOff)
|
/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);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 346 * Test for <code>update</code> and <code>doFinal</code> methods 353 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 354 method = "doFinal", 359 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 366 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 367 method = "doFinal", 372 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 373 method = "doFinal", 378 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException", 384 notes = "Checks IllegalStateException only but for all methods. Not enough for doFinal(byte[] output, int outOffset) - it can throw ShortBufferException" [all...] |
NullCipherTest.java | 245 * Class under test for byte[] doFinal() 250 method = "doFinal", 254 assertNull("doFinal failed", c.doFinal()); 258 * Class under test for int doFinal(byte[], int) 263 method = "doFinal", 268 assertEquals("doFinal failed", 0, c.doFinal(r, 0)); 272 * Class under test for byte[] doFinal(byte[]) 277 method = "doFinal", [all...] |
CipherTest.java | 575 byte[] output = c.doFinal(); 599 * @tests javax.crypto.Cipher#doFinal() 604 method = "doFinal", 639 byte[] output = c.doFinal(); 659 c.doFinal(); 667 c.doFinal(); 675 c.doFinal(b, 0, 16, b1, 0); 687 c.doFinal(); 776 * Class under test for int doFinal(byte[], int, int, byte[], int) 782 method = "doFinal", [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/ |
SHA384Digest.java | 49 public int doFinal(
|
OpenSSLDigest.java | 65 public int doFinal(byte[] out, int outOff) {
|
SHA512Digest.java | 48 public int doFinal(
|
/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()); 164 byte[] serialized = cipher.doFinal(encryptedContent); 215 byte[] serialized = c.doFinal(encryptedContent); 259 byte[] serialized = cipher.doFinal(encryptedContent);
|
CipherInputStream.java | 98 o_buffer = cipher.doFinal(); 198 * stream and call {@code doFinal} on the cipher object. 207 cipher.doFinal();
|
Mac.java | 327 public final byte[] doFinal() throws IllegalStateException { 355 public final void doFinal(byte[] output, int outOffset) 390 public final byte[] doFinal(byte[] input) throws IllegalStateException {
|
Cipher.java | [all...] |
/libcore/luni/src/test/java/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);
|
AlgorithmParameterSymmetricHelper.java | 88 bs = cipher.doFinal(plainData.getBytes()); 105 decrypted = cipher.doFinal(bs);
|