diff options
Diffstat (limited to 'src/include/openssl/digest.h')
-rw-r--r-- | src/include/openssl/digest.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/include/openssl/digest.h b/src/include/openssl/digest.h index 95a35e7..8285dce 100644 --- a/src/include/openssl/digest.h +++ b/src/include/openssl/digest.h @@ -171,12 +171,9 @@ OPENSSL_EXPORT int EVP_Digest(const void *data, size_t len, uint8_t *md_out, * These functions allow code to learn details about an abstract hash * function. */ -/* EVP_MD_type returns a NID identifing |md|. (For example, |NID_md5|.) */ +/* EVP_MD_type returns a NID identifing |md|. (For example, |NID_sha256|.) */ OPENSSL_EXPORT int EVP_MD_type(const EVP_MD *md); -/* EVP_MD_name returns the short name for |md| or NULL if no name is known. */ -OPENSSL_EXPORT const char *EVP_MD_name(const EVP_MD *md); - /* EVP_MD_flags returns the flags for |md|, which is a set of |EVP_MD_FLAG_*| * values, ORed together. */ OPENSSL_EXPORT uint32_t EVP_MD_flags(const EVP_MD *md); @@ -224,7 +221,7 @@ OPENSSL_EXPORT unsigned EVP_MD_CTX_size(const EVP_MD_CTX *ctx); OPENSSL_EXPORT unsigned EVP_MD_CTX_block_size(const EVP_MD_CTX *ctx); /* EVP_MD_CTX_type returns a NID describing the digest function used by |ctx|. - * (For example, |NID_md5|.) It will crash if a digest hasn't been set on + * (For example, |NID_sha256|.) It will crash if a digest hasn't been set on * |ctx|. */ OPENSSL_EXPORT int EVP_MD_CTX_type(const EVP_MD_CTX *ctx); |