projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RAND_DRBG: add a callback data for entropy and nonce callbacks
[openssl.git]
/
crypto
/
rand
/
rand_local.h
diff --git
a/crypto/rand/rand_local.h
b/crypto/rand/rand_local.h
index c0ba3bad0323601e0aa73c0719624eeb9f1718dd..ce1689253190e1b0a500dd53e38d152132cbf9dc 100644
(file)
--- a/
crypto/rand/rand_local.h
+++ b/
crypto/rand/rand_local.h
@@
-328,6
+328,8
@@
struct rand_drbg_st {
RAND_DRBG_cleanup_entropy_fn cleanup_entropy;
RAND_DRBG_get_nonce_fn get_nonce;
RAND_DRBG_cleanup_nonce_fn cleanup_nonce;
+
+ void *callback_data;
};
/* The global RAND method, and the global buffer and DRBG instance. */