diff options
author | Werner Koch <wk@gnupg.org> | 2016-02-18 19:24:47 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-02-19 14:35:32 +0100 |
commit | 7cf3c929331133e4381dbceac53d3addd921c929 (patch) | |
tree | 237da9f486a94700da3c9711151ee26b034c1ee4 /random/random.h | |
parent | e49b3f2c10e012509b5930c0df4d6df378d3b9f4 (diff) | |
download | libgcrypt-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.h | 13 |
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); |