Searched defs:hash_context (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/crypto/third_party/nss/
H A Drsawrapr.c79 void *hash_context; local
134 hash_context = (*hash->create)();
135 if (hash_context == NULL) {
141 (*hash->begin)(hash_context);
142 (*hash->update)(hash_context, eightZeros, 8);
143 (*hash->update)(hash_context, mHash, hash->length);
144 (*hash->update)(hash_context, &db[dbMaskLen - sLen], sLen);
145 (*hash->end)(hash_context, H_, &i, hash->length);
146 (*hash->destroy)(hash_context, PR_TRUE);
/external/chromium_org/crypto/
H A Dsignature_verifier_nss.cc33 HASHContext* hash_context,
38 unsigned int hash_len = HASH_ResultLenContext(hash_context);
40 HASH_End(hash_context, &hash[0], &hash_len, hash.size());
56 HASH_GetType(hash_context), mask_hash_alg,
32 VerifyRSAPSS_End(SECKEYPublicKey* public_key, HASHContext* hash_context, HASH_HashType mask_hash_alg, unsigned int salt_len, const unsigned char* signature, unsigned int signature_len) argument
H A Dopenpgp_symmetric_encryption.cc111 HASHContext* hash_context = HASH_Create(hash_function); local
114 HASH_Begin(hash_context);
117 HASH_Update(hash_context, zero, sizeof(zero));
123 HASH_Update(hash_context,
128 HASH_Update(hash_context,
137 HASH_End(hash_context, digest, &num_hash_bytes, sizeof(digest));
146 HASH_Destroy(hash_context);
576 HASHContext* hash_context = HASH_Create(HASH_AlgSHA1); local
577 HASH_Begin(hash_context);
578 HASH_Update(hash_context, prefix_cop
735 HASHContext* hash_context = HASH_Create(HASH_AlgSHA1); local
[all...]

Completed in 85 milliseconds