summaryrefslogtreecommitdiff
path: root/include/openssl/digest.h
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2014-09-30 14:46:28 +0100
committerPrimiano Tucci <primiano@google.com>2014-09-30 14:46:28 +0100
commit7c4e52cd7aebb9f2fa64355c58bc75509685da94 (patch)
treebbdd45cda3f7f15eae3f9dfa9ac4d6a604d82479 /include/openssl/digest.h
parent208436baefdf6180355219406c666c259c7fc450 (diff)
parent885164b8d921ef7dba08b9e5ae031bf7350bf4ff (diff)
downloadsrc-lollipop-mr1-cts-release.tar.gz
This commit was generated by merge_to_master.py. Change-Id: I9b1c013632df72dcd4e450d6a3b7749444191f77
Diffstat (limited to 'include/openssl/digest.h')
-rw-r--r--include/openssl/digest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/digest.h b/include/openssl/digest.h
index 76d6677..6d8a165 100644
--- a/include/openssl/digest.h
+++ b/include/openssl/digest.h
@@ -76,6 +76,7 @@ extern "C" {
* The following functions return |EVP_MD| objects that implement the named hash
* function. */
+OPENSSL_EXPORT const EVP_MD *EVP_md4(void);
OPENSSL_EXPORT const EVP_MD *EVP_md5(void);
OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
OPENSSL_EXPORT const EVP_MD *EVP_sha224(void);
@@ -199,6 +200,10 @@ OPENSSL_EXPORT size_t EVP_MD_block_size(const EVP_MD *md);
* |in|. It returns one on success and zero on error. */
OPENSSL_EXPORT int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in);
+/* EVP_add_digest does nothing and returns one. It exists only for
+ * compatibility with OpenSSL. */
+OPENSSL_EXPORT int EVP_add_digest(const EVP_MD *digest);
+
/* Digest operation accessors. */