Debian Codegraph @

templates/man3/RSA_public_encrypt.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:40+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: RSA_public_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: RSA_public_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: RSA_public_encrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: RSA_public_encrypt.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 "RSA_PUBLIC_ENCRYPT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "RSA_PUBLIC_ENCRYPT"
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 "RSA_public_encrypt, RSA_private_decrypt - RSA public key cryptography"
78 msgstr ""
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr ""
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "Header"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid "\\& #include E<lt>openssl/rsa.hE<gt>\n"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable
100 msgid ""
101 "The following functions have been deprecated since OpenSSL 3.0, and can be "
102 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
103 "value, see B<openssl_user_macros>\\|(7):"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable
108 #, no-wrap
109 msgid ""
110 "\\& int RSA_public_encrypt(int flen, const unsigned char *from,\n"
111 "\\& unsigned char *to, RSA *rsa, int padding);\n"
112 "\\&\n"
113 "\\& int RSA_private_decrypt(int flen, const unsigned char *from,\n"
114 "\\& unsigned char *to, RSA *rsa, int padding);\n"
115 msgstr ""
116
117 #. type: IX
118 #: archlinux debian-trixie debian-unstable
119 #, no-wrap
120 msgid "DESCRIPTION"
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable
125 msgid ""
126 "Both of the functions described on this page are deprecated. Applications "
127 "should instead use B<EVP_PKEY_encrypt_init_ex>\\|(3), "
128 "\\&B<EVP_PKEY_encrypt>\\|(3), B<EVP_PKEY_decrypt_init_ex>\\|(3) and "
129 "\\&B<EVP_PKEY_decrypt>\\|(3)."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable
134 msgid ""
135 "\\&B<RSA_public_encrypt()> encrypts the B<flen> bytes at B<from> (usually a "
136 "session key) using the public key B<rsa> and stores the ciphertext in "
137 "\\&B<to>. B<to> must point to RSA_size(B<rsa>) bytes of memory."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable
142 msgid "\\&B<padding> denotes one of the following modes:"
143 msgstr ""
144
145 #. type: IX
146 #: archlinux debian-trixie debian-unstable
147 #, no-wrap
148 msgid "RSA_PKCS1_PADDING"
149 msgstr ""
150
151 #. type: IX
152 #: archlinux debian-trixie debian-unstable
153 #, no-wrap
154 msgid "Item"
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable
159 msgid ""
160 "PKCS #1 v1.5 padding. This currently is the most widely used mode. However, "
161 "it is highly recommended to use RSA_PKCS1_OAEP_PADDING in new applications. "
162 "SEE WARNING BELOW."
163 msgstr ""
164
165 #. type: IX
166 #: archlinux debian-trixie debian-unstable
167 #, no-wrap
168 msgid "RSA_PKCS1_OAEP_PADDING"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable
173 msgid ""
174 "EME-OAEP as defined in PKCS #1 v2.0 with SHA-1, MGF1 and an empty encoding "
175 "parameter. This mode is recommended for all new applications."
176 msgstr ""
177
178 #. type: IX
179 #: archlinux debian-trixie debian-unstable
180 #, no-wrap
181 msgid "RSA_NO_PADDING"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable
186 msgid ""
187 "Raw RSA encryption. This mode should I<only> be used to implement "
188 "cryptographically sound padding modes in the application code. Encrypting "
189 "user data directly with RSA is insecure."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid ""
195 "When encrypting B<flen> must not be more than RSA_size(B<rsa>) - 11 for the "
196 "PKCS #1 v1.5 based padding modes, not more than RSA_size(B<rsa>) - 42 for "
197 "RSA_PKCS1_OAEP_PADDING and exactly RSA_size(B<rsa>) for RSA_NO_PADDING. "
198 "When a padding mode other than RSA_NO_PADDING is in use, then "
199 "\\&B<RSA_public_encrypt()> will include some random bytes into the "
200 "ciphertext and therefore the ciphertext will be different each time, even if "
201 "the plaintext and the public key are exactly identical. The returned "
202 "ciphertext in B<to> will always be zero padded to exactly RSA_size(B<rsa>) "
203 "bytes. \\&B<to> and B<from> may overlap."
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable
208 msgid ""
209 "\\&B<RSA_private_decrypt()> decrypts the B<flen> bytes at B<from> using the "
210 "private key B<rsa> and stores the plaintext in B<to>. B<flen> should be "
211 "equal to RSA_size(B<rsa>) but may be smaller, when leading zero bytes are in "
212 "the ciphertext. Those are not important and may be removed, but "
213 "B<RSA_public_encrypt()> does not do that. B<to> must point to a memory "
214 "section large enough to hold the maximal possible decrypted data (which is "
215 "equal to RSA_size(B<rsa>) for RSA_NO_PADDING, RSA_size(B<rsa>) - 11 for the "
216 "PKCS #1 v1.5 based padding modes and RSA_size(B<rsa>) - 42 for "
217 "RSA_PKCS1_OAEP_PADDING). \\&B<padding> is the padding mode that was used to "
218 "encrypt the data. \\&B<to> and B<from> may overlap."
219 msgstr ""
220
221 #. type: IX
222 #: archlinux debian-trixie debian-unstable
223 #, no-wrap
224 msgid "RETURN VALUES"
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable
229 msgid ""
230 "\\&B<RSA_public_encrypt()> returns the size of the encrypted data (i.e., "
231 "RSA_size(B<rsa>)). B<RSA_private_decrypt()> returns the size of the "
232 "recovered plaintext. A return value of 0 is not an error and means only that "
233 "the plaintext was empty."
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable
238 msgid ""
239 "On error, -1 is returned; the error codes can be obtained by "
240 "B<ERR_get_error>\\|(3)."
241 msgstr ""
242
243 #. type: IX
244 #: archlinux debian-trixie debian-unstable
245 #, no-wrap
246 msgid "WARNINGS"
247 msgstr ""
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable
251 msgid ""
252 "Decryption failures in the RSA_PKCS1_PADDING mode leak information which can "
253 "potentially be used to mount a Bleichenbacher padding oracle attack. This is "
254 "an inherent weakness in the PKCS #1 v1.5 padding design. Prefer "
255 "RSA_PKCS1_OAEP_PADDING."
256 msgstr ""
257
258 #. type: Plain text
259 #: archlinux
260 msgid ""
261 "In OpenSSL before version 3.2.0, both the return value and the length of "
262 "returned value could be used to mount the Bleichenbacher attack. Since "
263 "version 3.2.0, the default provider in OpenSSL does not return an error when "
264 "padding checks fail. Instead it generates a random message based on used "
265 "private key and provided ciphertext so that application code doesn\\*(Aqt "
266 "have to implement a side-channel secure error handling. Applications that "
267 "want to be secure against side-channel attacks with providers that "
268 "don\\*(Aqt implement implicit rejection, still need to handle the returned "
269 "values using side-channel free code. Side-channel free handling of the "
270 "error stack can be performed using either a pair of unconditional "
271 "B<ERR_set_mark>\\|(3) and B<ERR_pop_to_mark>\\|(3) calls or by using the "
272 "B<ERR_clear_error>\\|(3) call."
273 msgstr ""
274
275 #. type: IX
276 #: archlinux debian-trixie debian-unstable
277 #, no-wrap
278 msgid "CONFORMING TO"
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable
283 msgid "SSL, PKCS #1 v2.0"
284 msgstr ""
285
286 #. type: IX
287 #: archlinux debian-trixie debian-unstable
288 #, no-wrap
289 msgid "SEE ALSO"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "\\&B<ERR_get_error>\\|(3), B<RAND_bytes>\\|(3), \\&B<RSA_size>\\|(3), "
296 "B<EVP_PKEY_decrypt>\\|(3), B<EVP_PKEY_encrypt>\\|(3)"
297 msgstr ""
298
299 #. type: IX
300 #: archlinux debian-trixie debian-unstable
301 #, no-wrap
302 msgid "HISTORY"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable
307 msgid "Both of these functions were deprecated in OpenSSL 3.0."
308 msgstr ""
309
310 #. type: IX
311 #: archlinux debian-trixie debian-unstable
312 #, no-wrap
313 msgid "COPYRIGHT"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable
318 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable
323 msgid ""
324 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
325 "this file except in compliance with the License. You can obtain a copy in "
326 "the file LICENSE in the source distribution or at E<lt>https://"
327 "www.openssl.org/source/license.htmlE<gt>."
328 msgstr ""
329
330 #. ========================================================================
331 #. type: IX
332 #: debian-trixie debian-unstable
333 #, no-wrap
334 msgid "RSA_PUBLIC_ENCRYPT 3SSL"
335 msgstr ""
336
337 #. type: TH
338 #: debian-trixie
339 #, no-wrap
340 msgid "3.5.6"
341 msgstr ""
342
343 #. type: Plain text
344 #: debian-trixie debian-unstable
345 msgid ""
346 "In OpenSSL before version 3.2.0, both the return value and the length of "
347 "returned value could be used to mount the Bleichenbacher attack. Since "
348 "version 3.2.0, the default provider in OpenSSL does not return an error when "
349 "padding checks fail. Instead it generates a random message based on used "
350 "private key and provided ciphertext so that application code doesn't have to "
351 "implement a side-channel secure error handling. Applications that want to "
352 "be secure against side-channel attacks with providers that don't implement "
353 "implicit rejection, still need to handle the returned values using side-"
354 "channel free code. Side-channel free handling of the error stack can be "
355 "performed using either a pair of unconditional B<ERR_set_mark>\\|(3) and "
356 "B<ERR_pop_to_mark>\\|(3) calls or by using the B<ERR_clear_error>\\|(3) "
357 "call."
358 msgstr ""