Lines Matching defs:digest
187 xa = p7->d.digest->md;
188 os = PKCS7_get_octet_string(p7->d.digest->contents);
646 os=PKCS7_get_octet_string(p7->d.digest->contents);
648 if(PKCS7_type_is_data(p7->d.digest->contents) && p7->detached)
651 p7->d.digest->contents->d.data = NULL;
689 /* If there are attributes, we add the digest
695 ASN1_OCTET_STRING *digest;
718 /* Add digest */
721 if (!(digest=M_ASN1_OCTET_STRING_new()))
727 if (!M_ASN1_OCTET_STRING_set(digest,md_data,
732 M_ASN1_OCTET_STRING_free(digest);
737 V_ASN1_OCTET_STRING,digest))
739 M_ASN1_OCTET_STRING_free(digest);
754 ctx_tmp.digest=EVP_dss1();
758 ctx_tmp.digest=EVP_ecdsa();
780 OBJ_obj2nid(p7->d.digest->md->algorithm)))
783 M_ASN1_OCTET_STRING_set(p7->d.digest->digest, md_data, md_len);
910 * OID instead of the digest OID in digest_alg->algorithm
917 /* mdc is the digest ctx that we want, unless there are attributes,
918 * in which case the digest is the signed attributes */
970 if(pkey->type == EVP_PKEY_DSA) mdc_tmp.digest=EVP_dss1();
973 if (pkey->type == EVP_PKEY_EC) mdc_tmp.digest=EVP_ecdsa();