Lines Matching refs:algorithm
258 nid=OBJ_obj2nid(psi->digest_alg->algorithm);
265 if (OBJ_obj2nid(alg->algorithm) == nid)
271 if (!j) /* we need to add another algorithm */
280 alg->algorithm=OBJ_nid2obj(nid);
394 if (is_dsa) p7i->digest_alg->algorithm=OBJ_nid2obj(NID_sha1);
396 p7i->digest_alg->algorithm=OBJ_nid2obj(EVP_MD_type(dgst));
409 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_rsaEncryption);
419 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_dsa);
423 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_dsaWithSHA1);
429 p7i->digest_enc_alg->algorithm=OBJ_nid2obj(NID_ecdsa_with_SHA1);
466 p7->d.digest->md->algorithm = OBJ_nid2obj(EVP_MD_nid(md));