Lines Matching refs:hash_alg
20 static ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new_init(const EVP_MD *hash_alg,
124 ESS_SIGNING_CERT_V2 *OSSL_ESS_signing_cert_v2_new_init(const EVP_MD *hash_alg, in OSSL_ESS_signing_cert_v2_new_init() argument
138 cid = ESS_CERT_ID_V2_new_init(hash_alg, signcert, set_issuer_serial); in OSSL_ESS_signing_cert_v2_new_init()
152 if ((cid = ESS_CERT_ID_V2_new_init(hash_alg, cert, 1)) == NULL) { in OSSL_ESS_signing_cert_v2_new_init()
170 static ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new_init(const EVP_MD *hash_alg, in ESS_CERT_ID_V2_new_init() argument
187 if (!EVP_MD_is_a(hash_alg, SN_sha256)) { in ESS_CERT_ID_V2_new_init()
193 X509_ALGOR_set_md(alg, hash_alg); in ESS_CERT_ID_V2_new_init()
198 cid->hash_alg = alg; in ESS_CERT_ID_V2_new_init()
201 cid->hash_alg = NULL; in ESS_CERT_ID_V2_new_init()
204 if (!X509_digest(cert, hash_alg, hash, &hash_len)) { in ESS_CERT_ID_V2_new_init()
289 else if (cid_v2->hash_alg == NULL) in find()
292 OBJ_obj2txt(name, sizeof(name), cid_v2->hash_alg->algorithm, 0); in find()