/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
D | NullDigest.java | 12 private OpenByteArrayOutputStream bOut = new OpenByteArrayOutputStream(); field in NullDigest 21 return bOut.size(); in getDigestSize() 26 bOut.write(in); in update() 31 bOut.write(in, inOff, len); in update() 36 int size = bOut.size(); in doFinal() 38 bOut.copy(out, outOff); in doFinal() 47 bOut.reset(); in reset()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/digests/ |
D | NullDigest.java | 16 private OpenByteArrayOutputStream bOut = new OpenByteArrayOutputStream(); field in NullDigest 25 return bOut.size(); in getDigestSize() 30 bOut.write(in); in update() 35 bOut.write(in, inOff, len); in update() 40 int size = bOut.size(); in doFinal() 42 bOut.copy(out, outOff); in doFinal() 51 bOut.reset(); in reset()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/digests/ |
D | NullDigest.java | 16 private OpenByteArrayOutputStream bOut = new OpenByteArrayOutputStream(); field in NullDigest 25 return bOut.size(); in getDigestSize() 30 bOut.write(in); in update() 35 bOut.write(in, inOff, len); in update() 40 int size = bOut.size(); in doFinal() 42 bOut.copy(out, outOff); in doFinal() 51 bOut.reset(); in reset()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/ |
D | Hex.java | 54 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local 58 encoder.encode(data, off, length, bOut); in encode() 65 return bOut.toByteArray(); in encode() 104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 108 encoder.decode(data, 0, data.length, bOut); in decode() 115 return bOut.toByteArray(); in decode() 126 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 130 encoder.decode(data, bOut); in decode() 137 return bOut.toByteArray(); in decode()
|
D | Base64.java | 55 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local 59 encoder.encode(data, off, length, bOut); in encode() 66 return bOut.toByteArray(); in encode() 106 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 110 encoder.decode(data, 0, data.length, bOut); in decode() 117 return bOut.toByteArray(); in decode() 129 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 133 encoder.decode(data, bOut); in decode() 140 return bOut.toByteArray(); in decode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64.java | 53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local 57 encoder.encode(data, off, length, bOut); in encode() 64 return bOut.toByteArray(); in encode() 104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 108 encoder.decode(data, 0, data.length, bOut); in decode() 115 return bOut.toByteArray(); in decode() 127 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 131 encoder.decode(data, bOut); in decode() 138 return bOut.toByteArray(); in decode()
|
D | Hex.java | 52 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local 56 encoder.encode(data, off, length, bOut); in encode() 63 return bOut.toByteArray(); in encode() 102 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 106 encoder.decode(data, 0, data.length, bOut); in decode() 113 return bOut.toByteArray(); in decode() 124 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 128 encoder.decode(data, bOut); in decode() 135 return bOut.toByteArray(); in decode()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/ |
D | Base64.java | 55 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local 59 encoder.encode(data, off, length, bOut); in encode() 66 return bOut.toByteArray(); in encode() 106 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 110 encoder.decode(data, 0, data.length, bOut); in decode() 117 return bOut.toByteArray(); in decode() 129 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local 133 encoder.decode(data, bOut); in decode() 140 return bOut.toByteArray(); in decode()
|
D | Hex.java | 54 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local 58 encoder.encode(data, off, length, bOut); in encode() 65 return bOut.toByteArray(); in encode() 104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 108 encoder.decode(data, 0, data.length, bOut); in decode() 115 return bOut.toByteArray(); in decode() 126 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local 130 encoder.decode(data, bOut); in decode() 137 return bOut.toByteArray(); in decode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 57 private ErasableOutputStream bOut = new ErasableOutputStream(); field in CipherSpi 357 bOut.reset(); in engineInit() 421 bOut.write(input, inputOffset, inputLen); in engineUpdate() 425 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 432 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 448 bOut.write(input, inputOffset, inputLen); in engineUpdate() 452 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 459 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 476 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 481 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1Object.java | 35 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 36 encodeTo(bOut); in getEncoded() 37 return bOut.toByteArray(); in getEncoded() 49 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 50 encodeTo(bOut, encoding); in getEncoded() 51 return bOut.toByteArray(); in getEncoded()
|
D | DERApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | DLApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DL)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | BERApplicationSpecific.java | 83 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 89 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.BER)); in getEncodedVector() 96 return bOut.toByteArray(); in getEncodedVector()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1Object.java | 33 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 34 encodeTo(bOut); in getEncoded() 35 return bOut.toByteArray(); in getEncoded() 47 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 48 encodeTo(bOut, encoding); in getEncoded() 49 return bOut.toByteArray(); in getEncoded()
|
D | BERApplicationSpecific.java | 81 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 87 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.BER)); in getEncodedVector() 94 return bOut.toByteArray(); in getEncodedVector()
|
D | DERApplicationSpecific.java | 95 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 101 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in getEncodedVector() 108 return bOut.toByteArray(); in getEncodedVector()
|
D | DLApplicationSpecific.java | 95 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 101 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DL)); in getEncodedVector() 108 return bOut.toByteArray(); in getEncodedVector()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1Object.java | 38 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 39 encodeTo(bOut); in getEncoded() 40 return bOut.toByteArray(); in getEncoded() 52 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local 53 encodeTo(bOut, encoding); in getEncoded() 54 return bOut.toByteArray(); in getEncoded()
|
D | DLApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DL)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | DERApplicationSpecific.java | 97 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 103 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in getEncodedVector() 110 return bOut.toByteArray(); in getEncodedVector()
|
D | BERApplicationSpecific.java | 83 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncodedVector() local 89 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.BER)); in getEncodedVector() 96 return bOut.toByteArray(); in getEncodedVector()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 61 private ErasableOutputStream bOut = new ErasableOutputStream(); field in CipherSpi 361 bOut.reset(); in engineInit() 425 bOut.write(input, inputOffset, inputLen); in engineUpdate() 429 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 436 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 452 bOut.write(input, inputOffset, inputLen); in engineUpdate() 456 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 463 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 480 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 485 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 61 private ErasableOutputStream bOut = new ErasableOutputStream(); field in CipherSpi 361 bOut.reset(); in engineInit() 425 bOut.write(input, inputOffset, inputLen); in engineUpdate() 429 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 436 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 452 bOut.write(input, inputOffset, inputLen); in engineUpdate() 456 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate() 463 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate() 480 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 485 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal() [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | CMSSignedDataGenerator.java | 145 ByteArrayOutputStream bOut = null; in generate() local 149 bOut = new ByteArrayOutputStream(); in generate() 152 OutputStream cOut = CMSUtils.attachSignersToOutputStream(signerGens, bOut); in generate() 170 octs = new BEROctetString(bOut.toByteArray()); in generate()
|