diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-16 09:04:29 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-08-16 09:04:29 +0200 |
commit | 92d9d0ae2b10b12e42d33047b60e64ebfc296596 (patch) | |
tree | 36268ad8d147f30bb179cb089449beb39271b8d3 /crypto/include | |
parent | 356461fbbb8f4070f57ac4d13b34e0e0bbfee92b (diff) | |
download | openssl-92d9d0ae2b10b12e42d33047b60e64ebfc296596.zip openssl-92d9d0ae2b10b12e42d33047b60e64ebfc296596.tar.gz openssl-92d9d0ae2b10b12e42d33047b60e64ebfc296596.tar.bz2 |
Rename ctx_{get,set}_params to {get,set}_ctx_params
Recently, we added dispatched functions to get parameter descriptions,
and those for operation context parameters ended up being called
something_gettable_ctx_params and something_settable_ctx_params.
The corresponding dispatched functions to actually perform parameter
transfers were previously called something_ctx_get_params and
something_ctx_set_params, which doesn't quite match, so we rename them
to something_get_ctx_params and something_set_ctx_params.
An argument in favor of this name change is English, where you'd
rather say something like "set the context parameters".
This only change the libcrypto <-> provider interface.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9612)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/evp_int.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/include/internal/evp_int.h b/crypto/include/internal/evp_int.h index fb443b1..7b1c6aa 100644 --- a/crypto/include/internal/evp_int.h +++ b/crypto/include/internal/evp_int.h @@ -138,8 +138,8 @@ struct evp_mac_st { OSSL_OP_mac_gettable_ctx_params_fn *gettable_ctx_params; OSSL_OP_mac_settable_ctx_params_fn *settable_ctx_params; OSSL_OP_mac_get_params_fn *get_params; - OSSL_OP_mac_ctx_get_params_fn *ctx_get_params; - OSSL_OP_mac_ctx_set_params_fn *ctx_set_params; + OSSL_OP_mac_get_ctx_params_fn *get_ctx_params; + OSSL_OP_mac_set_ctx_params_fn *set_ctx_params; }; /* Internal keccak algorithms used for KMAC */ @@ -211,8 +211,8 @@ struct evp_md_st { OSSL_OP_digest_freectx_fn *freectx; OSSL_OP_digest_dupctx_fn *dupctx; 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; + OSSL_OP_digest_set_ctx_params_fn *set_ctx_params; + OSSL_OP_digest_get_ctx_params_fn *get_ctx_params; OSSL_OP_digest_gettable_params_fn *gettable_params; OSSL_OP_digest_settable_ctx_params_fn *settable_ctx_params; OSSL_OP_digest_gettable_ctx_params_fn *gettable_ctx_params; @@ -265,8 +265,8 @@ struct evp_cipher_st { OSSL_OP_cipher_freectx_fn *freectx; OSSL_OP_cipher_dupctx_fn *dupctx; OSSL_OP_cipher_get_params_fn *get_params; - OSSL_OP_cipher_ctx_get_params_fn *ctx_get_params; - OSSL_OP_cipher_ctx_set_params_fn *ctx_set_params; + OSSL_OP_cipher_get_ctx_params_fn *get_ctx_params; + OSSL_OP_cipher_set_ctx_params_fn *set_ctx_params; OSSL_OP_cipher_gettable_params_fn *gettable_params; OSSL_OP_cipher_gettable_ctx_params_fn *gettable_ctx_params; OSSL_OP_cipher_settable_ctx_params_fn *settable_ctx_params; |