diff options
author | Richard Levitte <levitte@openssl.org> | 2019-07-16 05:59:50 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-08-12 13:35:18 +0200 |
commit | 2893111fc624b33f59ab78ac7333740adac6d00d (patch) | |
tree | a19aef8e8dcfcfa6931b098e814a91baf3756fa7 /crypto/include | |
parent | 246a1f3dfafc4a377bc7d7da65d9f8981a696abd (diff) |
Make more use of OSSL_PARAM for digests
A lot of the different numbers associated with digests are really
algorithm parameters. block size, digest length, that sort of
thing.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9391)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/evp_int.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/include/internal/evp_int.h b/crypto/include/internal/evp_int.h index 9d878987bc..cdb5aab87c 100644 --- a/crypto/include/internal/evp_int.h +++ b/crypto/include/internal/evp_int.h @@ -212,10 +212,9 @@ struct evp_md_st { OSSL_OP_digest_digest_fn *digest; OSSL_OP_digest_freectx_fn *freectx; OSSL_OP_digest_dupctx_fn *dupctx; - OSSL_OP_digest_size_fn *size; - OSSL_OP_digest_block_size_fn *dblock_size; - OSSL_OP_digest_set_params_fn *set_params; OSSL_OP_digest_get_params_fn *get_params; + OSSL_OP_digest_ctx_set_params_fn *ctx_set_params; + OSSL_OP_digest_ctx_get_params_fn *ctx_get_params; } /* EVP_MD */ ; |