summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <ppzgs1@gmail.com>2021-02-26 10:52:13 +1000
committerPauli <ppzgs1@gmail.com>2021-02-28 17:25:49 +1000
commit671ff5c74ec135b7c419895983d67c63013ffa9e (patch)
tree72dd2853a39b64c3c263d24c4f9bf6c8c1dfda49 /include
parent6980e36a2aab7a916e8bdcdb70ee03ebaa1bc1cf (diff)
evp: add params argument to EVP_RAND_instantiate()
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14310)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/evp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index a6a05b1ba6..96a82827fc 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -1193,7 +1193,8 @@ int EVP_RAND_names_do_all(const EVP_RAND *rand,
__owur int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength,
int prediction_resistance,
- const unsigned char *pstr, size_t pstr_len);
+ const unsigned char *pstr, size_t pstr_len,
+ const OSSL_PARAM params[]);
int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
__owur int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out,
size_t outlen, unsigned int strength,