[PATCH v2 5/8] Function definitions for gcry_control callbacks

Stephan Mueller smueller at chronox.de
Sun Mar 9 00:27:44 CET 2014


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

Signed-off-by: Stephan Mueller <smueller at chronox.de>

diff --git a/random/random.h b/random/random.h
index 2bc8cab..ba8899e 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(__u32 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