Home
last modified time | relevance | path

Searched refs:dIn (Results 1 – 25 of 40) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java230 DataInputStream dIn = new DataInputStream(bIn); in getObject() local
234 byte[] salt = new byte[dIn.readInt()]; in getObject()
236 dIn.readFully(salt); in getObject()
238 int iterationCount = dIn.readInt(); in getObject()
242 CipherInputStream cIn = new CipherInputStream(dIn, cipher); in getObject()
251 dIn = new DataInputStream(bIn); in getObject()
253 salt = new byte[dIn.readInt()]; in getObject()
255 dIn.readFully(salt); in getObject()
257 iterationCount = dIn.readInt(); in getObject()
261 cIn = new CipherInputStream(dIn, cipher); in getObject()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java234 DataInputStream dIn = new DataInputStream(bIn); in getObject() local
238 byte[] salt = new byte[dIn.readInt()]; in getObject()
240 dIn.readFully(salt); in getObject()
242 int iterationCount = dIn.readInt(); in getObject()
246 CipherInputStream cIn = new CipherInputStream(dIn, cipher); in getObject()
255 dIn = new DataInputStream(bIn); in getObject()
257 salt = new byte[dIn.readInt()]; in getObject()
259 dIn.readFully(salt); in getObject()
261 iterationCount = dIn.readInt(); in getObject()
265 cIn = new CipherInputStream(dIn, cipher); in getObject()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java234 DataInputStream dIn = new DataInputStream(bIn); in getObject() local
238 byte[] salt = new byte[dIn.readInt()]; in getObject()
240 dIn.readFully(salt); in getObject()
242 int iterationCount = dIn.readInt(); in getObject()
246 CipherInputStream cIn = new CipherInputStream(dIn, cipher); in getObject()
255 dIn = new DataInputStream(bIn); in getObject()
257 salt = new byte[dIn.readInt()]; in getObject()
259 dIn.readFully(salt); in getObject()
261 iterationCount = dIn.readInt(); in getObject()
265 cIn = new CipherInputStream(dIn, cipher); in getObject()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptSym.c139 const BYTE *dIn // IN: data buffer in CryptSymmetricEncrypt() argument
152 pAssert(dOut != NULL && key != NULL && dIn != NULL); in CryptSymmetricEncrypt()
196 *dOut++ = *dIn++ ^ *pT++; in CryptSymmetricEncrypt()
211 *dOut++ = (*pIv++ ^ *dIn++); in CryptSymmetricEncrypt()
227 *pIv++ ^= *dIn++; in CryptSymmetricEncrypt()
246 *dOut++ = *pIv++ ^= *dIn++; in CryptSymmetricEncrypt()
264 ENCRYPT(&keySchedule, dIn, dOut); in CryptSymmetricEncrypt()
265 dIn = &dIn[blockSize]; in CryptSymmetricEncrypt()
293 const BYTE *dIn // IN: data buffer in CryptSymmetricDecrypt() argument
314 pAssert(dOut != NULL && key != NULL && dIn != NULL); in CryptSymmetricDecrypt()
[all …]
DCryptRsa.c686 TPM2B *dIn, // In: the digest to compare in PssDecode() argument
702 pAssert(dIn != NULL && eIn != NULL); in PssDecode()
763 CryptDigestUpdate(&hashState, dIn->size, dIn->buffer); in PssDecode()
1065 TPM2B *dIn, // IN: the data to encrypt in CryptRsaEncrypt() argument
1079 if(dIn == &cOut->b) in CryptRsaEncrypt()
1081 MemoryCopy2B(&dataIn.b, dIn, sizeof(dataIn.t.buffer)); in CryptRsaEncrypt()
1082 dIn = &dataIn.b; in CryptRsaEncrypt()
1093 INT32 dSize = dIn->size; in CryptRsaEncrypt()
1097 for(i = 0; (i < dSize) && (dIn->buffer[i] == 0); i++); in CryptRsaEncrypt()
1104 memcpy(&cOut->t.buffer[cOut->t.size - dSize], &dIn->buffer[i], dSize); in CryptRsaEncrypt()
[all …]
/external/skia/modules/skottie/src/effects/
DLevelsEffect.cpp63 auto dIn = in_1 - in_0, in build_lut() local
66 if (SkScalarNearlyZero(dIn)) { in build_lut()
77 dIn += std::copysign(kEpsilon, dIn); in build_lut()
79 SkASSERT(!SkScalarNearlyZero(dIn)); in build_lut()
82 auto t = -in_0 / dIn, in build_lut()
83 dT = 1 / 255.0f / dIn; in build_lut()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptSym_fp.h92 const BYTE *dIn // IN: data buffer
112 const BYTE *dIn // IN: data buffer
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLObject.java480 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
489 dIn.readObject()).getPositiveValue())) in toString()
497 dIn.readObject()).getPositiveValue())) in toString()
504 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
510 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
515 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
521 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
DX509CertificateObject.java345 ASN1InputStream dIn = new ASN1InputStream(bytes); in getExtendedKeyUsage() local
346 ASN1Sequence seq = (ASN1Sequence)dIn.readObject(); in getExtendedKeyUsage()
698 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
704 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
708 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
712 … buf.append(new NetscapeCertType((DERBitString)dIn.readObject())).append(nl); in toString()
716 … buf.append(new NetscapeRevocationURL((DERIA5String)dIn.readObject())).append(nl); in toString()
720 … buf.append(new VerisignCzagExtension((DERIA5String)dIn.readObject())).append(nl); in toString()
725 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CRLEntryObject.java285 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
291 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
295 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
300 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java287 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
293 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
297 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
302 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CRLObject.java482 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
491 dIn.readObject()).getPositiveValue())) in toString()
499 dIn.readObject()).getPositiveValue())) in toString()
506 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
512 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
517 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
523 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
DX509CertificateObject.java348 ASN1InputStream dIn = new ASN1InputStream(bytes); in getExtendedKeyUsage() local
349 ASN1Sequence seq = (ASN1Sequence)dIn.readObject(); in getExtendedKeyUsage()
701 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
707 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
711 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
715 … buf.append(new NetscapeCertType((DERBitString)dIn.readObject())).append(nl); in toString()
719 … buf.append(new NetscapeRevocationURL((DERIA5String)dIn.readObject())).append(nl); in toString()
723 … buf.append(new VerisignCzagExtension((DERIA5String)dIn.readObject())).append(nl); in toString()
728 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java293 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
299 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
303 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
308 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CRLImpl.java573 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
582 dIn.readObject()).getPositiveValue())) in toString()
590 dIn.readObject()).getPositiveValue())) in toString()
597 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
603 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
608 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
614 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
DX509CertificateImpl.java515 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
521 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
525 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
529 … buf.append(new NetscapeCertType(DERBitString.getInstance(dIn.readObject()))).append(nl); in toString()
533 … buf.append(new NetscapeRevocationURL(DERIA5String.getInstance(dIn.readObject()))).append(nl); in toString()
537 … buf.append(new VerisignCzagExtension(DERIA5String.getInstance(dIn.readObject()))).append(nl); in toString()
542 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java294 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
300 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
304 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
309 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CRLImpl.java574 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
583 dIn.readObject()).getPositiveValue())) in toString()
591 dIn.readObject()).getPositiveValue())) in toString()
598 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
604 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
609 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
615 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CRLObject.java482 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
491 dIn.readObject()).getPositiveValue())) in toString()
499 dIn.readObject()).getPositiveValue())) in toString()
506 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
512 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
517 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
523 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
DX509CRLEntryObject.java287 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
293 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
297 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
302 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CertificateObject.java347 ASN1InputStream dIn = new ASN1InputStream(bytes); in getExtendedKeyUsage() local
348 ASN1Sequence seq = (ASN1Sequence)dIn.readObject(); in getExtendedKeyUsage()
700 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
706 buf.append(BasicConstraints.getInstance(dIn.readObject())).append(nl); in toString()
710 buf.append(KeyUsage.getInstance(dIn.readObject())).append(nl); in toString()
714 … buf.append(new NetscapeCertType((DERBitString)dIn.readObject())).append(nl); in toString()
718 … buf.append(new NetscapeRevocationURL((DERIA5String)dIn.readObject())).append(nl); in toString()
722 … buf.append(new VerisignCzagExtension((DERIA5String)dIn.readObject())).append(nl); in toString()
727 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java294 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
300 … buf.append(CRLReason.getInstance(ASN1Enumerated.getInstance(dIn.readObject()))).append(nl); in toString()
304 … buf.append("Certificate issuer: ").append(GeneralNames.getInstance(dIn.readObject())).append(nl); in toString()
309 … buf.append(" value = ").append(ASN1Dump.dumpAsString(dIn.readObject())).append(nl); in toString()
DX509CRLImpl.java574 ASN1InputStream dIn = new ASN1InputStream(octs); in toString() local
583 dIn.readObject()).getPositiveValue())) in toString()
591 dIn.readObject()).getPositiveValue())) in toString()
598 IssuingDistributionPoint.getInstance(dIn.readObject())).append(nl); in toString()
604 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
609 CRLDistPoint.getInstance(dIn.readObject())).append(nl); in toString()
615 ASN1Dump.dumpAsString(dIn.readObject())) in toString()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ltc/
DTpmToLtcHash.h91 #define HASH_DATA(hashState, dInSize, dIn) \ argument
92 ((hashState)->def->method.data)(&(hashState)->state, dIn, dInSize)
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Wolf/
DTpmToWolfHash.h117 #define HASH_DATA(hashState, dInSize, dIn) \ argument
118 ((hashState)->def->method.data)(&(hashState)->state, dIn, dInSize)

12