diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-02-17 19:56:35 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-18 21:14:32 +1000 |
commit | 47c076acfc5debbae386c552bdb423e832042ae7 (patch) | |
tree | ede4caca459c3373ecba2a7fbc7b7550ec04fa85 /providers/implementations/macs | |
parent | bcb61b39b47419b9de1dbc37cd2f67b71eeb23ea (diff) | |
download | openssl-47c076acfc5debbae386c552bdb423e832042ae7.zip openssl-47c076acfc5debbae386c552bdb423e832042ae7.tar.gz openssl-47c076acfc5debbae386c552bdb423e832042ae7.tar.bz2 |
Fix external symbols in the provider digest implementations.
Partial fix for #12964
This adds ossl_ names for the following symbols:
blake2b512_init,blake2b_final,blake2b_init,blake2b_init_key,
blake2b_param_init,blake2b_param_set_digest_length,blake2b_param_set_key_length,
blake2b_param_set_personal,blake2b_param_set_salt,blake2b_update,
blake2s256_init,blake2s_final,blake2s_init,blake2s_init_key,
blake2s_param_init,blake2s_param_set_digest_length,blake2s_param_set_key_length,
blake2s_param_set_personal,blake2s_param_set_salt,blake2s_update,
digest_default_get_params,digest_default_gettable_params
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14211)
Diffstat (limited to 'providers/implementations/macs')
-rw-r--r-- | providers/implementations/macs/blake2b_mac.c | 16 | ||||
-rw-r--r-- | providers/implementations/macs/blake2s_mac.c | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/providers/implementations/macs/blake2b_mac.c b/providers/implementations/macs/blake2b_mac.c index 31c3dd0..d1781d0 100644 --- a/providers/implementations/macs/blake2b_mac.c +++ b/providers/implementations/macs/blake2b_mac.c @@ -16,14 +16,14 @@ #define BLAKE2_SALTBYTES BLAKE2B_SALTBYTES /* Function names */ -#define BLAKE2_PARAM_INIT blake2b_param_init -#define BLAKE2_INIT_KEY blake2b_init_key -#define BLAKE2_UPDATE blake2b_update -#define BLAKE2_FINAL blake2b_final -#define BLAKE2_PARAM_SET_DIGEST_LENGTH blake2b_param_set_digest_length -#define BLAKE2_PARAM_SET_KEY_LENGTH blake2b_param_set_key_length -#define BLAKE2_PARAM_SET_PERSONAL blake2b_param_set_personal -#define BLAKE2_PARAM_SET_SALT blake2b_param_set_salt +#define BLAKE2_PARAM_INIT ossl_blake2b_param_init +#define BLAKE2_INIT_KEY ossl_blake2b_init_key +#define BLAKE2_UPDATE ossl_blake2b_update +#define BLAKE2_FINAL ossl_blake2b_final +#define BLAKE2_PARAM_SET_DIGEST_LENGTH ossl_blake2b_param_set_digest_length +#define BLAKE2_PARAM_SET_KEY_LENGTH ossl_blake2b_param_set_key_length +#define BLAKE2_PARAM_SET_PERSONAL ossl_blake2b_param_set_personal +#define BLAKE2_PARAM_SET_SALT ossl_blake2b_param_set_salt /* OSSL_DISPATCH symbol */ #define BLAKE2_FUNCTIONS ossl_blake2bmac_functions diff --git a/providers/implementations/macs/blake2s_mac.c b/providers/implementations/macs/blake2s_mac.c index 54db7e3..90583a5 100644 --- a/providers/implementations/macs/blake2s_mac.c +++ b/providers/implementations/macs/blake2s_mac.c @@ -16,14 +16,14 @@ #define BLAKE2_SALTBYTES BLAKE2S_SALTBYTES /* Function names */ -#define BLAKE2_PARAM_INIT blake2s_param_init -#define BLAKE2_INIT_KEY blake2s_init_key -#define BLAKE2_UPDATE blake2s_update -#define BLAKE2_FINAL blake2s_final -#define BLAKE2_PARAM_SET_DIGEST_LENGTH blake2s_param_set_digest_length -#define BLAKE2_PARAM_SET_KEY_LENGTH blake2s_param_set_key_length -#define BLAKE2_PARAM_SET_PERSONAL blake2s_param_set_personal -#define BLAKE2_PARAM_SET_SALT blake2s_param_set_salt +#define BLAKE2_PARAM_INIT ossl_blake2s_param_init +#define BLAKE2_INIT_KEY ossl_blake2s_init_key +#define BLAKE2_UPDATE ossl_blake2s_update +#define BLAKE2_FINAL ossl_blake2s_final +#define BLAKE2_PARAM_SET_DIGEST_LENGTH ossl_blake2s_param_set_digest_length +#define BLAKE2_PARAM_SET_KEY_LENGTH ossl_blake2s_param_set_key_length +#define BLAKE2_PARAM_SET_PERSONAL ossl_blake2s_param_set_personal +#define BLAKE2_PARAM_SET_SALT ossl_blake2s_param_set_salt /* OSSL_DISPATCH symbol */ #define BLAKE2_FUNCTIONS ossl_blake2smac_functions |