Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-06-15 22:51:19 +0300
committerAdam Langley <agl@google.com>2015-06-25 03:03:02 +0300
commit65ee9b7ce94872b8265f7a5e4a09a5929ed61d61 (patch)
tree9c9d76304aecfb8aa9ee7bea5f41f5b34fe5169b /include/openssl/digest.h
parenta59347eb4c61a8a20f6353da9726fade6b125e87 (diff)
Remove EVP_PKEY_HMAC.
This removes EVP_PKEY_HMAC and all the support code around it. EVP_MD requires a lot of extra glue to support HMAC. This lets us prune it all away. As a bonus, it removes a (minor) dependency from EVP to the legacy ASN.1 stack. Change-Id: I5a9e3e39f518429828dbf13d14647fb37d9dc35a Reviewed-on: https://boringssl-review.googlesource.com/5120 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/digest.h')
-rw-r--r--include/openssl/digest.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/openssl/digest.h b/include/openssl/digest.h
index 2ea4ec4d..f4f34742 100644
--- a/include/openssl/digest.h
+++ b/include/openssl/digest.h
@@ -234,15 +234,9 @@ struct evp_md_pctx_ops;
struct env_md_ctx_st {
/* digest is the underlying digest function, or NULL if not set. */
const EVP_MD *digest;
- /* flags is the OR of a number of |EVP_MD_CTX_FLAG_*| values. */
- uint32_t flags;
/* md_data points to a block of memory that contains the hash-specific
* context. */
void *md_data;
- /* update is usually copied from |digest->update| but can differ in some
- * cases, i.e. HMAC.
- * TODO(davidben): Remove this hook once |EVP_PKEY_HMAC| is gone. */
- void (*update)(EVP_MD_CTX *ctx, const void *data, size_t count);
/* pctx is an opaque (at this layer) pointer to additional context that
* EVP_PKEY functions may store in this object. */