diff options
author | Pauli <paul.dale@oracle.com> | 2020-09-28 12:47:04 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-09-29 16:33:16 +1000 |
commit | 7d6766cb537e5cebc99e200bc537f744878a87a4 (patch) | |
tree | db9fbd45925e6735deb25b4b1a44771a107c003e /providers/implementations/rands/drbg_hash.c | |
parent | 1be63951f87dfcbc98efe5d94a15298fea885890 (diff) | |
download | openssl-new-7d6766cb537e5cebc99e200bc537f744878a87a4.tar.gz |
prov: prefix provider internal functions with ossl_
Also convert the names to lower case.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13014)
Diffstat (limited to 'providers/implementations/rands/drbg_hash.c')
-rw-r--r-- | providers/implementations/rands/drbg_hash.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/providers/implementations/rands/drbg_hash.c b/providers/implementations/rands/drbg_hash.c index e420d70d55..cf05188968 100644 --- a/providers/implementations/rands/drbg_hash.c +++ b/providers/implementations/rands/drbg_hash.c @@ -270,8 +270,8 @@ static int drbg_hash_instantiate_wrapper(void *vdrbg, unsigned int strength, { PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; - return PROV_DRBG_instantiate(drbg, strength, prediction_resistance, - pstr, pstr_len); + return ossl_prov_drbg_instantiate(drbg, strength, prediction_resistance, + pstr, pstr_len); } /* @@ -304,8 +304,8 @@ static int drbg_hash_reseed_wrapper(void *vdrbg, int prediction_resistance, { PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; - return PROV_DRBG_reseed(drbg, prediction_resistance, ent, ent_len, - adin, adin_len); + return ossl_prov_drbg_reseed(drbg, prediction_resistance, ent, ent_len, + adin, adin_len); } /* @@ -352,8 +352,8 @@ static int drbg_hash_generate_wrapper { PROV_DRBG *drbg = (PROV_DRBG *)vdrbg; - return PROV_DRBG_generate(drbg, out, outlen, strength, - prediction_resistance, adin, adin_len); + return ossl_prov_drbg_generate(drbg, out, outlen, strength, + prediction_resistance, adin, adin_len); } static int drbg_hash_uninstantiate(PROV_DRBG *drbg) @@ -363,7 +363,7 @@ static int drbg_hash_uninstantiate(PROV_DRBG *drbg) OPENSSL_cleanse(hash->V, sizeof(hash->V)); OPENSSL_cleanse(hash->C, sizeof(hash->C)); OPENSSL_cleanse(hash->vtmp, sizeof(hash->vtmp)); - return PROV_DRBG_uninstantiate(drbg); + return ossl_prov_drbg_uninstantiate(drbg); } static int drbg_hash_uninstantiate_wrapper(void *vdrbg) |