/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
EncodableDigest.java | 1 package org.bouncycastle.crypto.digests; 4 * Encodable digests allow you to download an encoded copy of their internal state. This is useful for the situation where 14 * @return an encoding of the digests internal state.
|
AndroidDigestFactoryBouncyCastle.java | 17 package org.bouncycastle.crypto.digests;
|
AndroidDigestFactoryInterface.java | 17 package org.bouncycastle.crypto.digests;
|
AndroidDigestFactoryOpenSSL.java | 17 package org.bouncycastle.crypto.digests;
|
NullDigest.java | 1 package org.bouncycastle.crypto.digests;
|
/external/tpm2/ |
PCR_Extend.c | 27 // NOTE: This function assumes that the unmarshaling function for 'digests' will 55 for(i = 0; i < in->digests.count; i++) 57 PCRExtend(in->pcrHandle, in->digests.digests[i].hashAlg, 58 CryptGetHashDigestSize(in->digests.digests[i].hashAlg), 59 (BYTE *) &in->digests.digests[i].digest);
|
PCR_Event.c | 49 out->digests.count = HASH_COUNT; 55 out->digests.digests[i].hashAlg = hash; 59 (BYTE *) &out->digests.digests[i].digest); 62 (BYTE *) &out->digests.digests[i].digest);
|
PCR_Extend_fp.h | 14 TPML_DIGEST_VALUES digests; member in struct:__anon33762
|
EventSequenceComplete.c | 71 out->results.digests[out->results.count].hashAlg = hashAlg; 74 (BYTE *) &out->results.digests[out->results.count].digest); 80 (BYTE *) &out->results.digests[out->results.count].digest);
|
PCR_Event_fp.h | 17 typedef struct { TPML_DIGEST_VALUES digests; } PCR_Event_Out; member in struct:__anon33761
|
PolicyOR.c | 36 &in->pHashList.digests[i].b)) 58 CryptUpdateDigest2B(&hashState, &in->pHashList.digests[i].b);
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashLibBaseCryptoRouter/ |
HashLibBaseCryptoRouterCommon.c | 72 &DigestList->digests[DigestList->count],
73 &Digest->digests[0],
74 sizeof(Digest->digests[0])
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDefaultDigestProvider.java | 17 // import org.bouncycastle.crypto.digests.GOST3411Digest; 18 // import org.bouncycastle.crypto.digests.MD2Digest; 19 // import org.bouncycastle.crypto.digests.MD4Digest; 21 import org.bouncycastle.crypto.digests.MD5Digest; 23 // import org.bouncycastle.crypto.digests.RIPEMD128Digest; 24 // import org.bouncycastle.crypto.digests.RIPEMD160Digest; 25 // import org.bouncycastle.crypto.digests.RIPEMD256Digest; 27 import org.bouncycastle.crypto.digests.SHA1Digest; 28 import org.bouncycastle.crypto.digests.SHA224Digest; 29 import org.bouncycastle.crypto.digests.SHA256Digest [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
MessageDigestSink.java | 30 public MessageDigestSink(MessageDigest[] digests) { 31 mMessageDigests = digests;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
ManifestEntryVerifier.java | 60 /** the digests in use for a given entry*/ 61 ArrayList<MessageDigest> digests; field in class:ManifestEntryVerifier 63 /** the manifest hashes for the digests in use */ 81 digests = new ArrayList<MessageDigest>(); 95 digests.clear(); 108 /* if there aren't any, we can't verify any digests for this entry */ 146 digests.add(digest); 155 * update the digests for the digests we are interested in 160 for (int i=0; i < digests.size(); i++) [all...] |
/system/tpm/trunks/ |
policy_session_test.cc | 124 std::vector<std::string> digests; local 125 digests.push_back("digest1"); 126 digests.push_back("digest2"); 127 digests.push_back("digest3"); 131 EXPECT_EQ(TPM_RC_SUCCESS, session.PolicyOR(digests)); 132 EXPECT_EQ(tpm_digests.count, digests.size()); 133 EXPECT_EQ(StringFrom_TPM2B_DIGEST(tpm_digests.digests[0]), digests[0]); local 134 EXPECT_EQ(StringFrom_TPM2B_DIGEST(tpm_digests.digests[1]), digests[1]) local 135 EXPECT_EQ(StringFrom_TPM2B_DIGEST(tpm_digests.digests[2]), digests[2]); local 140 std::vector<std::string> digests; local 149 std::vector<std::string> digests; local [all...] |
policy_session_impl.cc | 90 TPM_RC PolicySessionImpl::PolicyOR(const std::vector<std::string>& digests) { 91 if (digests.size() >= arraysize(TPML_DIGEST::digests)) { 92 LOG(ERROR) << "TPM2.0 Spec only allows for up to 8 digests."; 96 tpm_digests.count = digests.size(); 97 for (size_t i = 0; i < digests.size(); i++) { 98 tpm_digests.digests[i] = Make_TPM2B_DIGEST(digests[i]);
|
policy_session.h | 59 // of policy digests. After the command is executed, the policy represented 61 virtual TPM_RC PolicyOR(const std::vector<std::string>& digests) = 0;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
SHA1.java | 7 import org.bouncycastle.crypto.digests.SHA1Digest; 9 import org.bouncycastle.crypto.digests.SHA224Digest; 10 import org.bouncycastle.crypto.digests.SHA256Digest; 11 import org.bouncycastle.crypto.digests.SHA384Digest; 12 import org.bouncycastle.crypto.digests.SHA512Digest;
|
/external/openssh/ |
digest-openssl.c | 57 const struct ssh_digest digests[] = { variable in typeref:struct:ssh_digest 72 if (digests[alg].id != alg) /* sanity */ 74 if (digests[alg].mdfunc == NULL) 76 return &(digests[alg]); 84 for (alg = 0; digests[alg].id != -1; alg++) { 85 if (strcasecmp(name, digests[alg].name) == 0) 86 return digests[alg].id;
|
/frameworks/base/core/java/android/content/pm/ |
InstantAppResolveInfo.java | 125 * Helper class to generate and store each of the digests and prefixes 130 * hash prefixes. For example, "a.b.c.d.e" generates digests for 166 ArrayList<byte[]> digests = new ArrayList<>(); local 171 digests.add(digest.digest(hostBytes)); 177 digests.add(digest.digest(hostName.getBytes())); 181 digests.add(digest.digest(hostBytes)); 187 digests.add(digest.digest(hostBytes)); 195 return digests.toArray(new byte[digests.size()][]);
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha1/ |
HashInstanceLibSha1.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA1;
40 DigestList->digests[0].digest.sha1,
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/HashInstanceLibSha256/ |
HashInstanceLibSha256.c | 38 DigestList->digests[0].hashAlg = TPM_ALG_SHA256;
40 DigestList->digests[0].digest.sha256,
|
/external/dng_sdk/source/ |
dng_jpeg_image.cpp | 261 dng_fingerprint *digests) 265 , fDigests (digests) 332 AutoArray<dng_fingerprint> digests (arrayCount); 343 digests.Get ()); 360 digests [tileCount] = printer.Result (); 364 // Combine digests into a single digest. 373 printer.Process (digests [k].data,
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
Tpm2Integrity.c | 49 TPML_DIGEST_VALUES Digests;
87 The digests parameter contains one or more tagged digest value identified by an algorithm ID.
91 @param[in] Digests List of tagged digest values to be extended
100 IN TPML_DIGEST_VALUES *Digests
130 WriteUnaligned32 ((UINT32 *)Buffer, SwapBytes32(Digests->count));
134 for (Index = 0; Index < Digests->count; Index++) {
135 WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(Digests->digests[Index].hashAlg));
137 DigestSize = GetHashSizeFromAlgo (Digests->digests[Index].hashAlg); [all...] |