Debian Codegraph @

templates/man3/BN_bn2bin.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:19+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: BN_bn2bin.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: BN_bn2bin.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: BN_bn2bin.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: BN_bn2bin.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 "BN_BN2BIN 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "BN_BN2BIN"
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 "BN_bn2binpad, BN_signed_bn2bin, BN_bn2bin, BN_bin2bn, BN_signed_bin2bn, "
79 "BN_bn2lebinpad, BN_signed_bn2lebin, BN_lebin2bn, BN_signed_lebin2bn, "
80 "BN_bn2nativepad, BN_signed_bn2native, BN_native2bn, BN_signed_native2bn, "
81 "BN_bn2hex, BN_bn2dec, BN_hex2bn, BN_dec2bn, BN_print, BN_print_fp, "
82 "BN_bn2mpi, BN_mpi2bn - format conversions"
83 msgstr ""
84
85 #. type: IX
86 #: archlinux debian-trixie debian-unstable
87 #, no-wrap
88 msgid "SYNOPSIS"
89 msgstr ""
90
91 #. type: IX
92 #: archlinux debian-trixie debian-unstable
93 #, no-wrap
94 msgid "Header"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable
99 #, no-wrap
100 msgid ""
101 "\\& #include E<lt>openssl/bn.hE<gt>\n"
102 "\\&\n"
103 "\\& int BN_bn2bin(const BIGNUM *a, unsigned char *to);\n"
104 "\\& int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);\n"
105 "\\& int BN_signed_bn2bin(const BIGNUM *a, unsigned char *to, int tolen);\n"
106 "\\& BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
107 "\\& BIGNUM *BN_signed_bin2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
108 "\\&\n"
109 "\\& int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);\n"
110 "\\& int BN_signed_bn2lebin(const BIGNUM *a, unsigned char *to, int tolen);\n"
111 "\\& BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
112 "\\& BIGNUM *BN_signed_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
113 "\\&\n"
114 "\\& int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);\n"
115 "\\& int BN_signed_bn2native(const BIGNUM *a, unsigned char *to, int tolen);\n"
116 "\\& BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
117 "\\& BIGNUM *BN_signed_native2bn(const unsigned char *s, int len, BIGNUM *ret);\n"
118 "\\&\n"
119 "\\& char *BN_bn2hex(const BIGNUM *a);\n"
120 "\\& char *BN_bn2dec(const BIGNUM *a);\n"
121 "\\& int BN_hex2bn(BIGNUM **a, const char *str);\n"
122 "\\& int BN_dec2bn(BIGNUM **a, const char *str);\n"
123 "\\&\n"
124 "\\& int BN_print(BIO *fp, const BIGNUM *a);\n"
125 "\\& int BN_print_fp(FILE *fp, const BIGNUM *a);\n"
126 "\\&\n"
127 "\\& int BN_bn2mpi(const BIGNUM *a, unsigned char *to);\n"
128 "\\& BIGNUM *BN_mpi2bn(unsigned char *s, int len, BIGNUM *ret);\n"
129 msgstr ""
130
131 #. type: IX
132 #: archlinux debian-trixie debian-unstable
133 #, no-wrap
134 msgid "DESCRIPTION"
135 msgstr ""
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable
139 msgid ""
140 "\\&B<BN_bn2bin()> converts the absolute value of B<a> into big-endian form "
141 "and stores it at B<to>. B<to> must point to BN_num_bytes(B<a>) bytes of "
142 "memory. B<a> and B<to> B<MUST NOT> be NULL."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable
147 msgid ""
148 "\\&B<BN_bn2binpad()> also converts the absolute value of B<a> into big-"
149 "endian form and stores it at B<to>. B<tolen> indicates the length of the "
150 "output buffer \\&B<to>. The result is padded with zeros if necessary. If "
151 "B<tolen> is less than BN_num_bytes(B<a>) an error is returned."
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux
156 msgid ""
157 "\\&B<BN_signed_bn2bin()> converts the value of B<a> into big-endian signed "
158 "2\\*(Aqs complements form and stores it at B<to>. B<tolen> indicates the "
159 "length of the output buffer B<to>. The result is signed extended (padded "
160 "with 0x00 for positive numbers or with 0xff for negative numbers) if "
161 "necessary. If B<tolen> is smaller than the necessary size (which may be "
162 "\\&CW<\\*(C`E<lt>BN_num_bytes(>\\f(CBaCW<) + 1\\*(C'>E<gt>), an error is "
163 "returned."
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable
168 msgid ""
169 "\\&B<BN_bin2bn()> converts the positive integer in big-endian form of length "
170 "\\&B<len> at B<s> into a B<BIGNUM> and places it in B<ret>. If B<ret> is "
171 "NULL, a new B<BIGNUM> is created. B<s> B<MUST NOT> be NULL."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux
176 msgid ""
177 "\\&B<BN_signed_bin2bn()> converts the integer in big-endian signed 2\\*(Aqs "
178 "complement form of length B<len> at B<s> into a B<BIGNUM> and places it in "
179 "B<ret>. If \\&B<ret> is NULL, a new B<BIGNUM> is created."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "\\&B<BN_bn2lebinpad()>, B<BN_signed_bn2lebin()> and B<BN_lebin2bn()> are "
186 "identical to \\&B<BN_bn2binpad()>, B<BN_signed_bn2bin()> and B<BN_bin2bn()> "
187 "except the buffer is in little-endian format."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable
192 msgid ""
193 "\\&B<BN_bn2nativepad()>, B<BN_signed_bn2native()> and B<BN_native2bn()> are "
194 "identical to B<BN_bn2binpad()>, B<BN_signed_bn2bin()> and B<BN_bin2bn()> "
195 "except the buffer is in native format, i.e. most significant byte first on "
196 "big-endian platforms, and least significant byte first on little-endian "
197 "platforms."
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux
202 msgid ""
203 "\\&B<BN_bn2hex()> and B<BN_bn2dec()> return printable strings containing the "
204 "hexadecimal and decimal encoding of B<a> respectively. For negative numbers, "
205 "the string is prefaced with a leading \\*(Aq-\\*(Aq. The string must be "
206 "freed later using B<OPENSSL_free()>."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux
211 msgid ""
212 "\\&B<BN_hex2bn()> takes as many characters as possible from the string "
213 "B<str>, including the leading character \\*(Aq-\\*(Aq which means negative, "
214 "to form a valid hexadecimal number representation and converts them to a "
215 "B<BIGNUM> and stores it in **B<a>. If *B<a> is NULL, a new B<BIGNUM> is "
216 "created. If \\&B<a> is NULL, it only computes the length of valid "
217 "representation. A \"negative zero\" is converted to zero. "
218 "\\&B<BN_dec2bn()> is the same using the decimal system."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux
223 msgid ""
224 "\\&B<BN_print()> and B<BN_print_fp()> write the hexadecimal encoding of "
225 "B<a>, with a leading \\*(Aq-\\*(Aq for negative numbers, to the B<BIO> or "
226 "B<FILE> \\&B<fp>."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux
231 msgid ""
232 "\\&B<BN_bn2mpi()> and B<BN_mpi2bn()> convert B<BIGNUM>s from and to a format "
233 "that consists of the number\\*(Aqs length in bytes represented as a 4-byte "
234 "big-endian number, and the number itself in big-endian format, where the "
235 "most significant bit signals a negative number (the representation of "
236 "numbers with the MSB set is prefixed with null byte)."
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable
241 msgid ""
242 "\\&B<BN_bn2mpi()> stores the representation of B<a> at B<to>, where B<to> "
243 "must be large enough to hold the result. The size can be determined by "
244 "calling BN_bn2mpi(B<a>, NULL)."
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable
249 msgid ""
250 "\\&B<BN_mpi2bn()> converts the B<len> bytes long representation at B<s> to a "
251 "B<BIGNUM> and stores it at B<ret>, or in a newly allocated B<BIGNUM> if "
252 "B<ret> is NULL."
253 msgstr ""
254
255 #. type: IX
256 #: archlinux debian-trixie debian-unstable
257 #, no-wrap
258 msgid "RETURN VALUES"
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable
263 msgid ""
264 "\\&B<BN_bn2bin()> returns the length of the big-endian number placed at "
265 "B<to>. \\&B<BN_bin2bn()> returns the B<BIGNUM>, NULL on error."
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable
270 msgid ""
271 "\\&B<BN_bn2binpad()>, B<BN_signed_bn2bin()>, B<BN_bn2lebinpad()>, "
272 "B<BN_signed_bn2lebin()>, \\&B<BN_bn2nativepad()>, and_signed "
273 "B<BN_bn2native()> return the number of bytes written or -1 if the supplied "
274 "buffer is too small."
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable
279 msgid ""
280 "\\&B<BN_bn2hex()> and B<BN_bn2dec()> return a NUL-terminated string, or NULL "
281 "on error. B<BN_hex2bn()> and B<BN_dec2bn()> return the number of characters "
282 "used in parsing, or 0 on error, in which case no new B<BIGNUM> will be "
283 "created."
284 msgstr ""
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable
288 msgid ""
289 "\\&B<BN_print_fp()> and B<BN_print()> return 1 on success, 0 on write errors."
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "\\&B<BN_bn2mpi()> returns the length of the representation. B<BN_mpi2bn()> "
296 "returns the B<BIGNUM>, and NULL on error."
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable
301 msgid "The error codes can be obtained by B<ERR_get_error>\\|(3)."
302 msgstr ""
303
304 #. type: IX
305 #: archlinux debian-trixie debian-unstable
306 #, no-wrap
307 msgid "SEE ALSO"
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable
312 msgid ""
313 "\\&B<ERR_get_error>\\|(3), B<BN_zero>\\|(3), \\&B<ASN1_INTEGER_to_BN>\\|(3), "
314 "\\&B<BN_num_bytes>\\|(3)"
315 msgstr ""
316
317 #. type: IX
318 #: archlinux debian-trixie debian-unstable
319 #, no-wrap
320 msgid "HISTORY"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable
325 msgid ""
326 "The functions B<BN_signed_bin2bn()>, B<BN_signed_bn2bin()>, "
327 "B<BN_signed_lebin2bn()>, \\&B<BN_signed_bn2lebin()>, "
328 "B<BN_signed_native2bn()>, B<BN_signed_bn2native()> were added in OpenSSL 3.2."
329 msgstr ""
330
331 #. type: IX
332 #: archlinux debian-trixie debian-unstable
333 #, no-wrap
334 msgid "COPYRIGHT"
335 msgstr ""
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable
339 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable
344 msgid ""
345 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
346 "this file except in compliance with the License. You can obtain a copy in "
347 "the file LICENSE in the source distribution or at E<lt>https://"
348 "www.openssl.org/source/license.htmlE<gt>."
349 msgstr ""
350
351 #. ========================================================================
352 #. type: IX
353 #: debian-trixie debian-unstable
354 #, no-wrap
355 msgid "BN_BN2BIN 3SSL"
356 msgstr ""
357
358 #. type: TH
359 #: debian-trixie
360 #, no-wrap
361 msgid "3.5.6"
362 msgstr ""
363
364 #. type: Plain text
365 #: debian-trixie debian-unstable
366 msgid ""
367 "\\&B<BN_signed_bn2bin()> converts the value of B<a> into big-endian signed "
368 "2's complements form and stores it at B<to>. B<tolen> indicates the length "
369 "of the output buffer B<to>. The result is signed extended (padded with 0x00 "
370 "for positive numbers or with 0xff for negative numbers) if necessary. If "
371 "B<tolen> is smaller than the necessary size (which may be "
372 "\\&CW<\\*(C`E<lt>BN_num_bytes(>\\f(CBaCW<) + 1\\*(C'>E<gt>), an error is "
373 "returned."
374 msgstr ""
375
376 #. type: Plain text
377 #: debian-trixie debian-unstable
378 msgid ""
379 "\\&B<BN_signed_bin2bn()> converts the integer in big-endian signed 2's "
380 "complement form of length B<len> at B<s> into a B<BIGNUM> and places it in "
381 "B<ret>. If \\&B<ret> is NULL, a new B<BIGNUM> is created."
382 msgstr ""
383
384 #. type: Plain text
385 #: debian-trixie debian-unstable
386 msgid ""
387 "\\&B<BN_bn2hex()> and B<BN_bn2dec()> return printable strings containing the "
388 "hexadecimal and decimal encoding of B<a> respectively. For negative numbers, "
389 "the string is prefaced with a leading '-'. The string must be freed later "
390 "using B<OPENSSL_free()>."
391 msgstr ""
392
393 #. type: Plain text
394 #: debian-trixie debian-unstable
395 msgid ""
396 "\\&B<BN_hex2bn()> takes as many characters as possible from the string "
397 "B<str>, including the leading character '-' which means negative, to form a "
398 "valid hexadecimal number representation and converts them to a B<BIGNUM> and "
399 "stores it in **B<a>. If *B<a> is NULL, a new B<BIGNUM> is created. If "
400 "\\&B<a> is NULL, it only computes the length of valid representation. A "
401 "\"negative zero\" is converted to zero. \\&B<BN_dec2bn()> is the same using "
402 "the decimal system."
403 msgstr ""
404
405 #. type: Plain text
406 #: debian-trixie debian-unstable
407 msgid ""
408 "\\&B<BN_print()> and B<BN_print_fp()> write the hexadecimal encoding of "
409 "B<a>, with a leading '-' for negative numbers, to the B<BIO> or B<FILE> "
410 "\\&B<fp>."
411 msgstr ""
412
413 #. type: Plain text
414 #: debian-trixie debian-unstable
415 msgid ""
416 "\\&B<BN_bn2mpi()> and B<BN_mpi2bn()> convert B<BIGNUM>s from and to a format "
417 "that consists of the number's length in bytes represented as a 4-byte big-"
418 "endian number, and the number itself in big-endian format, where the most "
419 "significant bit signals a negative number (the representation of numbers "
420 "with the MSB set is prefixed with null byte)."
421 msgstr ""