# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:23+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: EVP_PKEY_derive.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "EVP_PKEY_DERIVE 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_DERIVE" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "" "EVP_PKEY_derive_init, EVP_PKEY_derive_init_ex, EVP_PKEY_derive_set_peer_ex, " "EVP_PKEY_derive_set_peer, EVP_PKEY_derive, EVP_PKEY_derive_SKEY \\&- derive " "public key algorithm shared secret" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,\n" "\\& int validate_peer);\n" "\\& int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);\n" "\\& int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);\n" "\\& EVP_SKEY *EVP_PKEY_derive_SKEY(EVP_PKEY_CTX *ctx, EVP_SKEYMGMT *mgmt,\n" "\\& const char *key_type, const char *propquery,\n" "\\& size_t keylen, const OSSL_PARAM params[]);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B initializes a public key algorithm context " "I for shared secret derivation using the algorithm given when the " "context was created using B\\|(3) or variants thereof. " "The algorithm is used to fetch a B method implicitly, see " "\"Implicit fetch\" in B\\|(7) for more information about implicit " "fetches." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is the same as B but " "additionally sets the passed parameters I on the context before " "returning." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the peer key: this will normally be " "a public key. The I will validate the public key if this " "value is non zero." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is similar to " "B with \\&I set to 1." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B derives a shared secret using I. If I is " "NULL then the maximum size of the output buffer is written to the " "\\&I parameter. If I is not NULL then before the call the " "I parameter should contain the length of the I buffer, if the " "call is successful the shared secret is written to I and the amount of " "data written to I." msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B is similar to B but returns " "an \\&B object that stores the opaque data for the derived key. If " "\\&B argument is passed, it would be explicitly used for the " "\\&B creation. Otherwise the B object used for " "B will be fetched according to I and I. " "If \\&I is NULL, the name matching the key exchange method " "name is assumed." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "After the call to B, algorithm specific control " "operations can be performed to set any appropriate parameters for the " "operation." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The function B can be called more than once on the same " "context if several operations are performed using the same parameters." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B return 1 for success " "and 0 or a negative value for failure. In particular a return value of -2 " "indicates the operation is not supported by the public key algorithm." msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "" "\\&B returns a freshly created B object on " "success or NULL on failure." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Derive shared secret (for example DH or EC keys):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\& #include Eopenssl/rsa.hE\n" "\\&\n" "\\& EVP_PKEY_CTX *ctx;\n" "\\& ENGINE *eng;\n" "\\& unsigned char *skey;\n" "\\& size_t skeylen;\n" "\\& EVP_PKEY *pkey, *peerkey;\n" "\\& /* NB: assumes pkey, eng, peerkey have been already set up */\n" "\\&\n" "\\& ctx = EVP_PKEY_CTX_new(pkey, eng);\n" "\\& if (!ctx)\n" "\\& /* Error occurred */\n" "\\& if (EVP_PKEY_derive_init(ctx) E= 0)\n" "\\& /* Error */\n" "\\& if (EVP_PKEY_derive_set_peer(ctx, peerkey) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Determine buffer length */\n" "\\& if (EVP_PKEY_derive(ctx, NULL, &skeylen) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& skey = OPENSSL_malloc(skeylen);\n" "\\&\n" "\\& if (!skey)\n" "\\& /* malloc failure */\n" "\\&\n" "\\& if (EVP_PKEY_derive(ctx, skey, &skeylen) E= 0)\n" "\\& /* Error */\n" "\\&\n" "\\& /* Shared secret is skey bytes written to buffer skey */\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3), \\&B\\|(3), " "\\&B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B, B and " "B functions were originally added in OpenSSL 1.0.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The B and B " "functions were added in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "The B function was added in OpenSSL 3.6." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-unstable msgid "Copyright 2006-2025 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "EVP_PKEY_DERIVE 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie msgid "" "EVP_PKEY_derive_init, EVP_PKEY_derive_init_ex, EVP_PKEY_derive_set_peer_ex, " "EVP_PKEY_derive_set_peer, EVP_PKEY_derive \\&- derive public key algorithm " "shared secret" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "\\& #include Eopenssl/evp.hE\n" "\\&\n" "\\& int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);\n" "\\& int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);\n" "\\& int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,\n" "\\& int validate_peer);\n" "\\& int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);\n" "\\& int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);\n" msgstr "" #. type: Plain text #: debian-trixie msgid "Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved." msgstr ""