Home GnuPG

random: Symbol name cleanup for random-drbg.c.
85ed07790552Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

random: Symbol name cleanup for random-drbg.c.

* random/random-drbg.c: Rename all static objects and macros from
"gcry_drbg" to "drbg".
(drbg_string_t): New typedef.
(drbg_gen_t): New typedef.
(drbg_state_t): New typedef.  Replace all "struct drbg_state_s *" by
this.
(_drbg_init_internal): Replace xcalloc_secure by xtrycalloc_secure so
that an error if actually returned.
(gcry_rngdrbg_cavs_test): Ditto.
(gcry_drbg_healthcheck_sanity): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 18 2016, 8:44 PM
Parents
rC7cf3c9293311: random: Use our symbol name pattern also for drbg functions.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC85ed07790552: random: Symbol name cleanup for random-drbg.c. (authored by Werner Koch <wk@gnupg.org>).Feb 19 2016, 2:35 PM