Debian Codegraph @

templates/man3/RAND_bytes.3ssl.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # #-#-#-#-# archlinux: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: RAND_bytes.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "RAND_BYTES 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "RAND_BYTES"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid ""
78 "RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex, "
79 "RAND_pseudo_bytes, RAND_set1_random_provider - generate random data"
80 msgstr ""
81
82 #. type: IX
83 #: archlinux debian-trixie debian-unstable
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr ""
87
88 #. type: IX
89 #: archlinux debian-trixie debian-unstable
90 #, no-wrap
91 msgid "Header"
92 msgstr ""
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable
96 #, no-wrap
97 msgid ""
98 "\\& #include E<lt>openssl/rand.hE<gt>\n"
99 "\\&\n"
100 "\\& int RAND_bytes(unsigned char *buf, int num);\n"
101 "\\& int RAND_priv_bytes(unsigned char *buf, int num);\n"
102 "\\&\n"
103 "\\& int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,\n"
104 "\\& unsigned int strength);\n"
105 "\\& int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,\n"
106 "\\& unsigned int strength);\n"
107 "\\&\n"
108 "\\& int RAND_set1_random_provider(OSSL_LIB_CTX *ctx, OSSL_PROVIDER *p);\n"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable
113 msgid ""
114 "The following function has been deprecated since OpenSSL 1.1.0, and can be "
115 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
116 "value, see B<openssl_user_macros>\\|(7):"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable
121 #, no-wrap
122 msgid "\\& int RAND_pseudo_bytes(unsigned char *buf, int num);\n"
123 msgstr ""
124
125 #. type: IX
126 #: archlinux debian-trixie debian-unstable
127 #, no-wrap
128 msgid "DESCRIPTION"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable
133 msgid ""
134 "\\&B<RAND_bytes()> generates B<num> random bytes using a cryptographically "
135 "secure pseudo random generator (CSPRNG) and stores them in B<buf>. B<buf> "
136 "B<MUST NOT> be NULL."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable
141 msgid ""
142 "\\&B<RAND_priv_bytes()> has the same semantics as B<RAND_bytes()>. It is "
143 "intended to be used for generating values that should remain private. If "
144 "using the default RAND_METHOD, this function uses a separate \"private\" "
145 "PRNG instance so that a compromise of the \"public\" PRNG instance will not "
146 "affect the secrecy of these private values, as described in B<RAND>\\|(7) "
147 "and B<EVP_RAND>\\|(7)."
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable
152 msgid ""
153 "\\&B<RAND_bytes_ex()> and B<RAND_priv_bytes_ex()> are the same as "
154 "B<RAND_bytes()> and \\&B<RAND_priv_bytes()> except that they both take "
155 "additional I<strength> and \\&I<ctx> parameters. The bytes generated will "
156 "have a security strength of at least I<strength> bits. The DRBG used for "
157 "the operation is the public or private DRBG associated with the specified "
158 "I<ctx>. The parameter can be NULL, in which case the default library context "
159 "is used (see B<OSSL_LIB_CTX>\\|(3). If the default RAND_METHOD has been "
160 "changed then for compatibility reasons the RAND_METHOD will be used in "
161 "preference and the DRBG of the library context ignored."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable
166 msgid ""
167 "\\&B<RAND_set1_random_provider()> specifies a provider, I<prov>, which will "
168 "be used by the library context I<ctx> for all of the generate calls above "
169 "instead of the built-in in DRBGs and entropy source. Pass NULL for the "
170 "provider to disable the random provider functionality. In this case, the "
171 "built-in DRBGs and entropy source will be used. This call should not be "
172 "considered thread safe."
173 msgstr ""
174
175 #. type: IX
176 #: archlinux debian-trixie debian-unstable
177 #, no-wrap
178 msgid "NOTES"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux
183 msgid ""
184 "By default, the OpenSSL CSPRNG supports a security level of 256 bits, "
185 "provided it was able to seed itself from a trusted entropy source. On all "
186 "major platforms supported by OpenSSL (including the Unix-like platforms and "
187 "Windows), OpenSSL is configured to automatically seed the CSPRNG on first "
188 "use using the operating systems\\*(Aqs random generator."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable
193 msgid ""
194 "If the entropy source fails or is not available, the CSPRNG will enter an "
195 "error state and refuse to generate random bytes. For that reason, it is "
196 "important to always check the error return value of B<RAND_bytes()> and "
197 "B<RAND_priv_bytes()> and not take randomness for granted."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux
202 msgid ""
203 "On other platforms, there might not be a trusted entropy source available or "
204 "OpenSSL might have been explicitly configured to use different entropy "
205 "sources. If you are in doubt about the quality of the entropy source, "
206 "don\\*(Aqt hesitate to ask your operating system vendor or post a question "
207 "on GitHub or the openssl-users mailing list."
208 msgstr ""
209
210 #. type: IX
211 #: archlinux debian-trixie debian-unstable
212 #, no-wrap
213 msgid "RETURN VALUES"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable
218 msgid ""
219 "\\&B<RAND_bytes()> and B<RAND_priv_bytes()> return 1 on success, -1 if not "
220 "supported by the current RAND method, or 0 on other failure. The error code "
221 "can be obtained by B<ERR_get_error>\\|(3)."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable
226 msgid ""
227 "\\&B<RAND_set1_random_provider()> returns 1 on success and 0 on failure."
228 msgstr ""
229
230 #. type: IX
231 #: archlinux debian-trixie debian-unstable
232 #, no-wrap
233 msgid "SEE ALSO"
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable
238 msgid ""
239 "\\&B<RAND_add>\\|(3), \\&B<RAND_bytes>\\|(3), \\&B<RAND_priv_bytes>\\|(3), "
240 "\\&B<ERR_get_error>\\|(3), \\&B<RAND>\\|(7), \\&B<EVP_RAND>\\|(7)"
241 msgstr ""
242
243 #. type: IX
244 #: archlinux debian-trixie debian-unstable
245 #, no-wrap
246 msgid "HISTORY"
247 msgstr ""
248
249 #. type: IP
250 #: archlinux debian-trixie debian-unstable
251 #, no-wrap
252 msgid "\\(bu"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable
257 msgid ""
258 "\\&B<RAND_pseudo_bytes()> was deprecated in OpenSSL 1.1.0; use "
259 "B<RAND_bytes()> instead."
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable
264 msgid "The B<RAND_priv_bytes()> function was added in OpenSSL 1.1.1."
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable
269 msgid ""
270 "The B<RAND_bytes_ex()> and B<RAND_priv_bytes_ex()> functions were added in "
271 "OpenSSL 3.0"
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable
276 msgid "The B<RAND_set1_random_provider()> function was added in OpenSSL 3.5"
277 msgstr ""
278
279 #. type: IX
280 #: archlinux debian-trixie debian-unstable
281 #, no-wrap
282 msgid "COPYRIGHT"
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable
287 msgid "Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved."
288 msgstr ""
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable
292 msgid ""
293 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
294 "this file except in compliance with the License. You can obtain a copy in "
295 "the file LICENSE in the source distribution or at E<lt>https://"
296 "www.openssl.org/source/license.htmlE<gt>."
297 msgstr ""
298
299 #. ========================================================================
300 #. type: IX
301 #: debian-trixie debian-unstable
302 #, no-wrap
303 msgid "RAND_BYTES 3SSL"
304 msgstr ""
305
306 #. type: TH
307 #: debian-trixie
308 #, no-wrap
309 msgid "3.5.6"
310 msgstr ""
311
312 #. type: Plain text
313 #: debian-trixie debian-unstable
314 msgid ""
315 "By default, the OpenSSL CSPRNG supports a security level of 256 bits, "
316 "provided it was able to seed itself from a trusted entropy source. On all "
317 "major platforms supported by OpenSSL (including the Unix-like platforms and "
318 "Windows), OpenSSL is configured to automatically seed the CSPRNG on first "
319 "use using the operating systems's random generator."
320 msgstr ""
321
322 #. type: Plain text
323 #: debian-trixie debian-unstable
324 msgid ""
325 "On other platforms, there might not be a trusted entropy source available or "
326 "OpenSSL might have been explicitly configured to use different entropy "
327 "sources. If you are in doubt about the quality of the entropy source, don't "
328 "hesitate to ask your operating system vendor or post a question on GitHub or "
329 "the openssl-users mailing list."
330 msgstr ""