          unsigned char *md, unsigned int *len);

int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type,
                     unsigned char *md, unsigned int *len);

#include &lt;openssl/pkcs7.h&gt;

int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data,
                                   const EVP_MD *type, unsigned char *md,
                                   unsigned int *len);</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>X509_digest_sig() calculates a digest of the given c