diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2020-01-26 22:18:23 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2020-02-07 11:38:02 +0100 |
commit | 30a9d5d1a72149c4eb2b8e5aa83f509344c80232 (patch) | |
tree | c8ae072771a45fa23ad49b0cc0a3ffe740623392 /util | |
parent | b03de7a9207645c72e22627b10709f15eed211bf (diff) |
RAND_DRBG: add a callback data for entropy and nonce callbacks
The callback data allows passing context specific data from the
application of the DRBG to to the entropy callbacks.
This a rather specialized feature which is useful for implementing
known answer tests (KATs) or deterministic signatures (RFC6979),
which require passing a specified entropy and nonce for instantiating
the DRBG.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10950)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index dc6515cfc9..777db89d9f 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4918,3 +4918,5 @@ PKCS8_pkey_add1_attr_by_OBJ ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_private_check ? 3_0_0 EXIST::FUNCTION: EVP_PKEY_pairwise_check ? 3_0_0 EXIST::FUNCTION: ASN1_item_verify_ctx ? 3_0_0 EXIST::FUNCTION: +RAND_DRBG_set_callback_data ? 3_0_0 EXIST::FUNCTION: +RAND_DRBG_get_callback_data ? 3_0_0 EXIST::FUNCTION: |