diff options
author | Justus Winter <[email protected]> | 2016-11-07 11:21:26 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-11-07 12:00:15 +0000 |
commit | 6e677f9b55fdb610e93134042ee41ee5c641cbdf (patch) | |
tree | e8f1f620fc19f6584d7fbf38f342d9686cefc0c9 /common/asshelp.c | |
parent | g10: Fix crash. (diff) | |
download | gnupg-6e677f9b55fdb610e93134042ee41ee5c641cbdf.tar.gz gnupg-6e677f9b55fdb610e93134042ee41ee5c641cbdf.zip |
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 <[email protected]>
Diffstat (limited to 'common/asshelp.c')
0 files changed, 0 insertions, 0 deletions