Debian Codegraph @

templates/man3/DH_generate_key.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:21+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: DH_generate_key.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: DH_generate_key.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: DH_generate_key.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: DH_generate_key.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 "DH_GENERATE_KEY 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "DH_GENERATE_KEY"
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 "DH_generate_key, DH_compute_key, DH_compute_key_padded - perform Diffie-"
79 "Hellman key exchange"
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 "\\& #include E<lt>openssl/dh.hE<gt>\n"
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable
102 msgid ""
103 "The following functions have been deprecated since OpenSSL 3.0, and can be "
104 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
105 "value, see B<openssl_user_macros>\\|(7):"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable
110 #, no-wrap
111 msgid ""
112 "\\& int DH_generate_key(DH *dh);\n"
113 "\\&\n"
114 "\\& int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);\n"
115 "\\&\n"
116 "\\& int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh);\n"
117 msgstr ""
118
119 #. type: IX
120 #: archlinux debian-trixie debian-unstable
121 #, no-wrap
122 msgid "DESCRIPTION"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable
127 msgid ""
128 "All of the functions described on this page are deprecated. Applications "
129 "should instead use B<EVP_PKEY_derive_init>\\|(3) and B<EVP_PKEY_derive>\\|"
130 "(3)."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux
135 msgid ""
136 "\\&B<DH_generate_key()> performs the first step of a Diffie-Hellman key "
137 "exchange by generating private and public DH values. By calling "
138 "\\&B<DH_compute_key()> or B<DH_compute_key_padded()>, these are combined "
139 "with the other party\\*(Aqs public value to compute the shared key."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid ""
145 "\\&B<DH_generate_key()> expects B<dh> to contain the shared parameters "
146 "\\&B<dh-E<gt>p> and B<dh-E<gt>g>. It generates a random private DH value "
147 "unless B<dh-E<gt>priv_key> is already set, and computes the corresponding "
148 "public value B<dh-E<gt>pub_key>, which can then be published."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux
153 msgid ""
154 "\\&B<DH_compute_key()> computes the shared secret from the private DH value "
155 "in B<dh> and the other party\\*(Aqs public value in B<pub_key> and stores it "
156 "in B<key>. B<key> must point to B<DH_size(dh)> bytes of memory. The padding "
157 "style is RFC 5246 (8.1.2) that strips leading zero bytes. It is not "
158 "constant time due to the leading zero bytes being stripped. The return "
159 "value should be considered public."
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable
164 msgid ""
165 "\\&B<DH_compute_key_padded()> is similar but stores a fixed number of "
166 "bytes. The padding style is NIST SP 800-56A (C.1) that retains leading zero "
167 "bytes. It is constant time due to the leading zero bytes being retained. "
168 "The return value should be considered public."
169 msgstr ""
170
171 #. type: IX
172 #: archlinux debian-trixie debian-unstable
173 #, no-wrap
174 msgid "RETURN VALUES"
175 msgstr ""
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable
179 msgid "\\&B<DH_generate_key()> returns 1 on success, 0 otherwise."
180 msgstr ""
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable
184 msgid ""
185 "\\&B<DH_compute_key()> returns the size of the shared secret on success, -1 "
186 "on error."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable
191 msgid ""
192 "\\&B<DH_compute_key_padded()> returns B<DH_size(dh)> on success, -1 on error."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable
197 msgid "The error codes can be obtained by B<ERR_get_error>\\|(3)."
198 msgstr ""
199
200 #. type: IX
201 #: archlinux debian-trixie debian-unstable
202 #, no-wrap
203 msgid "SEE ALSO"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable
208 msgid ""
209 "\\&B<EVP_PKEY_derive>\\|(3), \\&B<DH_new>\\|(3), B<ERR_get_error>\\|(3), "
210 "B<RAND_bytes>\\|(3), B<DH_size>\\|(3)"
211 msgstr ""
212
213 #. type: IX
214 #: archlinux debian-trixie debian-unstable
215 #, no-wrap
216 msgid "HISTORY"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable
221 msgid "\\&B<DH_compute_key_padded()> was added in OpenSSL 1.0.2."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable
226 msgid "All of these functions were deprecated in OpenSSL 3.0."
227 msgstr ""
228
229 #. type: IX
230 #: archlinux debian-trixie debian-unstable
231 #, no-wrap
232 msgid "COPYRIGHT"
233 msgstr ""
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable
237 msgid "Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved."
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable
242 msgid ""
243 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
244 "this file except in compliance with the License. You can obtain a copy in "
245 "the file LICENSE in the source distribution or at E<lt>https://"
246 "www.openssl.org/source/license.htmlE<gt>."
247 msgstr ""
248
249 #. ========================================================================
250 #. type: IX
251 #: debian-trixie debian-unstable
252 #, no-wrap
253 msgid "DH_GENERATE_KEY 3SSL"
254 msgstr ""
255
256 #. type: TH
257 #: debian-trixie
258 #, no-wrap
259 msgid "3.5.6"
260 msgstr ""
261
262 #. type: Plain text
263 #: debian-trixie debian-unstable
264 msgid ""
265 "\\&B<DH_generate_key()> performs the first step of a Diffie-Hellman key "
266 "exchange by generating private and public DH values. By calling "
267 "\\&B<DH_compute_key()> or B<DH_compute_key_padded()>, these are combined "
268 "with the other party's public value to compute the shared key."
269 msgstr ""
270
271 #. type: Plain text
272 #: debian-trixie debian-unstable
273 msgid ""
274 "\\&B<DH_compute_key()> computes the shared secret from the private DH value "
275 "in B<dh> and the other party's public value in B<pub_key> and stores it in "
276 "B<key>. B<key> must point to B<DH_size(dh)> bytes of memory. The padding "
277 "style is RFC 5246 (8.1.2) that strips leading zero bytes. It is not "
278 "constant time due to the leading zero bytes being stripped. The return "
279 "value should be considered public."
280 msgstr ""