Lines Matching refs:hash
396 ASN1_OCTET_STRING *hash; in issuer_match() local
409 hash = ASN1_OCTET_STRING_new(); in issuer_match()
410 if (!hash) in issuer_match()
412 if (!ASN1_OCTET_STRING_set(hash, md, len)) { in issuer_match()
413 ASN1_OCTET_STRING_free(hash); in issuer_match()
417 txt = octet_string_str(hash); in issuer_match()
424 if (ASN1_OCTET_STRING_cmp(certid->issuerNameHash, hash)) { in issuer_match()
425 ASN1_OCTET_STRING_free(hash); in issuer_match()
432 !ASN1_OCTET_STRING_set(hash, md, len)) { in issuer_match()
433 ASN1_OCTET_STRING_free(hash); in issuer_match()
437 txt = octet_string_str(hash); in issuer_match()
444 if (ASN1_OCTET_STRING_cmp(certid->issuerKeyHash, hash)) { in issuer_match()
445 ASN1_OCTET_STRING_free(hash); in issuer_match()
449 ASN1_OCTET_STRING_free(hash); in issuer_match()
457 unsigned char hash[SHA_DIGEST_LENGTH]; in ocsp_find_signer() local
470 X509_pubkey_digest(x, EVP_sha1(), hash, NULL); in ocsp_find_signer()
471 if (os_memcmp(rid->value.byKey->data, hash, in ocsp_find_signer()