summaryrefslogtreecommitdiff
path: root/random/random.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-02-18 19:24:47 +0100
committerWerner Koch <wk@gnupg.org>2016-02-19 14:35:32 +0100
commit7cf3c929331133e4381dbceac53d3addd921c929 (patch)
tree237da9f486a94700da3c9711151ee26b034c1ee4 /random/random.h
parente49b3f2c10e012509b5930c0df4d6df378d3b9f4 (diff)
downloadlibgcrypt-7cf3c929331133e4381dbceac53d3addd921c929.tar.gz
random: Use our symbol name pattern also for drbg functions.
* random/random-drbg.c: Rename global functions from _gcry_drbg_* to _gcry_rngdrbg_*. * random/random.c: Adjust for this change. * src/global.c: Ditto. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'random/random.h')
-rw-r--r--random/random.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/random/random.h b/random/random.h
index 2c4f1df6..5dbdf953 100644
--- a/random/random.h
+++ b/random/random.h
@@ -54,9 +54,9 @@ 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 (const char *flagstr,
- gcry_buffer_t *pers, int npers);
+/*-- random-drbg.c --*/
+gpg_err_code_t _gcry_rngdrbg_reinit (const char *flagstr,
+ gcry_buffer_t *pers, int npers);
/* private interfaces for testing of DRBG */
struct gcry_drbg_test_vector
{
@@ -79,9 +79,10 @@ struct gcry_drbg_test_vector
size_t addtl_reseed_len;
};
-gpg_err_code_t gcry_drbg_cavs_test (struct gcry_drbg_test_vector *test,
- unsigned char *buf);
-gpg_err_code_t gcry_drbg_healthcheck_one (struct gcry_drbg_test_vector *test);
+gpg_err_code_t gcry_rngdrbg_cavs_test (struct gcry_drbg_test_vector *t,
+ unsigned char *buf);
+gpg_err_code_t gcry_rngdrbg_healthcheck_one (struct gcry_drbg_test_vector *t);
+
/*-- rndegd.c --*/
gpg_error_t _gcry_rndegd_set_socket_name (const char *name);