This commit is contained in:
Love Hornquist Astrand
2010-09-30 18:22:00 -07:00
parent 1b48afda47
commit b206aeb016
9 changed files with 98 additions and 12 deletions

View File

@@ -290,7 +290,30 @@ EVP_hcrypto_sha256(void)
}
/**
* The message digest SHA256 - hcrypto
* The message digest SHA384 - hcrypto
*
* @return the message digest type.
*
* @ingroup hcrypto_evp
*/
const EVP_MD *
EVP_hcrypto_sha384(void)
{
static const struct hc_evp_md sha384 = {
48,
128,
sizeof(SHA384_CTX),
(hc_evp_md_init)SHA384_Init,
(hc_evp_md_update)SHA384_Update,
(hc_evp_md_final)SHA384_Final,
NULL
};
return &sha384;
}
/**
* The message digest SHA512 - hcrypto
*
* @return the message digest type.
*