1gnutls_rnd(3) gnutls gnutls_rnd(3)
2
3
4
6 gnutls_rnd - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_rnd(gnutls_rnd_level_t level, void * data, size_t len);
12
14 gnutls_rnd_level_t level
15 a security level
16
17 void * data place to store random bytes
18
19 size_t len The requested size
20
22 This function will generate random data and store it to output buffer.
23
25 Zero or a negative value on error.
26
28 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
29 http://www.gnu.org/software/gnutls/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2008 Free Software Foundation.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 2.12.6.1 gnutls_rnd(3)