Home
last modified time | relevance | path

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

123

/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java325 macs[i].doFinal(); in testMac09()
330 macs[i].doFinal(new byte[10]); in testMac09()
335 macs[i].doFinal(new byte[10], 0); in testMac09()
363 macs[i].doFinal(null, 10); in testMac10()
368 macs[i].doFinal(byteA, -4); in testMac10()
373 macs[i].doFinal(byteA, 10); in testMac10()
378 macs[i].doFinal(new byte[1], 0); in testMac10()
382 byte[] res = macs[i].doFinal(); in testMac10()
384 macs[i].doFinal(new byte[res.length - 1], 0); in testMac10()
409 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.java126 digest.doFinal(inputPad, 0); in init()
179 public int doFinal( in doFinal() method in HMac
183 digest.doFinal(outputBuf, blockLength); in doFinal()
195 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.java63 hMac.doFinal(state, 0); in F()
70 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/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/asn1/x509/
DAuthorityKeyIdentifier.java118 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
139 digest.doFinal(resBuf, 0); in AuthorityKeyIdentifier()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java1100 len += cipher.doFinal(tmp, len); in engineDoFinal()
1141 return (len + cipher.doFinal(output, outputOffset + len)); in engineDoFinal()
1188 public int doFinal(byte[] out, int outOff) in doFinal() method
1259 public int doFinal(byte[] out, int outOff) throws IllegalStateException, BadPaddingException in doFinal() method in BaseBlockCipher.BufferedGenericBlockCipher
1263 return cipher.doFinal(out, outOff); in doFinal()
1354 public int doFinal(byte[] out, int outOff) throws IllegalStateException, BadPaddingException in doFinal() method in BaseBlockCipher.AEADGenericBlockCipher
1358 return cipher.doFinal(out, outOff); in doFinal()
/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/crypto/signers/
DRSADigestSigner.java157 digest.doFinal(hash, 0); in generateSignature()
184 digest.doFinal(hash, 0); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
DDigestOutputStream.java38 digest.doFinal(res, 0); in getDigest()
DMacOutputStream.java38 mac.doFinal(res, 0); in getMac()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DBCMessageDigest.java43 digest.doFinal(digestBytes, 0); in engineDigest()
/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.java54 public int doFinal( in doFinal() method in SHA384Digest
DSHA512Digest.java54 public int doFinal( in doFinal() method in SHA512Digest
DOpenSSLDigest.java66 public int doFinal(byte[] out, int outOff) { in doFinal() method in OpenSSLDigest
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DAEADBlockCipher.java101 public int doFinal(byte[] out, int outOff) in doFinal() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DDSASigner.java149 digest.doFinal(hash, 0); in engineSign()
169 digest.doFinal(hash, 0); in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java141 digest.doFinal(hash, 0); in engineSign()
165 digest.doFinal(hash, 0); in engineVerify()
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DMac_ImplTest.java91 byte[] bb = mac.doFinal(); in checkResult()
94 bb = mac.doFinal(); in checkResult()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/
DBcDigestCalculatorProvider.java77 dig.doFinal(d, 0);

123