Home
last modified time | relevance | path

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

12

/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/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java117 digest.doFinal(inputPad, 0); in init()
167 public int doFinal( in doFinal() method in HMac
172 digest.doFinal(tmp, 0); in doFinal()
177 int len = digest.doFinal(out, outOff); in doFinal()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java44 digest.doFinal(digestBytes, 0); in generateDerivedKey()
48 digest.doFinal(digestBytes, 0); in generateDerivedKey()
DPKCS5S2ParametersGenerator.java51 hMac.doFinal(state, 0); in F()
64 hMac.doFinal(state, 0); in F()
DPKCS12ParametersGenerator.java135 digest.doFinal(A, 0); in generateDerivedKey()
139 digest.doFinal(A, 0); in generateDerivedKey()
DOpenSSLPBEParametersGenerator.java57 digest.doFinal(buf, 0); in generateDerivedKey()
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCEBlockCipher.java693 len += cipher.doFinal(tmp, len); in engineDoFinal()
744 return (len + cipher.doFinal(output, outputOffset + len)); in engineDoFinal()
978 public int doFinal(byte[] out, int outOff) in doFinal() method
1043 …public int doFinal(byte[] out, int outOff) throws IllegalStateException, InvalidCipherTextException in doFinal() method in JCEBlockCipher.BufferedGenericBlockCipher
1045 return cipher.doFinal(out, outOff); in doFinal()
1100 …public int doFinal(byte[] out, int outOff) throws IllegalStateException, InvalidCipherTextException in doFinal() method in JCEBlockCipher.AEADGenericBlockCipher
1102 return cipher.doFinal(out, outOff); in doFinal()
DDSABase.java61 digest.doFinal(hash, 0); in engineSign()
81 digest.doFinal(hash, 0); in engineVerify()
DJDKDSASigner.java158 digest.doFinal(hash, 0); in engineSign()
178 digest.doFinal(hash, 0); in engineVerify()
DJDKDigestSignature.java138 digest.doFinal(hash, 0); in engineSign()
162 digest.doFinal(hash, 0); in engineVerify()
DJDKMessageDigest.java44 digest.doFinal(digestBytes, 0); in engineDigest()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/
DOAEPEncoding.java63 hash.doFinal(defHash, 0); in OAEPEncoding()
329 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
341 mgf1Hash.doFinal(hashBuf, 0); in maskGeneratorFunction1()
/external/bouncycastle/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/src/main/java/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java113 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
131 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
DSubjectKeyIdentifier.java134 digest.doFinal(resBuf, 0); in getDigest()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
DRSADigestSigner.java144 digest.doFinal(hash, 0); in generateSignature()
163 digest.doFinal(hash, 0); in verifySignature()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
DAEADBlockCipher.java73 public int doFinal(byte[] out, int outOff) in doFinal() method
DCCMBlockCipher.java112 public int doFinal(byte[] out, int outOff) in doFinal() method in CCMBlockCipher
331 return cMac.doFinal(macBlock, 0); in calculateMac()
/external/bouncycastle/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.java48 public int doFinal( in doFinal() method in SHA512Digest
/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()
/external/oauth/core/src/main/java/net/oauth/signature/
DHMAC_SHA1.java77 return mac.doFinal(text); in computeSignature()

12