| 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_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: EVP_PKEY_derive.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_DERIVE 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "EVP_PKEY_DERIVE" |
| 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-unstable |
| 77 |
msgid "" |
| 78 |
"EVP_PKEY_derive_init, EVP_PKEY_derive_init_ex, EVP_PKEY_derive_set_peer_ex, " |
| 79 |
"EVP_PKEY_derive_set_peer, EVP_PKEY_derive, EVP_PKEY_derive_SKEY \\&- derive " |
| 80 |
"public key algorithm shared secret" |
| 81 |
msgstr "" |
| 82 |
|
| 83 |
#. type: IX |
| 84 |
#: archlinux debian-trixie debian-unstable |
| 85 |
#, no-wrap |
| 86 |
msgid "SYNOPSIS" |
| 87 |
msgstr "" |
| 88 |
|
| 89 |
#. type: IX |
| 90 |
#: archlinux debian-trixie debian-unstable |
| 91 |
#, no-wrap |
| 92 |
msgid "Header" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-unstable |
| 97 |
#, no-wrap |
| 98 |
msgid "" |
| 99 |
"\\& #include E<lt>openssl/evp.hE<gt>\n" |
| 100 |
"\\&\n" |
| 101 |
"\\& int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);\n" |
| 102 |
"\\& int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" |
| 103 |
"\\& int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,\n" |
| 104 |
"\\& int validate_peer);\n" |
| 105 |
"\\& int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);\n" |
| 106 |
"\\& int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);\n" |
| 107 |
"\\& EVP_SKEY *EVP_PKEY_derive_SKEY(EVP_PKEY_CTX *ctx, EVP_SKEYMGMT *mgmt,\n" |
| 108 |
"\\& const char *key_type, const char *propquery,\n" |
| 109 |
"\\& size_t keylen, const OSSL_PARAM params[]);\n" |
| 110 |
msgstr "" |
| 111 |
|
| 112 |
#. type: IX |
| 113 |
#: archlinux debian-trixie debian-unstable |
| 114 |
#, no-wrap |
| 115 |
msgid "DESCRIPTION" |
| 116 |
msgstr "" |
| 117 |
|
| 118 |
#. type: Plain text |
| 119 |
#: archlinux debian-trixie debian-unstable |
| 120 |
msgid "" |
| 121 |
"\\&B<EVP_PKEY_derive_init()> initializes a public key algorithm context " |
| 122 |
"I<ctx> for shared secret derivation using the algorithm given when the " |
| 123 |
"context was created using B<EVP_PKEY_CTX_new>\\|(3) or variants thereof. " |
| 124 |
"The algorithm is used to fetch a B<EVP_KEYEXCH> method implicitly, see " |
| 125 |
"\"Implicit fetch\" in B<provider>\\|(7) for more information about implicit " |
| 126 |
"fetches." |
| 127 |
msgstr "" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable |
| 131 |
msgid "" |
| 132 |
"\\&B<EVP_PKEY_derive_init_ex()> is the same as B<EVP_PKEY_derive_init()> but " |
| 133 |
"additionally sets the passed parameters I<params> on the context before " |
| 134 |
"returning." |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable |
| 139 |
msgid "" |
| 140 |
"\\&B<EVP_PKEY_derive_set_peer_ex()> sets the peer key: this will normally be " |
| 141 |
"a public key. The I<validate_peer> will validate the public key if this " |
| 142 |
"value is non zero." |
| 143 |
msgstr "" |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable |
| 147 |
msgid "" |
| 148 |
"\\&B<EVP_PKEY_derive_set_peer()> is similar to " |
| 149 |
"B<EVP_PKEY_derive_set_peer_ex()> with \\&I<validate_peer> set to 1." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable |
| 154 |
msgid "" |
| 155 |
"\\&B<EVP_PKEY_derive()> derives a shared secret using I<ctx>. If I<key> is " |
| 156 |
"NULL then the maximum size of the output buffer is written to the " |
| 157 |
"\\&I<keylen> parameter. If I<key> is not NULL then before the call the " |
| 158 |
"I<keylen> parameter should contain the length of the I<key> buffer, if the " |
| 159 |
"call is successful the shared secret is written to I<key> and the amount of " |
| 160 |
"data written to I<keylen>." |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-unstable |
| 165 |
msgid "" |
| 166 |
"\\&B<EVP_PKEY_derive_SKEY()> is similar to B<EVP_PKEY_derive()> but returns " |
| 167 |
"an \\&B<EVP_SKEY> object that stores the opaque data for the derived key. If " |
| 168 |
"\\&B<EVP_SKEYMGMT> argument is passed, it would be explicitly used for the " |
| 169 |
"\\&B<EVP_SKEY> creation. Otherwise the B<EVP_SKEYMGMT> object used for " |
| 170 |
"B<EVP_SKEY> will be fetched according to I<skeymgmtname> and I<propquery>. " |
| 171 |
"If \\&I<skeymgmtname> is NULL, the name matching the key exchange method " |
| 172 |
"name is assumed." |
| 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 debian-trixie debian-unstable |
| 183 |
msgid "" |
| 184 |
"After the call to B<EVP_PKEY_derive_init()>, algorithm specific control " |
| 185 |
"operations can be performed to set any appropriate parameters for the " |
| 186 |
"operation." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable |
| 191 |
msgid "" |
| 192 |
"The function B<EVP_PKEY_derive()> can be called more than once on the same " |
| 193 |
"context if several operations are performed using the same parameters." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: IX |
| 197 |
#: archlinux debian-trixie debian-unstable |
| 198 |
#, no-wrap |
| 199 |
msgid "RETURN VALUES" |
| 200 |
msgstr "" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-trixie debian-unstable |
| 204 |
msgid "" |
| 205 |
"\\&B<EVP_PKEY_derive_init()> and B<EVP_PKEY_derive()> return 1 for success " |
| 206 |
"and 0 or a negative value for failure. In particular a return value of -2 " |
| 207 |
"indicates the operation is not supported by the public key algorithm." |
| 208 |
msgstr "" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-unstable |
| 212 |
msgid "" |
| 213 |
"\\&B<EVP_PKEY_derive_SKEY()> returns a freshly created B<EVP_SKEY> object on " |
| 214 |
"success or NULL on failure." |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: IX |
| 218 |
#: archlinux debian-trixie debian-unstable |
| 219 |
#, no-wrap |
| 220 |
msgid "EXAMPLES" |
| 221 |
msgstr "" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable |
| 225 |
msgid "Derive shared secret (for example DH or EC keys):" |
| 226 |
msgstr "" |
| 227 |
|
| 228 |
#. type: Plain text |
| 229 |
#: archlinux debian-trixie debian-unstable |
| 230 |
#, no-wrap |
| 231 |
msgid "" |
| 232 |
"\\& #include E<lt>openssl/evp.hE<gt>\n" |
| 233 |
"\\& #include E<lt>openssl/rsa.hE<gt>\n" |
| 234 |
"\\&\n" |
| 235 |
"\\& EVP_PKEY_CTX *ctx;\n" |
| 236 |
"\\& ENGINE *eng;\n" |
| 237 |
"\\& unsigned char *skey;\n" |
| 238 |
"\\& size_t skeylen;\n" |
| 239 |
"\\& EVP_PKEY *pkey, *peerkey;\n" |
| 240 |
"\\& /* NB: assumes pkey, eng, peerkey have been already set up */\n" |
| 241 |
"\\&\n" |
| 242 |
"\\& ctx = EVP_PKEY_CTX_new(pkey, eng);\n" |
| 243 |
"\\& if (!ctx)\n" |
| 244 |
"\\& /* Error occurred */\n" |
| 245 |
"\\& if (EVP_PKEY_derive_init(ctx) E<lt>= 0)\n" |
| 246 |
"\\& /* Error */\n" |
| 247 |
"\\& if (EVP_PKEY_derive_set_peer(ctx, peerkey) E<lt>= 0)\n" |
| 248 |
"\\& /* Error */\n" |
| 249 |
"\\&\n" |
| 250 |
"\\& /* Determine buffer length */\n" |
| 251 |
"\\& if (EVP_PKEY_derive(ctx, NULL, &skeylen) E<lt>= 0)\n" |
| 252 |
"\\& /* Error */\n" |
| 253 |
"\\&\n" |
| 254 |
"\\& skey = OPENSSL_malloc(skeylen);\n" |
| 255 |
"\\&\n" |
| 256 |
"\\& if (!skey)\n" |
| 257 |
"\\& /* malloc failure */\n" |
| 258 |
"\\&\n" |
| 259 |
"\\& if (EVP_PKEY_derive(ctx, skey, &skeylen) E<lt>= 0)\n" |
| 260 |
"\\& /* Error */\n" |
| 261 |
"\\&\n" |
| 262 |
"\\& /* Shared secret is skey bytes written to buffer skey */\n" |
| 263 |
msgstr "" |
| 264 |
|
| 265 |
#. type: IX |
| 266 |
#: archlinux debian-trixie debian-unstable |
| 267 |
#, no-wrap |
| 268 |
msgid "SEE ALSO" |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable |
| 273 |
msgid "" |
| 274 |
"\\&B<EVP_PKEY_CTX_new>\\|(3), \\&B<EVP_PKEY_encrypt>\\|(3), " |
| 275 |
"\\&B<EVP_PKEY_decrypt>\\|(3), \\&B<EVP_PKEY_sign>\\|(3), " |
| 276 |
"\\&B<EVP_PKEY_verify>\\|(3), \\&B<EVP_PKEY_verify_recover>\\|(3), " |
| 277 |
"\\&B<EVP_KEYEXCH_fetch>\\|(3)" |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: IX |
| 281 |
#: archlinux debian-trixie debian-unstable |
| 282 |
#, no-wrap |
| 283 |
msgid "HISTORY" |
| 284 |
msgstr "" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable |
| 288 |
msgid "" |
| 289 |
"The B<EVP_PKEY_derive_init()>, B<EVP_PKEY_derive_set_peer()> and " |
| 290 |
"B<EVP_PKEY_derive()> functions were originally added in OpenSSL 1.0.0." |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable |
| 295 |
msgid "" |
| 296 |
"The B<EVP_PKEY_derive_init_ex()> and B<EVP_PKEY_derive_set_peer_ex()> " |
| 297 |
"functions were added in OpenSSL 3.0." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-unstable |
| 302 |
msgid "The B<EVP_PKEY_derive_SKEY()> function was added in OpenSSL 3.6." |
| 303 |
msgstr "" |
| 304 |
|
| 305 |
#. type: IX |
| 306 |
#: archlinux debian-trixie debian-unstable |
| 307 |
#, no-wrap |
| 308 |
msgid "COPYRIGHT" |
| 309 |
msgstr "" |
| 310 |
|
| 311 |
#. type: Plain text |
| 312 |
#: archlinux debian-unstable |
| 313 |
msgid "Copyright 2006-2025 The OpenSSL Project Authors. All Rights Reserved." |
| 314 |
msgstr "" |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable |
| 318 |
msgid "" |
| 319 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 320 |
"this file except in compliance with the License. You can obtain a copy in " |
| 321 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 322 |
"www.openssl.org/source/license.htmlE<gt>." |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. ======================================================================== |
| 326 |
#. type: IX |
| 327 |
#: debian-trixie debian-unstable |
| 328 |
#, no-wrap |
| 329 |
msgid "EVP_PKEY_DERIVE 3SSL" |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: TH |
| 333 |
#: debian-trixie |
| 334 |
#, no-wrap |
| 335 |
msgid "3.5.6" |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: debian-trixie |
| 340 |
msgid "" |
| 341 |
"EVP_PKEY_derive_init, EVP_PKEY_derive_init_ex, EVP_PKEY_derive_set_peer_ex, " |
| 342 |
"EVP_PKEY_derive_set_peer, EVP_PKEY_derive \\&- derive public key algorithm " |
| 343 |
"shared secret" |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: debian-trixie |
| 348 |
#, no-wrap |
| 349 |
msgid "" |
| 350 |
"\\& #include E<lt>openssl/evp.hE<gt>\n" |
| 351 |
"\\&\n" |
| 352 |
"\\& int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);\n" |
| 353 |
"\\& int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" |
| 354 |
"\\& int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,\n" |
| 355 |
"\\& int validate_peer);\n" |
| 356 |
"\\& int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);\n" |
| 357 |
"\\& int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);\n" |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: debian-trixie |
| 362 |
msgid "Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved." |
| 363 |
msgstr "" |