Home GnuPG

gpgscm: Add support for pseudo-random numbers.

Description

gpgscm: Add support for pseudo-random numbers.

* tests/gpgscm/ffi.c (do_getpid): New function.
(do_srandom): Likewise.
(random_scaled): Likewise.
(do_random): Likewise.
(do_make_random_string): Likewise.
(ffi_init): Expose the new functions.
* tests/gpgscm/lib.scm: Document the new functions.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 7 2016, 12:21 PM
Parents
rEdd3683d44273: Change all http://www.gnu.org in license notices to https://
Branches
Unknown
Tags
Unknown