Home GnuPG
Diffusion GnuPG 6e677f9b55fd

gpgscm: Add support for pseudo-random numbers.
6e677f9b55fdUnpublished

Unpublished Commit ยท Learn More

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

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
rG5840353d8bbc: g10: Fix crash.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG6e677f9b55fd: gpgscm: Add support for pseudo-random numbers. (authored by Justus Winter <justus@g10code.com>).Nov 7 2016, 1:00 PM