[PATCH 5/8] Function definitions for gcry_control callbacks

Stephan Mueller smueller at chronox.de
Sun Mar 2 14:09:22 CET 2014


The function definitions implemented in drbg.c which are used for
gcry_control.

Signed-off-by: Stephan Mueller <smueller at chronox.de>
---
 random/random.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/random/random.h b/random/random.h
index 2bc8cab..092d090 100644
--- a/random/random.h
+++ b/random/random.h
@@ -54,7 +54,11 @@ gcry_err_code_t _gcry_random_run_external_test (void *context,
                                                 char *buffer, size_t buflen);
 void            _gcry_random_deinit_external_test (void *context);
 
-
+/*-- drbg.c --*/
+gpg_err_code_t _gcry_drbg_reinit(__u64 flags,
+				 unsigned char *pers, size_t perslen);
+gpg_err_code_t _gcry_drbg_set_entropy(unsigned char *entropy,
+				      size_t entropylen);
 /*-- rndegd.c --*/
 gpg_error_t _gcry_rndegd_set_socket_name (const char *name);
 
-- 
1.8.5.3





More information about the Gcrypt-devel mailing list