| 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:23+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: EVP_PKEY_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: EVP_PKEY_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: EVP_PKEY_decrypt.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: EVP_PKEY_decrypt.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 "EVP_PKEY_DECRYPT 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "EVP_PKEY_DECRYPT" |
| 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 |
"EVP_PKEY_decrypt_init, EVP_PKEY_decrypt_init_ex, EVP_PKEY_decrypt - decrypt " |
| 79 |
"using a public key algorithm" |
| 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/evp.hE<gt>\n" |
| 99 |
"\\&\n" |
| 100 |
"\\& int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx);\n" |
| 101 |
"\\& int EVP_PKEY_decrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" |
| 102 |
"\\& int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx,\n" |
| 103 |
"\\& unsigned char *out, size_t *outlen,\n" |
| 104 |
"\\& const unsigned char *in, size_t inlen);\n" |
| 105 |
msgstr "" |
| 106 |
|
| 107 |
#. type: IX |
| 108 |
#: archlinux debian-trixie debian-unstable |
| 109 |
#, no-wrap |
| 110 |
msgid "DESCRIPTION" |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable |
| 115 |
msgid "" |
| 116 |
"The B<EVP_PKEY_decrypt_init()> function initializes a public key algorithm " |
| 117 |
"context using key I<pkey> for a decryption operation." |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable |
| 122 |
msgid "" |
| 123 |
"The B<EVP_PKEY_decrypt_init_ex()> function initializes a public key " |
| 124 |
"algorithm context using key I<pkey> for a decryption operation and sets the " |
| 125 |
"algorithm specific I<params>." |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable |
| 130 |
msgid "" |
| 131 |
"The B<EVP_PKEY_decrypt()> function performs a public key decryption " |
| 132 |
"operation using I<ctx>. The data to be decrypted is specified using the " |
| 133 |
"I<in> and \\&I<inlen> parameters. If I<out> is NULL then the minimum " |
| 134 |
"required size of the output buffer is written to the I<*outlen> parameter." |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable |
| 139 |
msgid "" |
| 140 |
"If I<out> is not NULL then before the call the I<*outlen> parameter must " |
| 141 |
"contain the length of the I<out> buffer. If the call is successful the " |
| 142 |
"decrypted data is written to I<out> and the amount of the decrypted data " |
| 143 |
"written to I<*outlen>, otherwise an error is returned." |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#. type: IX |
| 147 |
#: archlinux debian-trixie debian-unstable |
| 148 |
#, no-wrap |
| 149 |
msgid "NOTES" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable |
| 154 |
msgid "" |
| 155 |
"After the call to B<EVP_PKEY_decrypt_init()> algorithm specific control " |
| 156 |
"operations can be performed to set any appropriate parameters for the " |
| 157 |
"operation. These operations can be included in the " |
| 158 |
"B<EVP_PKEY_decrypt_init_ex()> call." |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable |
| 163 |
msgid "" |
| 164 |
"The function B<EVP_PKEY_decrypt()> can be called more than once on the same " |
| 165 |
"context if several operations are performed using the same parameters." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: IX |
| 169 |
#: archlinux debian-trixie debian-unstable |
| 170 |
#, no-wrap |
| 171 |
msgid "RETURN VALUES" |
| 172 |
msgstr "" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable |
| 176 |
msgid "" |
| 177 |
"\\&B<EVP_PKEY_decrypt_init()>, B<EVP_PKEY_decrypt_init_ex()> and " |
| 178 |
"B<EVP_PKEY_decrypt()> return 1 for success and 0 or a negative value for " |
| 179 |
"failure. In particular a return value of -2 indicates the operation is not " |
| 180 |
"supported by the public key algorithm." |
| 181 |
msgstr "" |
| 182 |
|
| 183 |
#. type: IX |
| 184 |
#: archlinux debian-trixie debian-unstable |
| 185 |
#, no-wrap |
| 186 |
msgid "WARNINGS" |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable |
| 191 |
msgid "" |
| 192 |
"In OpenSSL versions before 3.2.0, when used in PKCS#1 v1.5 padding, both the " |
| 193 |
"return value from the B<EVP_PKEY_decrypt()> and the B<outlen> provided " |
| 194 |
"information useful in mounting a Bleichenbacher attack against the used " |
| 195 |
"private key. They had to be processed in a side-channel free way." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux |
| 200 |
msgid "" |
| 201 |
"Since version 3.2.0, the B<EVP_PKEY_decrypt()> method when used with PKCS#1 " |
| 202 |
"v1.5 padding as implemented in the B<default> provider implements the " |
| 203 |
"implicit rejection mechanism (see " |
| 204 |
"\\&B<OSSL_ASYM_CIPHER_PARAM_IMPLICIT_REJECTION> in B<provider-asym_cipher>\\|" |
| 205 |
"(7)). That means it doesn\\*(Aqt return an error when it detects an error " |
| 206 |
"in padding, instead it returns a pseudo-randomly generated message, removing " |
| 207 |
"the need of side-channel secure code from applications using OpenSSL. If " |
| 208 |
"OpenSSL is configured to use a provider that doesn\\*(Aqt implement implicit " |
| 209 |
"rejection, the code still needs to handle the returned values using side-" |
| 210 |
"channel free code. Side-channel free handling of the error stack can be " |
| 211 |
"performed using either a pair of unconditional B<ERR_set_mark>\\|(3) and " |
| 212 |
"B<ERR_pop_to_mark>\\|(3) calls or by using the B<ERR_clear_error>\\|(3) " |
| 213 |
"call." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: IX |
| 217 |
#: archlinux debian-trixie debian-unstable |
| 218 |
#, no-wrap |
| 219 |
msgid "EXAMPLES" |
| 220 |
msgstr "" |
| 221 |
|
| 222 |
#. type: Plain text |
| 223 |
#: archlinux debian-trixie debian-unstable |
| 224 |
msgid "Decrypt data using OAEP (for RSA keys):" |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable |
| 229 |
#, no-wrap |
| 230 |
msgid "" |
| 231 |
"\\& #include E<lt>openssl/evp.hE<gt>\n" |
| 232 |
"\\& #include E<lt>openssl/rsa.hE<gt>\n" |
| 233 |
"\\&\n" |
| 234 |
"\\& EVP_PKEY_CTX *ctx;\n" |
| 235 |
"\\& ENGINE *eng;\n" |
| 236 |
"\\& unsigned char *out, *in;\n" |
| 237 |
"\\& size_t outlen, inlen;\n" |
| 238 |
"\\& EVP_PKEY *key;\n" |
| 239 |
"\\&\n" |
| 240 |
"\\& /*\n" |
| 241 |
"\\& * NB: assumes key, eng, in, inlen are already set up\n" |
| 242 |
"\\& * and that key is an RSA private key\n" |
| 243 |
"\\& */\n" |
| 244 |
"\\& ctx = EVP_PKEY_CTX_new(key, eng);\n" |
| 245 |
"\\& if (!ctx)\n" |
| 246 |
"\\& /* Error occurred */\n" |
| 247 |
"\\& if (EVP_PKEY_decrypt_init(ctx) E<lt>= 0)\n" |
| 248 |
"\\& /* Error */\n" |
| 249 |
"\\& if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_OAEP_PADDING) E<lt>= 0)\n" |
| 250 |
"\\& /* Error */\n" |
| 251 |
"\\&\n" |
| 252 |
"\\& /* Determine buffer length */\n" |
| 253 |
"\\& if (EVP_PKEY_decrypt(ctx, NULL, &outlen, in, inlen) E<lt>= 0)\n" |
| 254 |
"\\& /* Error */\n" |
| 255 |
"\\&\n" |
| 256 |
"\\& out = OPENSSL_malloc(outlen);\n" |
| 257 |
"\\&\n" |
| 258 |
"\\& if (!out)\n" |
| 259 |
"\\& /* malloc failure */\n" |
| 260 |
"\\&\n" |
| 261 |
"\\& if (EVP_PKEY_decrypt(ctx, out, &outlen, in, inlen) E<lt>= 0)\n" |
| 262 |
"\\& /* Error */\n" |
| 263 |
"\\&\n" |
| 264 |
"\\& /* Decrypted data is outlen bytes written to buffer out */\n" |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: IX |
| 268 |
#: archlinux debian-trixie debian-unstable |
| 269 |
#, no-wrap |
| 270 |
msgid "SEE ALSO" |
| 271 |
msgstr "" |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable |
| 275 |
msgid "" |
| 276 |
"\\&B<EVP_PKEY_CTX_new>\\|(3), \\&B<EVP_PKEY_encrypt>\\|(3), " |
| 277 |
"\\&B<EVP_PKEY_sign>\\|(3), \\&B<EVP_PKEY_verify>\\|(3), " |
| 278 |
"\\&B<EVP_PKEY_verify_recover>\\|(3), \\&B<EVP_PKEY_derive>\\|(3)" |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: IX |
| 282 |
#: archlinux debian-trixie debian-unstable |
| 283 |
#, no-wrap |
| 284 |
msgid "HISTORY" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable |
| 289 |
msgid "These functions were added in OpenSSL 1.0.0." |
| 290 |
msgstr "" |
| 291 |
|
| 292 |
#. type: IX |
| 293 |
#: archlinux debian-trixie debian-unstable |
| 294 |
#, no-wrap |
| 295 |
msgid "COPYRIGHT" |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-trixie debian-unstable |
| 300 |
msgid "Copyright 2006-2025 The OpenSSL Project Authors. All Rights Reserved." |
| 301 |
msgstr "" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable |
| 305 |
msgid "" |
| 306 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 307 |
"this file except in compliance with the License. You can obtain a copy in " |
| 308 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 309 |
"www.openssl.org/source/license.htmlE<gt>." |
| 310 |
msgstr "" |
| 311 |
|
| 312 |
#. ======================================================================== |
| 313 |
#. type: IX |
| 314 |
#: debian-trixie debian-unstable |
| 315 |
#, no-wrap |
| 316 |
msgid "EVP_PKEY_DECRYPT 3SSL" |
| 317 |
msgstr "" |
| 318 |
|
| 319 |
#. type: TH |
| 320 |
#: debian-trixie |
| 321 |
#, no-wrap |
| 322 |
msgid "3.5.6" |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. type: Plain text |
| 326 |
#: debian-trixie debian-unstable |
| 327 |
msgid "" |
| 328 |
"Since version 3.2.0, the B<EVP_PKEY_decrypt()> method when used with PKCS#1 " |
| 329 |
"v1.5 padding as implemented in the B<default> provider implements the " |
| 330 |
"implicit rejection mechanism (see " |
| 331 |
"\\&B<OSSL_ASYM_CIPHER_PARAM_IMPLICIT_REJECTION> in B<provider-asym_cipher>\\|" |
| 332 |
"(7)). That means it doesn't return an error when it detects an error in " |
| 333 |
"padding, instead it returns a pseudo-randomly generated message, removing " |
| 334 |
"the need of side-channel secure code from applications using OpenSSL. If " |
| 335 |
"OpenSSL is configured to use a provider that doesn't implement implicit " |
| 336 |
"rejection, the code still needs to handle the returned values using side-" |
| 337 |
"channel free code. Side-channel free handling of the error stack can be " |
| 338 |
"performed using either a pair of unconditional B<ERR_set_mark>\\|(3) and " |
| 339 |
"B<ERR_pop_to_mark>\\|(3) calls or by using the B<ERR_clear_error>\\|(3) " |
| 340 |
"call." |
| 341 |
msgstr "" |