Home
last modified time | relevance | path

Searched refs:doFinal (Results 1 – 25 of 51) sorted by relevance

123

/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java322 macs[i].doFinal(); in testMac09()
327 macs[i].doFinal(new byte[10]); in testMac09()
332 macs[i].doFinal(new byte[10], 0); in testMac09()
359 macs[i].doFinal(null, 10); in testMac10()
364 macs[i].doFinal(byteA, -4); in testMac10()
369 macs[i].doFinal(byteA, 10); in testMac10()
374 macs[i].doFinal(new byte[1], 0); in testMac10()
378 byte[] res = macs[i].doFinal(); in testMac10()
380 macs[i].doFinal(new byte[res.length - 1], 0); in testMac10()
405 byte [] res1 = macs[i].doFinal(); in testMac11()
[all …]
DNullCipherTest.java145 assertNull("doFinal failed", c.doFinal()); in testDoFinal()
153 assertEquals("doFinal failed", 0, c.doFinal(r, 0)); in testDoFinalbyteArrayint()
162 r = c.doFinal(b); in testDoFinalbyteArray()
173 r = c.doFinal(b, 0, 5); in testDoFinalbyteArrayintint()
177 r = c.doFinal(b, 1, 3); in testDoFinalbyteArrayintint()
202 c.doFinal(b, 0, 5, r); in testDoFinalbyteArrayintintbyteArray()
237 c.doFinal(b, 0, 5, r, 0); in testDoFinalbyteArrayintintbyteArrayint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java128 digest.doFinal(inputPad, 0); in init()
181 public int doFinal( in doFinal() method in HMac
185 digest.doFinal(outputBuf, blockLength); in doFinal()
197 int len = digest.doFinal(out, outOff); in doFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java44 digest.doFinal(digestBytes, 0); in generateDerivedKey()
48 digest.doFinal(digestBytes, 0); in generateDerivedKey()
DPKCS5S2ParametersGenerator.java62 hMac.doFinal(state, 0); in F()
69 hMac.doFinal(state, 0); in F()
DPKCS12ParametersGenerator.java134 digest.doFinal(A, 0); in generateDerivedKey()
138 digest.doFinal(A, 0); in generateDerivedKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DDSABase.java52 digest.doFinal(hash, 0); in engineSign()
72 digest.doFinal(hash, 0); in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java731 len += cipher.doFinal(tmp, len); in engineDoFinal()
771 return (len + cipher.doFinal(output, outputOffset + len)); in engineDoFinal()
820 public int doFinal(byte[] out, int outOff) in doFinal() method
885 …public int doFinal(byte[] out, int outOff) throws IllegalStateException, InvalidCipherTextException in doFinal() method in BaseBlockCipher.BufferedGenericBlockCipher
887 return cipher.doFinal(out, outOff); in doFinal()
942 …public int doFinal(byte[] out, int outOff) throws IllegalStateException, InvalidCipherTextException in doFinal() method in BaseBlockCipher.AEADGenericBlockCipher
944 return cipher.doFinal(out, outOff); in doFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java67 hash.doFinal(defHash, 0); in OAEPEncoding()
341 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
354 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DDigest.java45 public int doFinal(byte[] out, int outOff); in doFinal() method
DMac.java63 public int doFinal(byte[] out, int outOff) in doFinal() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java118 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
138 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DRSADigestSigner.java151 digest.doFinal(hash, 0); in generateSignature()
178 digest.doFinal(hash, 0); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/io/
DMacOutputStream.java36 return mac.doFinal(); in getMac()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
DMacOutputStream.java38 mac.doFinal(res, 0); in getMac()
DDigestOutputStream.java38 digest.doFinal(res, 0); in getDigest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DBCMessageDigest.java43 digest.doFinal(digestBytes, 0); in engineDigest()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DMSOutlookKeyIdCalculator.java29 dig.doFinal(hash, 0); in calculateKeyId()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DNullDigest.java33 public int doFinal(byte[] out, int outOff) in doFinal() method in NullDigest
DSHA384Digest.java49 public int doFinal( in doFinal() method in SHA384Digest
DSHA512Digest.java49 public int doFinal( in doFinal() method in SHA512Digest
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DDSASigner.java138 digest.doFinal(hash, 0); in engineSign()
158 digest.doFinal(hash, 0); in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DAEADBlockCipher.java91 public int doFinal(byte[] out, int outOff) in doFinal() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java139 digest.doFinal(hash, 0); in engineSign()
163 digest.doFinal(hash, 0); in engineVerify()
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DMac_ImplTest.java92 byte[] bb = mac.doFinal(); in checkResult()
95 bb = mac.doFinal(); in checkResult()

123