Lines Matching +full:num +full:- +full:strings

18 .\" Set up some character translations and predefined strings.  \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
45 .\" Escape single quotes in literal strings from groff's Unicode transform.
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
99 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
100 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
102 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
104 . \" troff and (daisy-wheel) nroff accents
123 . ds d- d\h'-1'\(ga
124 . ds D- D\h'-1'\(hy
134 .TH RAND_BYTES 3ossl "2023-09-19" "3.0.11" "OpenSSL"
141 RAND_pseudo_bytes \- generate random data
147 \& int RAND_bytes(unsigned char *buf, int num);
148 \& int RAND_priv_bytes(unsigned char *buf, int num);
150 \& int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
152 \& int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
157 hidden entirely by defining \fB\s-1OPENSSL_API_COMPAT\s0\fR with a suitable version value,
161 \& int RAND_pseudo_bytes(unsigned char *buf, int num);
165 \&\fBRAND_bytes()\fR generates \fBnum\fR random bytes using a cryptographically
166 secure pseudo random generator (\s-1CSPRNG\s0) and stores them in \fBbuf\fR.
170 default \s-1RAND_METHOD,\s0 this function uses a separate \*(L"private\*(R" \s-1PRNG\s0
171 instance so that a compromise of the \*(L"public\*(R" \s-1PRNG\s0 instance will not
172 affect the secrecy of these private values, as described in \s-1\fBRAND\s0\fR\|(7)
173 and \s-1\fBEVP_RAND\s0\fR\|(7).
179 The \s-1DRBG\s0 used for the operation is the public or private \s-1DRBG\s0 associated with
180 the specified \fIctx\fR. The parameter can be \s-1NULL,\s0 in which case
181 the default library context is used (see \s-1\fBOSSL_LIB_CTX\s0\fR\|(3).
182 If the default \s-1RAND_METHOD\s0 has been changed then for compatibility reasons the
183 \&\s-1RAND_METHOD\s0 will be used in preference and the \s-1DRBG\s0 of the library context
187 By default, the OpenSSL \s-1CSPRNG\s0 supports a security level of 256 bits, provided it
189 On all major platforms supported by OpenSSL (including the Unix-like platforms
190 and Windows), OpenSSL is configured to automatically seed the \s-1CSPRNG\s0 on first use
193 If the entropy source fails or is not available, the \s-1CSPRNG\s0 will enter an
201 your operating system vendor or post a question on GitHub or the openssl-users
206 return 1 on success, \-1 if not supported by the current
207 \&\s-1RAND\s0 method, or 0 on other failure. The error code can be
215 \&\s-1\fBRAND\s0\fR\|(7),
216 \&\s-1\fBEVP_RAND\s0\fR\|(7)
227 Copyright 2000\-2023 The OpenSSL Project Authors. All Rights Reserved.
231 in the file \s-1LICENSE\s0 in the source distribution or at