Lines Matching refs:hash
68 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH))
142 unsigned char hash[EVP_MAX_MD_SIZE];
143 unsigned int hash_len = sizeof(hash);
146 memset(hash, 0, sizeof(hash));
164 if (!X509_digest(cert, hash_alg, hash, &hash_len))
167 if (!ASN1_OCTET_STRING_set(cid->hash, hash, hash_len))
257 cid_hash_len = cid != NULL ? cid->hash->length : cid_v2->hash->length;
264 if (memcmp(cid != NULL ? cid->hash->data : cid_v2->hash->data,