Debian Codegraph @

templates/man3/EVP_DigestInit.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: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_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_DigestInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_DigestInit.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_DIGESTINIT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_DIGESTINIT"
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_MD_fetch, EVP_MD_up_ref, EVP_MD_free, EVP_MD_get_params, "
79 "EVP_MD_gettable_params, EVP_MD_CTX_new, EVP_MD_CTX_reset, EVP_MD_CTX_free, "
80 "EVP_MD_CTX_dup, EVP_MD_CTX_copy, EVP_MD_CTX_copy_ex, EVP_MD_CTX_ctrl, "
81 "EVP_MD_CTX_set_params, EVP_MD_CTX_get_params, EVP_MD_settable_ctx_params, "
82 "EVP_MD_gettable_ctx_params, EVP_MD_CTX_settable_params, "
83 "EVP_MD_CTX_gettable_params, EVP_MD_CTX_set_flags, EVP_MD_CTX_clear_flags, "
84 "EVP_MD_CTX_test_flags, EVP_Q_digest, EVP_Digest, EVP_DigestInit_ex2, "
85 "EVP_DigestInit_ex, EVP_DigestInit, EVP_DigestUpdate, EVP_DigestFinal_ex, "
86 "EVP_DigestFinalXOF, EVP_DigestFinal, EVP_DigestSqueeze, EVP_MD_is_a, "
87 "EVP_MD_get0_name, EVP_MD_get0_description, EVP_MD_names_do_all, "
88 "EVP_MD_get0_provider, EVP_MD_get_type, EVP_MD_get_pkey_type, "
89 "EVP_MD_get_size, EVP_MD_get_block_size, EVP_MD_get_flags, "
90 "EVP_MD_CTX_get0_name, EVP_MD_CTX_md, EVP_MD_CTX_get0_md, EVP_MD_CTX_get1_md, "
91 "EVP_MD_CTX_get_type, EVP_MD_CTX_get_size_ex, EVP_MD_CTX_get_block_size, "
92 "EVP_MD_CTX_get0_md_data, EVP_MD_CTX_update_fn, EVP_MD_CTX_set_update_fn, "
93 "EVP_md_null, EVP_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj, "
94 "EVP_MD_CTX_get_pkey_ctx, EVP_MD_CTX_set_pkey_ctx, EVP_MD_do_all_provided, "
95 "EVP_MD_type, EVP_MD_nid, EVP_MD_name, EVP_MD_pkey_type, EVP_MD_size, "
96 "EVP_MD_block_size, EVP_MD_flags, EVP_MD_xof, EVP_MD_CTX_size, "
97 "EVP_MD_CTX_get_size, EVP_MD_CTX_block_size, EVP_MD_CTX_type, "
98 "EVP_MD_CTX_pkey_ctx, EVP_MD_CTX_md_data \\&- EVP digest routines"
99 msgstr ""
100
101 #. type: IX
102 #: archlinux debian-trixie debian-unstable
103 #, no-wrap
104 msgid "SYNOPSIS"
105 msgstr ""
106
107 #. type: IX
108 #: archlinux debian-trixie debian-unstable
109 #, no-wrap
110 msgid "Header"
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable
115 #, no-wrap
116 msgid ""
117 "\\& #include E<lt>openssl/evp.hE<gt>\n"
118 "\\&\n"
119 "\\& EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,\n"
120 "\\& const char *properties);\n"
121 "\\& int EVP_MD_up_ref(EVP_MD *md);\n"
122 "\\& void EVP_MD_free(EVP_MD *md);\n"
123 "\\& int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]);\n"
124 "\\& const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest);\n"
125 "\\& EVP_MD_CTX *EVP_MD_CTX_new(void);\n"
126 "\\& int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);\n"
127 "\\& void EVP_MD_CTX_free(EVP_MD_CTX *ctx);\n"
128 "\\& void EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void* p2);\n"
129 "\\& int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[]);\n"
130 "\\& int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[]);\n"
131 "\\& const OSSL_PARAM *EVP_MD_settable_ctx_params(const EVP_MD *md);\n"
132 "\\& const OSSL_PARAM *EVP_MD_gettable_ctx_params(const EVP_MD *md);\n"
133 "\\& const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx);\n"
134 "\\& const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx);\n"
135 "\\& void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);\n"
136 "\\& void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);\n"
137 "\\& int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);\n"
138 "\\&\n"
139 "\\& int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, const char *propq,\n"
140 "\\& const void *data, size_t datalen,\n"
141 "\\& unsigned char *md, size_t *mdlen);\n"
142 "\\& int EVP_Digest(const void *data, size_t count, unsigned char *md,\n"
143 "\\& unsigned int *size, const EVP_MD *type, ENGINE *impl);\n"
144 "\\& int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type,\n"
145 "\\& const OSSL_PARAM params[]);\n"
146 "\\& int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl);\n"
147 "\\& int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, size_t cnt);\n"
148 "\\& int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);\n"
149 "\\& int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *out, size_t outlen);\n"
150 "\\& int EVP_DigestSqueeze(EVP_MD_CTX *ctx, unsigned char *out, size_t outlen);\n"
151 "\\&\n"
152 "\\& EVP_MD_CTX *EVP_MD_CTX_dup(const EVP_MD_CTX *in);\n"
153 "\\& int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);\n"
154 "\\&\n"
155 "\\& int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);\n"
156 "\\& int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s);\n"
157 "\\&\n"
158 "\\& int EVP_MD_CTX_copy(EVP_MD_CTX *out, EVP_MD_CTX *in);\n"
159 "\\&\n"
160 "\\& const char *EVP_MD_get0_name(const EVP_MD *md);\n"
161 "\\& const char *EVP_MD_get0_description(const EVP_MD *md);\n"
162 "\\& int EVP_MD_is_a(const EVP_MD *md, const char *name);\n"
163 "\\& int EVP_MD_names_do_all(const EVP_MD *md,\n"
164 "\\& void (*fn)(const char *name, void *data),\n"
165 "\\& void *data);\n"
166 "\\& const OSSL_PROVIDER *EVP_MD_get0_provider(const EVP_MD *md);\n"
167 "\\& int EVP_MD_get_type(const EVP_MD *md);\n"
168 "\\& int EVP_MD_get_pkey_type(const EVP_MD *md);\n"
169 "\\& int EVP_MD_get_size(const EVP_MD *md);\n"
170 "\\& int EVP_MD_get_block_size(const EVP_MD *md);\n"
171 "\\& unsigned long EVP_MD_get_flags(const EVP_MD *md);\n"
172 "\\& int EVP_MD_xof(const EVP_MD *md);\n"
173 "\\&\n"
174 "\\& const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx);\n"
175 "\\& EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx);\n"
176 "\\& const char *EVP_MD_CTX_get0_name(const EVP_MD_CTX *ctx);\n"
177 "\\& int EVP_MD_CTX_get_size_ex(const EVP_MD_CTX *ctx);\n"
178 "\\& int EVP_MD_CTX_get_block_size(const EVP_MD_CTX *ctx);\n"
179 "\\& int EVP_MD_CTX_get_type(const EVP_MD_CTX *ctx);\n"
180 "\\& void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx);\n"
181 "\\&\n"
182 "\\& const EVP_MD *EVP_md_null(void);\n"
183 "\\&\n"
184 "\\& const EVP_MD *EVP_get_digestbyname(const char *name);\n"
185 "\\& const EVP_MD *EVP_get_digestbynid(int type);\n"
186 "\\& const EVP_MD *EVP_get_digestbyobj(const ASN1_OBJECT *o);\n"
187 "\\&\n"
188 "\\& EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx);\n"
189 "\\& void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);\n"
190 "\\&\n"
191 "\\& void EVP_MD_do_all_provided(OSSL_LIB_CTX *libctx,\n"
192 "\\& void (*fn)(EVP_MD *mac, void *arg),\n"
193 "\\& void *arg);\n"
194 "\\&\n"
195 "\\& #define EVP_MD_type EVP_MD_get_type\n"
196 "\\& #define EVP_MD_nid EVP_MD_get_type\n"
197 "\\& #define EVP_MD_name EVP_MD_get0_name\n"
198 "\\& #define EVP_MD_pkey_type EVP_MD_get_pkey_type\n"
199 "\\& #define EVP_MD_size EVP_MD_get_size\n"
200 "\\& #define EVP_MD_block_size EVP_MD_get_block_size\n"
201 "\\& #define EVP_MD_flags EVP_MD_get_flags\n"
202 "\\& #define EVP_MD_CTX_get_size EVP_MD_CTX_get_size_ex\n"
203 "\\& #define EVP_MD_CTX_size EVP_MD_CTX_get_size_ex\n"
204 "\\& #define EVP_MD_CTX_block_size EVP_MD_CTX_get_block_size\n"
205 "\\& #define EVP_MD_CTX_type EVP_MD_CTX_get_type\n"
206 "\\& #define EVP_MD_CTX_pkey_ctx EVP_MD_CTX_get_pkey_ctx\n"
207 "\\& #define EVP_MD_CTX_md_data EVP_MD_CTX_get0_md_data\n"
208 msgstr ""
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid ""
213 "The following functions have been deprecated since OpenSSL 3.0, and can be "
214 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
215 "value, see B<openssl_user_macros>\\|(7):"
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable
220 #, no-wrap
221 msgid ""
222 "\\& const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);\n"
223 "\\&\n"
224 "\\& int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,\n"
225 "\\& const void *data, size_t count);\n"
226 "\\&\n"
227 "\\& void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,\n"
228 "\\& int (*update)(EVP_MD_CTX *ctx,\n"
229 "\\& const void *data, size_t count));\n"
230 msgstr ""
231
232 #. type: IX
233 #: archlinux debian-trixie debian-unstable
234 #, no-wrap
235 msgid "DESCRIPTION"
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable
240 msgid ""
241 "The EVP digest routines are a high-level interface to message digests, and "
242 "Extendable Output Functions (XOF)."
243 msgstr ""
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable
247 msgid "The B<EVP_MD> type is a structure for digest method implementation."
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable
252 msgid ""
253 "Each Message digest algorithm (such as SHA256) produces a fixed size output "
254 "length which is returned when B<EVP_DigestFinal_ex()> is called. Extendable "
255 "Output Functions (XOF) such as SHAKE256 have a variable sized output length "
256 "I<outlen> which can be used with either B<EVP_DigestFinalXOF()> or "
257 "\\&B<EVP_DigestSqueeze()>. B<EVP_DigestFinal_ex()> may also be used for an "
258 "XOF, but the \"xoflen\" must be set beforehand (See \"PARAMETERS\"). Note "
259 "that B<EVP_MD_get_size()> and B<EVP_MD_CTX_get_size_ex()> behave differently "
260 "for an XOF."
261 msgstr ""
262
263 #. type: IP
264 #: archlinux debian-trixie debian-unstable
265 #, no-wrap
266 msgid "B<EVP_MD_fetch()>"
267 msgstr ""
268
269 #. type: IX
270 #: archlinux debian-trixie debian-unstable
271 #, no-wrap
272 msgid "Item"
273 msgstr ""
274
275 #. type: IX
276 #: archlinux debian-trixie debian-unstable
277 #, no-wrap
278 msgid "EVP_MD_fetch()"
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable
283 msgid ""
284 "Fetches the digest implementation for the given I<algorithm> from any "
285 "provider offering it, within the criteria given by the I<properties>. See "
286 "\"ALGORITHM FETCHING\" in B<crypto>\\|(7) for further information."
287 msgstr ""
288
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable
291 msgid "The returned value must eventually be freed with B<EVP_MD_free()>."
292 msgstr ""
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable
296 msgid "Fetched B<EVP_MD> structures are reference counted."
297 msgstr ""
298
299 #. type: IP
300 #: archlinux debian-trixie debian-unstable
301 #, no-wrap
302 msgid "B<EVP_MD_up_ref()>"
303 msgstr ""
304
305 #. type: IX
306 #: archlinux debian-trixie debian-unstable
307 #, no-wrap
308 msgid "EVP_MD_up_ref()"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable
313 msgid "Increments the reference count for an B<EVP_MD> structure."
314 msgstr ""
315
316 #. type: IP
317 #: archlinux debian-trixie debian-unstable
318 #, no-wrap
319 msgid "B<EVP_MD_free()>"
320 msgstr ""
321
322 #. type: IX
323 #: archlinux debian-trixie debian-unstable
324 #, no-wrap
325 msgid "EVP_MD_free()"
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable
330 msgid ""
331 "Decrements the reference count for the fetched B<EVP_MD> structure. If the "
332 "reference count drops to 0 then the structure is freed. If the argument is "
333 "NULL, nothing is done."
334 msgstr ""
335
336 #. type: IP
337 #: archlinux debian-trixie debian-unstable
338 #, no-wrap
339 msgid "B<EVP_MD_CTX_new()>"
340 msgstr ""
341
342 #. type: IX
343 #: archlinux debian-trixie debian-unstable
344 #, no-wrap
345 msgid "EVP_MD_CTX_new()"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable
350 msgid "Allocates and returns a digest context."
351 msgstr ""
352
353 #. type: IP
354 #: archlinux debian-trixie debian-unstable
355 #, no-wrap
356 msgid "B<EVP_MD_CTX_reset()>"
357 msgstr ""
358
359 #. type: IX
360 #: archlinux debian-trixie debian-unstable
361 #, no-wrap
362 msgid "EVP_MD_CTX_reset()"
363 msgstr ""
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable
367 msgid ""
368 "Resets the digest context I<ctx>. This can be used to reuse an already "
369 "existing context."
370 msgstr ""
371
372 #. type: IP
373 #: archlinux debian-trixie debian-unstable
374 #, no-wrap
375 msgid "B<EVP_MD_CTX_free()>"
376 msgstr ""
377
378 #. type: IX
379 #: archlinux debian-trixie debian-unstable
380 #, no-wrap
381 msgid "EVP_MD_CTX_free()"
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable
386 msgid ""
387 "Cleans up digest context I<ctx> and frees up the space allocated to it. If "
388 "the argument is NULL, nothing is done."
389 msgstr ""
390
391 #. type: IP
392 #: archlinux debian-trixie debian-unstable
393 #, no-wrap
394 msgid "B<EVP_MD_CTX_ctrl()>"
395 msgstr ""
396
397 #. type: IX
398 #: archlinux debian-trixie debian-unstable
399 #, no-wrap
400 msgid "EVP_MD_CTX_ctrl()"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable
405 msgid ""
406 "\\&I<This is a legacy method. >\\f(BIEVP_MD_CTX_set_params()I< and "
407 ">\\f(BIEVP_MD_CTX_get_params()I< is the mechanism that should be used to set "
408 "and get parameters that are used by providers.>"
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable
413 msgid ""
414 "Performs digest-specific control actions on context I<ctx>. The control "
415 "command is indicated in I<cmd> and any additional arguments in I<p1> and "
416 "I<p2>. \\&B<EVP_MD_CTX_ctrl()> must be called after "
417 "B<EVP_DigestInit_ex2()>. Other restrictions may apply depending on the "
418 "control type and digest implementation."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable
423 msgid ""
424 "If this function happens to be used with a fetched B<EVP_MD>, it will "
425 "translate the controls that are known to OpenSSL into B<OSSL_PARAM>\\|(3) "
426 "parameters with keys defined by OpenSSL and call B<EVP_MD_CTX_get_params()> "
427 "or \\&B<EVP_MD_CTX_set_params()> as is appropriate for each control command."
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable
432 msgid ""
433 "See \"CONTROLS\" below for more information, including what translations are "
434 "being done."
435 msgstr ""
436
437 #. type: IP
438 #: archlinux debian-trixie debian-unstable
439 #, no-wrap
440 msgid "B<EVP_MD_get_params()>"
441 msgstr ""
442
443 #. type: IX
444 #: archlinux debian-trixie debian-unstable
445 #, no-wrap
446 msgid "EVP_MD_get_params()"
447 msgstr ""
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable
451 msgid ""
452 "Retrieves the requested list of I<params> from a MD I<md>. See "
453 "\"PARAMETERS\" below for more information."
454 msgstr ""
455
456 #. type: IP
457 #: archlinux debian-trixie debian-unstable
458 #, no-wrap
459 msgid "B<EVP_MD_CTX_get_params()>"
460 msgstr ""
461
462 #. type: IX
463 #: archlinux debian-trixie debian-unstable
464 #, no-wrap
465 msgid "EVP_MD_CTX_get_params()"
466 msgstr ""
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable
470 msgid ""
471 "Retrieves the requested list of I<params> from a MD context I<ctx>. See "
472 "\"PARAMETERS\" below for more information."
473 msgstr ""
474
475 #. type: IP
476 #: archlinux debian-trixie debian-unstable
477 #, no-wrap
478 msgid "B<EVP_MD_CTX_set_params()>"
479 msgstr ""
480
481 #. type: IX
482 #: archlinux debian-trixie debian-unstable
483 #, no-wrap
484 msgid "EVP_MD_CTX_set_params()"
485 msgstr ""
486
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable
489 msgid ""
490 "Sets the list of I<params> into a MD context I<ctx>. See \"PARAMETERS\" "
491 "below for more information."
492 msgstr ""
493
494 #. type: IP
495 #: archlinux debian-trixie debian-unstable
496 #, no-wrap
497 msgid "B<EVP_MD_gettable_params()>"
498 msgstr ""
499
500 #. type: IX
501 #: archlinux debian-trixie debian-unstable
502 #, no-wrap
503 msgid "EVP_MD_gettable_params()"
504 msgstr ""
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable
508 msgid ""
509 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
510 "parameters that can be used with B<EVP_MD_get_params()>."
511 msgstr ""
512
513 #. type: IP
514 #: archlinux debian-trixie debian-unstable
515 #, no-wrap
516 msgid "B<EVP_MD_gettable_ctx_params()>, B<EVP_MD_CTX_gettable_params()>"
517 msgstr ""
518
519 #. type: IX
520 #: archlinux debian-trixie debian-unstable
521 #, no-wrap
522 msgid "EVP_MD_gettable_ctx_params(), EVP_MD_CTX_gettable_params()"
523 msgstr ""
524
525 #. type: Plain text
526 #: archlinux
527 msgid ""
528 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
529 "parameters that can be used with B<EVP_MD_CTX_get_params()>. "
530 "B<EVP_MD_gettable_ctx_params()> returns the parameters that can be retrieved "
531 "from the algorithm, whereas \\&B<EVP_MD_CTX_gettable_params()> returns the "
532 "parameters that can be retrieved in the context\\*(Aqs current state."
533 msgstr ""
534
535 #. type: IP
536 #: archlinux debian-trixie debian-unstable
537 #, no-wrap
538 msgid "B<EVP_MD_settable_ctx_params()>, B<EVP_MD_CTX_settable_params()>"
539 msgstr ""
540
541 #. type: IX
542 #: archlinux debian-trixie debian-unstable
543 #, no-wrap
544 msgid "EVP_MD_settable_ctx_params(), EVP_MD_CTX_settable_params()"
545 msgstr ""
546
547 #. type: Plain text
548 #: archlinux
549 msgid ""
550 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the settable "
551 "parameters that can be used with B<EVP_MD_CTX_set_params()>. "
552 "B<EVP_MD_settable_ctx_params()> returns the parameters that can be set from "
553 "the algorithm, whereas \\&B<EVP_MD_CTX_settable_params()> returns the "
554 "parameters that can be set in the context\\*(Aqs current state."
555 msgstr ""
556
557 #. type: IP
558 #: archlinux debian-trixie debian-unstable
559 #, no-wrap
560 msgid "B<EVP_MD_CTX_set_flags()>, B<EVP_MD_CTX_clear_flags()>, B<EVP_MD_CTX_test_flags()>"
561 msgstr ""
562
563 #. type: IX
564 #: archlinux debian-trixie debian-unstable
565 #, no-wrap
566 msgid "EVP_MD_CTX_set_flags(), EVP_MD_CTX_clear_flags(), EVP_MD_CTX_test_flags()"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable
571 msgid ""
572 "Sets, clears and tests I<ctx> flags. See \"FLAGS\" below for more "
573 "information."
574 msgstr ""
575
576 #. type: IP
577 #: archlinux debian-trixie debian-unstable
578 #, no-wrap
579 msgid "B<EVP_Q_digest()> is a quick one-shot digest function."
580 msgstr ""
581
582 #. type: IX
583 #: archlinux debian-trixie debian-unstable
584 #, no-wrap
585 msgid "EVP_Q_digest() is a quick one-shot digest function."
586 msgstr ""
587
588 #. type: Plain text
589 #: archlinux debian-trixie debian-unstable
590 msgid ""
591 "It hashes I<datalen> bytes of data at I<data> using the digest algorithm "
592 "\\&I<name>, which is fetched using the optional I<libctx> and I<propq> "
593 "parameters. The digest value is placed in I<md> and its length is written "
594 "at I<mdlen> if the pointer is not NULL. At most B<EVP_MAX_MD_SIZE> bytes "
595 "will be written."
596 msgstr ""
597
598 #. type: IP
599 #: archlinux debian-trixie debian-unstable
600 #, no-wrap
601 msgid "B<EVP_Digest()>"
602 msgstr ""
603
604 #. type: IX
605 #: archlinux debian-trixie debian-unstable
606 #, no-wrap
607 msgid "EVP_Digest()"
608 msgstr ""
609
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable
612 msgid ""
613 "A wrapper around the Digest Init_ex, Update and Final_ex functions. Hashes "
614 "I<count> bytes of data at I<data> using a digest I<type> from ENGINE "
615 "\\&I<impl>. The digest value is placed in I<md> and its length is written at "
616 "I<size> if the pointer is not NULL. At most B<EVP_MAX_MD_SIZE> bytes will be "
617 "written. If I<impl> is NULL the default implementation of digest I<type> is "
618 "used."
619 msgstr ""
620
621 #. type: IP
622 #: archlinux debian-trixie debian-unstable
623 #, no-wrap
624 msgid "B<EVP_DigestInit_ex2()>"
625 msgstr ""
626
627 #. type: IX
628 #: archlinux debian-trixie debian-unstable
629 #, no-wrap
630 msgid "EVP_DigestInit_ex2()"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable
635 msgid ""
636 "Sets up digest context I<ctx> to use a digest I<type>. \\&I<type> is "
637 "typically supplied by a function such as B<EVP_sha1()>, or a value "
638 "explicitly fetched with B<EVP_MD_fetch()>. I<ctx> B<MUST NOT> be NULL."
639 msgstr ""
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable
643 msgid "The parameters B<params> are set on the context after initialisation."
644 msgstr ""
645
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable
648 msgid ""
649 "The I<type> parameter can be NULL if I<ctx> has been already initialized "
650 "with another B<EVP_DigestInit_ex()> call and has not been reset with "
651 "\\&B<EVP_MD_CTX_reset()>."
652 msgstr ""
653
654 #. type: IP
655 #: archlinux debian-trixie debian-unstable
656 #, no-wrap
657 msgid "B<EVP_DigestInit_ex()>"
658 msgstr ""
659
660 #. type: IX
661 #: archlinux debian-trixie debian-unstable
662 #, no-wrap
663 msgid "EVP_DigestInit_ex()"
664 msgstr ""
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable
668 msgid ""
669 "Sets up digest context I<ctx> to use a digest I<type>. \\&I<type> is "
670 "typically supplied by a function such as B<EVP_sha1()>, or a value "
671 "explicitly fetched with B<EVP_MD_fetch()>."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable
676 msgid ""
677 "If I<impl> is non-NULL, its implementation of the digest I<type> is used if "
678 "there is one, and if not, the default implementation is used."
679 msgstr ""
680
681 #. type: IP
682 #: archlinux debian-trixie debian-unstable
683 #, no-wrap
684 msgid "B<EVP_DigestUpdate()>"
685 msgstr ""
686
687 #. type: IX
688 #: archlinux debian-trixie debian-unstable
689 #, no-wrap
690 msgid "EVP_DigestUpdate()"
691 msgstr ""
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable
695 msgid ""
696 "Hashes I<cnt> bytes of data at I<d> into the digest context I<ctx>. This "
697 "function can be called several times on the same I<ctx> to hash additional "
698 "data."
699 msgstr ""
700
701 #. type: IP
702 #: archlinux debian-trixie debian-unstable
703 #, no-wrap
704 msgid "B<EVP_DigestFinal_ex()>"
705 msgstr ""
706
707 #. type: IX
708 #: archlinux debian-trixie debian-unstable
709 #, no-wrap
710 msgid "EVP_DigestFinal_ex()"
711 msgstr ""
712
713 #. type: Plain text
714 #: archlinux debian-trixie debian-unstable
715 msgid ""
716 "Retrieves the digest value from I<ctx> and places it in I<md>. If the I<s> "
717 "parameter is not NULL then the number of bytes of data written (i.e. the "
718 "length of the digest) will be written to the integer at I<s>, at most "
719 "\\&B<EVP_MAX_MD_SIZE> bytes will be written unless the digest implementation "
720 "allows changing the digest size and it is set to a larger value by the "
721 "application. After calling B<EVP_DigestFinal_ex()> no additional calls to "
722 "\\&B<EVP_DigestUpdate()> can be made, but B<EVP_DigestInit_ex2()> can be "
723 "called to initialize a new digest operation. I<ctx> B<MUST NOT> be NULL."
724 msgstr ""
725
726 #. type: IP
727 #: archlinux debian-trixie debian-unstable
728 #, no-wrap
729 msgid "B<EVP_DigestFinalXOF()>"
730 msgstr ""
731
732 #. type: IX
733 #: archlinux debian-trixie debian-unstable
734 #, no-wrap
735 msgid "EVP_DigestFinalXOF()"
736 msgstr ""
737
738 #. type: Plain text
739 #: archlinux debian-trixie debian-unstable
740 msgid ""
741 "Interfaces to extendable-output functions, XOFs, such as SHAKE128 and "
742 "SHAKE256. It retrieves the digest value from I<ctx> and places it in "
743 "I<outlen>-sized I<out>. After calling this function no additional calls to "
744 "B<EVP_DigestUpdate()> can be made, but B<EVP_DigestInit_ex2()> can be called "
745 "to initialize a new operation. \\&B<EVP_DigestFinalXOF()> may only be "
746 "called once"
747 msgstr ""
748
749 #. type: IP
750 #: archlinux debian-trixie debian-unstable
751 #, no-wrap
752 msgid "B<EVP_DigestSqueeze()>"
753 msgstr ""
754
755 #. type: IX
756 #: archlinux debian-trixie debian-unstable
757 #, no-wrap
758 msgid "EVP_DigestSqueeze()"
759 msgstr ""
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable
763 msgid ""
764 "Similar to B<EVP_DigestFinalXOF()> but allows multiple calls to be made to "
765 "squeeze variable length output data. \\&B<EVP_DigestFinalXOF()> should not "
766 "be called after this."
767 msgstr ""
768
769 #. type: IP
770 #: archlinux debian-trixie debian-unstable
771 #, no-wrap
772 msgid "B<EVP_MD_CTX_dup()>"
773 msgstr ""
774
775 #. type: IX
776 #: archlinux debian-trixie debian-unstable
777 #, no-wrap
778 msgid "EVP_MD_CTX_dup()"
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable
783 msgid ""
784 "Can be used to duplicate the message digest state from I<in>. This is "
785 "useful to avoid multiple B<EVP_MD_fetch()> calls or if large amounts of data "
786 "are to be hashed which only differ in the last few bytes."
787 msgstr ""
788
789 #. type: IP
790 #: archlinux debian-trixie debian-unstable
791 #, no-wrap
792 msgid "B<EVP_MD_CTX_copy_ex()>"
793 msgstr ""
794
795 #. type: IX
796 #: archlinux debian-trixie debian-unstable
797 #, no-wrap
798 msgid "EVP_MD_CTX_copy_ex()"
799 msgstr ""
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable
803 msgid ""
804 "Can be used to copy the message digest state from I<in> to I<out>. This is "
805 "useful if large amounts of data are to be hashed which only differ in the "
806 "last few bytes."
807 msgstr ""
808
809 #. type: IP
810 #: archlinux debian-trixie debian-unstable
811 #, no-wrap
812 msgid "B<EVP_DigestInit()>"
813 msgstr ""
814
815 #. type: IX
816 #: archlinux debian-trixie debian-unstable
817 #, no-wrap
818 msgid "EVP_DigestInit()"
819 msgstr ""
820
821 #. type: Plain text
822 #: archlinux
823 msgid ""
824 "Behaves in the same way as B<EVP_DigestInit_ex2()> except it doesn\\*(Aqt "
825 "set any parameters and calls B<EVP_MD_CTX_reset()> so it cannot be used with "
826 "an I<type> of NULL."
827 msgstr ""
828
829 #. type: IP
830 #: archlinux debian-trixie debian-unstable
831 #, no-wrap
832 msgid "B<EVP_DigestFinal()>"
833 msgstr ""
834
835 #. type: IX
836 #: archlinux debian-trixie debian-unstable
837 #, no-wrap
838 msgid "EVP_DigestFinal()"
839 msgstr ""
840
841 #. type: Plain text
842 #: archlinux debian-trixie debian-unstable
843 msgid ""
844 "Similar to B<EVP_DigestFinal_ex()> except after computing the digest the "
845 "digest context I<ctx> is automatically cleaned up with B<EVP_MD_CTX_reset()>."
846 msgstr ""
847
848 #. type: IP
849 #: archlinux debian-trixie debian-unstable
850 #, no-wrap
851 msgid "B<EVP_MD_CTX_copy()>"
852 msgstr ""
853
854 #. type: IX
855 #: archlinux debian-trixie debian-unstable
856 #, no-wrap
857 msgid "EVP_MD_CTX_copy()"
858 msgstr ""
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable
862 msgid ""
863 "Similar to B<EVP_MD_CTX_copy_ex()> except the destination I<out> does not "
864 "have to be initialized."
865 msgstr ""
866
867 #. type: IP
868 #: archlinux debian-trixie debian-unstable
869 #, no-wrap
870 msgid "B<EVP_MD_is_a()>"
871 msgstr ""
872
873 #. type: IX
874 #: archlinux debian-trixie debian-unstable
875 #, no-wrap
876 msgid "EVP_MD_is_a()"
877 msgstr ""
878
879 #. type: Plain text
880 #: archlinux
881 msgid ""
882 "Returns 1 if I<md> is an implementation of an algorithm that\\*(Aqs "
883 "identifiable with I<name>, otherwise 0."
884 msgstr ""
885
886 #. type: Plain text
887 #: archlinux
888 msgid ""
889 "If I<md> is a legacy digest (it\\*(Aqs the return value from the likes of "
890 "\\&B<EVP_sha256()> rather than the result of an B<EVP_MD_fetch()>), only "
891 "cipher names registered with the default library context (see "
892 "\\&B<OSSL_LIB_CTX>\\|(3)) will be considered."
893 msgstr ""
894
895 #. type: IP
896 #: archlinux debian-trixie debian-unstable
897 #, no-wrap
898 msgid "B<EVP_MD_xof()>"
899 msgstr ""
900
901 #. type: IX
902 #: archlinux debian-trixie debian-unstable
903 #, no-wrap
904 msgid "EVP_MD_xof()"
905 msgstr ""
906
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable
909 msgid ""
910 "Returns 1 if I<md> is an Extendable-output Function (XOF) otherwise it "
911 "returns 0. SHAKE128 and SHAKE256 are XOF functions. It returns 0 for "
912 "BLAKE2B algorithms."
913 msgstr ""
914
915 #. type: IP
916 #: archlinux debian-trixie debian-unstable
917 #, no-wrap
918 msgid "B<EVP_MD_get0_name()>, B<EVP_MD_CTX_get0_name()>"
919 msgstr ""
920
921 #. type: IX
922 #: archlinux debian-trixie debian-unstable
923 #, no-wrap
924 msgid "EVP_MD_get0_name(), EVP_MD_CTX_get0_name()"
925 msgstr ""
926
927 #. type: Plain text
928 #: archlinux
929 msgid ""
930 "Return the name of the given message digest. For fetched message digests "
931 "with multiple names, only one of them is returned; it\\*(Aqs recommended to "
932 "use B<EVP_MD_names_do_all()> instead."
933 msgstr ""
934
935 #. type: IP
936 #: archlinux debian-trixie debian-unstable
937 #, no-wrap
938 msgid "B<EVP_MD_names_do_all()>"
939 msgstr ""
940
941 #. type: IX
942 #: archlinux debian-trixie debian-unstable
943 #, no-wrap
944 msgid "EVP_MD_names_do_all()"
945 msgstr ""
946
947 #. type: Plain text
948 #: archlinux debian-trixie debian-unstable
949 msgid ""
950 "Traverses all names for the I<md>, and calls I<fn> with each name and "
951 "\\&I<data>. This is only useful with fetched B<EVP_MD>s."
952 msgstr ""
953
954 #. type: IP
955 #: archlinux debian-trixie debian-unstable
956 #, no-wrap
957 msgid "B<EVP_MD_get0_description()>"
958 msgstr ""
959
960 #. type: IX
961 #: archlinux debian-trixie debian-unstable
962 #, no-wrap
963 msgid "EVP_MD_get0_description()"
964 msgstr ""
965
966 #. type: Plain text
967 #: archlinux debian-trixie debian-unstable
968 msgid ""
969 "Returns a description of the digest, meant for display and human "
970 "consumption. The description is at the discretion of the digest "
971 "implementation."
972 msgstr ""
973
974 #. type: IP
975 #: archlinux debian-trixie debian-unstable
976 #, no-wrap
977 msgid "B<EVP_MD_get0_provider()>"
978 msgstr ""
979
980 #. type: IX
981 #: archlinux debian-trixie debian-unstable
982 #, no-wrap
983 msgid "EVP_MD_get0_provider()"
984 msgstr ""
985
986 #. type: Plain text
987 #: archlinux debian-trixie debian-unstable
988 msgid ""
989 "Returns an B<OSSL_PROVIDER> pointer to the provider that implements the "
990 "given \\&B<EVP_MD>."
991 msgstr ""
992
993 #. type: IP
994 #: archlinux debian-trixie debian-unstable
995 #, no-wrap
996 msgid "B<EVP_MD_get_size()>"
997 msgstr ""
998
999 #. type: IX
1000 #: archlinux debian-trixie debian-unstable
1001 #, no-wrap
1002 msgid "EVP_MD_get_size()"
1003 msgstr ""
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable
1007 msgid ""
1008 "Return the size of the message digest when passed an B<EVP_MD>, i.e. the "
1009 "size of the hash. A negative value or 0 can occur for invalid size. For an "
1010 "XOF with no default size this returns 0."
1011 msgstr ""
1012
1013 #. type: IP
1014 #: archlinux debian-trixie debian-unstable
1015 #, no-wrap
1016 msgid "B<EVP_MD_CTX_get_size_ex()>, B<EVP_MD_CTX_get_size()>"
1017 msgstr ""
1018
1019 #. type: IX
1020 #: archlinux debian-trixie debian-unstable
1021 #, no-wrap
1022 msgid "EVP_MD_CTX_get_size_ex(), EVP_MD_CTX_get_size()"
1023 msgstr ""
1024
1025 #. type: Plain text
1026 #: archlinux debian-trixie debian-unstable
1027 msgid ""
1028 "For a normal digest this is the same as B<EVP_MD_get_size()>. For an XOF "
1029 "this returns the \"xoflen\" if it has been set, otherwise it returns 0."
1030 msgstr ""
1031
1032 #. type: IP
1033 #: archlinux debian-trixie debian-unstable
1034 #, no-wrap
1035 msgid "B<EVP_MD_get_block_size()>, B<EVP_MD_CTX_get_block_size()>"
1036 msgstr ""
1037
1038 #. type: IX
1039 #: archlinux debian-trixie debian-unstable
1040 #, no-wrap
1041 msgid "EVP_MD_get_block_size(), EVP_MD_CTX_get_block_size()"
1042 msgstr ""
1043
1044 #. type: Plain text
1045 #: archlinux debian-trixie debian-unstable
1046 msgid ""
1047 "Return the block size of the message digest when passed an B<EVP_MD> or an "
1048 "\\&B<EVP_MD_CTX> structure."
1049 msgstr ""
1050
1051 #. type: IP
1052 #: archlinux debian-trixie debian-unstable
1053 #, no-wrap
1054 msgid "B<EVP_MD_get_type()>, B<EVP_MD_CTX_get_type()>"
1055 msgstr ""
1056
1057 #. type: IX
1058 #: archlinux debian-trixie debian-unstable
1059 #, no-wrap
1060 msgid "EVP_MD_get_type(), EVP_MD_CTX_get_type()"
1061 msgstr ""
1062
1063 #. type: Plain text
1064 #: archlinux debian-trixie debian-unstable
1065 msgid ""
1066 "Return the NID of the OBJECT IDENTIFIER representing the given message "
1067 "digest when passed an B<EVP_MD> structure. For example, "
1068 "CW<\\*(C`EVP_MD_get_type(EVP_sha1())\\*(C'> returns B<NID_sha1>. This "
1069 "function is normally used when setting ASN1 OIDs."
1070 msgstr ""
1071
1072 #. type: IP
1073 #: archlinux debian-trixie debian-unstable
1074 #, no-wrap
1075 msgid "B<EVP_MD_CTX_get0_md_data()>"
1076 msgstr ""
1077
1078 #. type: IX
1079 #: archlinux debian-trixie debian-unstable
1080 #, no-wrap
1081 msgid "EVP_MD_CTX_get0_md_data()"
1082 msgstr ""
1083
1084 #. type: Plain text
1085 #: archlinux debian-trixie debian-unstable
1086 msgid ""
1087 "Return the digest method private data for the passed B<EVP_MD_CTX>. The "
1088 "space is allocated by OpenSSL and has the size originally set with "
1089 "\\&B<EVP_MD_meth_set_app_datasize()>."
1090 msgstr ""
1091
1092 #. type: IP
1093 #: archlinux debian-trixie debian-unstable
1094 #, no-wrap
1095 msgid "B<EVP_MD_CTX_get0_md()>, B<EVP_MD_CTX_get1_md()>"
1096 msgstr ""
1097
1098 #. type: IX
1099 #: archlinux debian-trixie debian-unstable
1100 #, no-wrap
1101 msgid "EVP_MD_CTX_get0_md(), EVP_MD_CTX_get1_md()"
1102 msgstr ""
1103
1104 #. type: Plain text
1105 #: archlinux debian-trixie debian-unstable
1106 msgid ""
1107 "\\&B<EVP_MD_CTX_get0_md()> returns the B<EVP_MD> structure corresponding to "
1108 "the passed B<EVP_MD_CTX>. This will be the same B<EVP_MD> object originally "
1109 "passed to B<EVP_DigestInit_ex2()> (or other similar function) when the "
1110 "EVP_MD_CTX was first initialised. Note that where explicit fetch is in use "
1111 "(see B<EVP_MD_fetch>\\|(3)) the value returned from this function will not "
1112 "have its reference count incremented and therefore it should not be used "
1113 "after the EVP_MD_CTX is freed. \\&B<EVP_MD_CTX_get1_md()> is the same "
1114 "except the ownership is passed to the caller and is from the passed "
1115 "B<EVP_MD_CTX>."
1116 msgstr ""
1117
1118 #. type: IP
1119 #: archlinux debian-trixie debian-unstable
1120 #, no-wrap
1121 msgid "B<EVP_MD_CTX_set_update_fn()>"
1122 msgstr ""
1123
1124 #. type: IX
1125 #: archlinux debian-trixie debian-unstable
1126 #, no-wrap
1127 msgid "EVP_MD_CTX_set_update_fn()"
1128 msgstr ""
1129
1130 #. type: Plain text
1131 #: archlinux debian-trixie debian-unstable
1132 msgid ""
1133 "Sets the update function for I<ctx> to I<update>. This is the function that "
1134 "is called by B<EVP_DigestUpdate()>. If not set, the update function from the "
1135 "B<EVP_MD> type specified at initialization is used."
1136 msgstr ""
1137
1138 #. type: IP
1139 #: archlinux debian-trixie debian-unstable
1140 #, no-wrap
1141 msgid "B<EVP_MD_CTX_update_fn()>"
1142 msgstr ""
1143
1144 #. type: IX
1145 #: archlinux debian-trixie debian-unstable
1146 #, no-wrap
1147 msgid "EVP_MD_CTX_update_fn()"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: archlinux debian-trixie debian-unstable
1152 msgid "Returns the update function for I<ctx>."
1153 msgstr ""
1154
1155 #. type: IP
1156 #: archlinux debian-trixie debian-unstable
1157 #, no-wrap
1158 msgid "B<EVP_MD_get_flags()>"
1159 msgstr ""
1160
1161 #. type: IX
1162 #: archlinux debian-trixie debian-unstable
1163 #, no-wrap
1164 msgid "EVP_MD_get_flags()"
1165 msgstr ""
1166
1167 #. type: Plain text
1168 #: archlinux debian-trixie debian-unstable
1169 msgid ""
1170 "Returns the I<md> flags. Note that these are different from the "
1171 "B<EVP_MD_CTX> ones. See B<EVP_MD_meth_set_flags>\\|(3) for more information."
1172 msgstr ""
1173
1174 #. type: IP
1175 #: archlinux debian-trixie debian-unstable
1176 #, no-wrap
1177 msgid "B<EVP_MD_get_pkey_type()>"
1178 msgstr ""
1179
1180 #. type: IX
1181 #: archlinux debian-trixie debian-unstable
1182 #, no-wrap
1183 msgid "EVP_MD_get_pkey_type()"
1184 msgstr ""
1185
1186 #. type: Plain text
1187 #: archlinux debian-trixie debian-unstable
1188 msgid ""
1189 "Returns the NID of the public key signing algorithm associated with this "
1190 "digest. For example B<EVP_sha1()> is associated with RSA so this will return "
1191 "\\&B<NID_sha1WithRSAEncryption>. Since digests and signature algorithms are "
1192 "no longer linked this function is only retained for compatibility reasons."
1193 msgstr ""
1194
1195 #. type: IP
1196 #: archlinux debian-trixie debian-unstable
1197 #, no-wrap
1198 msgid "B<EVP_md_null()>"
1199 msgstr ""
1200
1201 #. type: IX
1202 #: archlinux debian-trixie debian-unstable
1203 #, no-wrap
1204 msgid "EVP_md_null()"
1205 msgstr ""
1206
1207 #. type: Plain text
1208 #: archlinux debian-trixie debian-unstable
1209 msgid ""
1210 "A \"null\" message digest that does nothing: i.e. the hash it returns is of "
1211 "zero length."
1212 msgstr ""
1213
1214 #. type: IP
1215 #: archlinux debian-trixie debian-unstable
1216 #, no-wrap
1217 msgid "B<EVP_get_digestbyname()>, B<EVP_get_digestbynid()>, B<EVP_get_digestbyobj()>"
1218 msgstr ""
1219
1220 #. type: IX
1221 #: archlinux debian-trixie debian-unstable
1222 #, no-wrap
1223 msgid "EVP_get_digestbyname(), EVP_get_digestbynid(), EVP_get_digestbyobj()"
1224 msgstr ""
1225
1226 #. type: Plain text
1227 #: archlinux debian-trixie debian-unstable
1228 msgid ""
1229 "Returns an B<EVP_MD> structure when passed a digest name, a digest B<NID> or "
1230 "an \\&B<ASN1_OBJECT> structure respectively."
1231 msgstr ""
1232
1233 #. type: Plain text
1234 #: archlinux debian-trixie debian-unstable
1235 msgid ""
1236 "The B<EVP_get_digestbyname()> function is present for backwards "
1237 "compatibility with OpenSSL prior to version 3 and is different to the "
1238 "B<EVP_MD_fetch()> function since it does not attempt to \"fetch\" an "
1239 "implementation of the cipher. Additionally, it only knows about digests "
1240 "that are built-in to OpenSSL and have an associated NID. Similarly "
1241 "B<EVP_get_digestbynid()> and B<EVP_get_digestbyobj()> also return objects "
1242 "without an associated implementation."
1243 msgstr ""
1244
1245 #. type: Plain text
1246 #: archlinux debian-trixie debian-unstable
1247 msgid ""
1248 "When the digest objects returned by these functions are used (such as in a "
1249 "call to B<EVP_DigestInit_ex()>) an implementation of the digest will be "
1250 "implicitly fetched from the loaded providers. This fetch could fail if no "
1251 "suitable implementation is available. Use B<EVP_MD_fetch()> instead to "
1252 "explicitly fetch the algorithm and an associated implementation from a "
1253 "provider."
1254 msgstr ""
1255
1256 #. type: Plain text
1257 #: archlinux debian-trixie debian-unstable
1258 msgid ""
1259 "See \"ALGORITHM FETCHING\" in B<crypto>\\|(7) for more information about "
1260 "fetching."
1261 msgstr ""
1262
1263 #. type: Plain text
1264 #: archlinux debian-trixie debian-unstable
1265 msgid ""
1266 "The digest objects returned from these functions do not need to be freed "
1267 "with \\&B<EVP_MD_free()>."
1268 msgstr ""
1269
1270 #. type: IP
1271 #: archlinux debian-trixie debian-unstable
1272 #, no-wrap
1273 msgid "B<EVP_MD_CTX_get_pkey_ctx()>"
1274 msgstr ""
1275
1276 #. type: IX
1277 #: archlinux debian-trixie debian-unstable
1278 #, no-wrap
1279 msgid "EVP_MD_CTX_get_pkey_ctx()"
1280 msgstr ""
1281
1282 #. type: Plain text
1283 #: archlinux debian-trixie debian-unstable
1284 msgid ""
1285 "Returns the B<EVP_PKEY_CTX> assigned to I<ctx>. The returned pointer should "
1286 "not be freed by the caller."
1287 msgstr ""
1288
1289 #. type: IP
1290 #: archlinux debian-trixie debian-unstable
1291 #, no-wrap
1292 msgid "B<EVP_MD_CTX_set_pkey_ctx()>"
1293 msgstr ""
1294
1295 #. type: IX
1296 #: archlinux debian-trixie debian-unstable
1297 #, no-wrap
1298 msgid "EVP_MD_CTX_set_pkey_ctx()"
1299 msgstr ""
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable
1303 msgid ""
1304 "Assigns an B<EVP_PKEY_CTX> to B<EVP_MD_CTX>. This is usually used to provide "
1305 "a customized B<EVP_PKEY_CTX> to B<EVP_DigestSignInit>\\|(3) or "
1306 "\\&B<EVP_DigestVerifyInit>\\|(3). The I<pctx> passed to this function should "
1307 "be freed by the caller. A NULL I<pctx> pointer is also allowed to clear the "
1308 "B<EVP_PKEY_CTX> assigned to I<ctx>. In such case, freeing the cleared "
1309 "B<EVP_PKEY_CTX> or not depends on how the B<EVP_PKEY_CTX> is created."
1310 msgstr ""
1311
1312 #. type: IP
1313 #: archlinux debian-trixie debian-unstable
1314 #, no-wrap
1315 msgid "B<EVP_MD_do_all_provided()>"
1316 msgstr ""
1317
1318 #. type: IX
1319 #: archlinux debian-trixie debian-unstable
1320 #, no-wrap
1321 msgid "EVP_MD_do_all_provided()"
1322 msgstr ""
1323
1324 #. type: Plain text
1325 #: archlinux debian-trixie debian-unstable
1326 msgid ""
1327 "Traverses all messages digests implemented by all activated providers in the "
1328 "given library context I<libctx>, and for each of the implementations, calls "
1329 "the given function I<fn> with the implementation method and the given "
1330 "\\&I<arg> as argument."
1331 msgstr ""
1332
1333 #. type: IX
1334 #: archlinux debian-trixie debian-unstable
1335 #, no-wrap
1336 msgid "PARAMETERS"
1337 msgstr ""
1338
1339 #. type: Plain text
1340 #: archlinux debian-trixie debian-unstable
1341 msgid "See B<OSSL_PARAM>\\|(3) for information about passing parameters."
1342 msgstr ""
1343
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable
1346 msgid ""
1347 "\\&B<EVP_MD_CTX_set_params()> and B<EVP_MD_CTX_get_params()> can be used "
1348 "with the following OSSL_PARAM keys:"
1349 msgstr ""
1350
1351 #. type: IP
1352 #: archlinux debian-trixie debian-unstable
1353 #, no-wrap
1354 msgid "\"xoflen\" (B<OSSL_DIGEST_PARAM_XOFLEN>) E<lt>unsigned integerE<gt>"
1355 msgstr ""
1356
1357 #. type: IX
1358 #: archlinux debian-trixie debian-unstable
1359 #, no-wrap
1360 msgid "\"xoflen\" (OSSL_DIGEST_PARAM_XOFLEN) E<lt>unsigned integerE<gt>"
1361 msgstr ""
1362
1363 #. type: Plain text
1364 #: archlinux debian-trixie debian-unstable
1365 msgid ""
1366 "Sets or gets the digest length for extendable output functions. The value "
1367 "should not exceed what can be given using a B<size_t>. It may be used by "
1368 "SHAKE-128 and SHAKE-256 to set the output length used by "
1369 "B<EVP_DigestFinal_ex()> and B<EVP_DigestFinal()>."
1370 msgstr ""
1371
1372 #. type: IP
1373 #: archlinux debian-trixie debian-unstable
1374 #, no-wrap
1375 msgid "\"size\" (B<OSSL_DIGEST_PARAM_SIZE>) E<lt>unsigned integerE<gt>"
1376 msgstr ""
1377
1378 #. type: IX
1379 #: archlinux debian-trixie debian-unstable
1380 #, no-wrap
1381 msgid "\"size\" (OSSL_DIGEST_PARAM_SIZE) E<lt>unsigned integerE<gt>"
1382 msgstr ""
1383
1384 #. type: Plain text
1385 #: archlinux debian-trixie debian-unstable
1386 msgid ""
1387 "Sets or gets a fixed digest length. The value should not exceed what can be "
1388 "given using a B<size_t>. It may be used by BLAKE2B-512 to set the output "
1389 "length used by \\&B<EVP_DigestFinal_ex()> and B<EVP_DigestFinal()>."
1390 msgstr ""
1391
1392 #. type: Plain text
1393 #: archlinux debian-trixie debian-unstable
1394 msgid ""
1395 "\\&B<EVP_MD_CTX_set_params()> can be used with the following OSSL_PARAM keys:"
1396 msgstr ""
1397
1398 #. type: IP
1399 #: archlinux debian-trixie debian-unstable
1400 #, no-wrap
1401 msgid "\"pad-type\" (B<OSSL_DIGEST_PARAM_PAD_TYPE>) E<lt>unsigned integerE<gt>"
1402 msgstr ""
1403
1404 #. type: IX
1405 #: archlinux debian-trixie debian-unstable
1406 #, no-wrap
1407 msgid "\"pad-type\" (OSSL_DIGEST_PARAM_PAD_TYPE) E<lt>unsigned integerE<gt>"
1408 msgstr ""
1409
1410 #. type: Plain text
1411 #: archlinux debian-trixie debian-unstable
1412 msgid "Sets the padding type. It is used by the MDC2 algorithm."
1413 msgstr ""
1414
1415 #. type: Plain text
1416 #: archlinux debian-trixie debian-unstable
1417 msgid ""
1418 "\\&B<EVP_MD_CTX_get_params()> can be used with the following OSSL_PARAM keys:"
1419 msgstr ""
1420
1421 #. type: IP
1422 #: archlinux debian-trixie debian-unstable
1423 #, no-wrap
1424 msgid "\"micalg\" (B<OSSL_DIGEST_PARAM_MICALG>) E<lt>UTF8 stringE<gt>."
1425 msgstr ""
1426
1427 #. type: IX
1428 #: archlinux debian-trixie debian-unstable
1429 #, no-wrap
1430 msgid "\"micalg\" (OSSL_DIGEST_PARAM_MICALG) E<lt>UTF8 stringE<gt>."
1431 msgstr ""
1432
1433 #. type: Plain text
1434 #: archlinux debian-trixie debian-unstable
1435 msgid ""
1436 "Gets the digest Message Integrity Check algorithm string. This is used when "
1437 "creating S/MIME multipart/signed messages, as specified in RFC 3851. It may "
1438 "be used by external engines or providers."
1439 msgstr ""
1440
1441 #. type: IX
1442 #: archlinux debian-trixie debian-unstable
1443 #, no-wrap
1444 msgid "CONTROLS"
1445 msgstr ""
1446
1447 #. type: Plain text
1448 #: archlinux debian-trixie debian-unstable
1449 msgid ""
1450 "\\&B<EVP_MD_CTX_ctrl()> can be used to send the following standard controls:"
1451 msgstr ""
1452
1453 #. type: IX
1454 #: archlinux debian-trixie debian-unstable
1455 #, no-wrap
1456 msgid "EVP_MD_CTRL_MICALG"
1457 msgstr ""
1458
1459 #. type: Plain text
1460 #: archlinux debian-trixie debian-unstable
1461 msgid ""
1462 "Gets the digest Message Integrity Check algorithm string. This is used when "
1463 "creating S/MIME multipart/signed messages, as specified in RFC 3851. The "
1464 "string value is written to I<p2>."
1465 msgstr ""
1466
1467 #. type: Plain text
1468 #: archlinux debian-trixie debian-unstable
1469 msgid ""
1470 "When used with a fetched B<EVP_MD>, B<EVP_MD_CTX_get_params()> gets called "
1471 "with an B<OSSL_PARAM>\\|(3) item with the key \"micalg\" "
1472 "(B<OSSL_DIGEST_PARAM_MICALG>)."
1473 msgstr ""
1474
1475 #. type: IX
1476 #: archlinux debian-trixie debian-unstable
1477 #, no-wrap
1478 msgid "EVP_MD_CTRL_XOF_LEN"
1479 msgstr ""
1480
1481 #. type: Plain text
1482 #: archlinux debian-trixie debian-unstable
1483 msgid ""
1484 "This control sets the digest length for extendable output functions to "
1485 "I<p1>. Sending this control directly should not be necessary, the use of "
1486 "\\&B<EVP_DigestFinalXOF()> is preferred. Currently used by SHAKE algorithms."
1487 msgstr ""
1488
1489 #. type: Plain text
1490 #: archlinux debian-trixie debian-unstable
1491 msgid ""
1492 "When used with a fetched B<EVP_MD>, B<EVP_MD_CTX_get_params()> gets called "
1493 "with an B<OSSL_PARAM>\\|(3) item with the key \"xoflen\" "
1494 "(B<OSSL_DIGEST_PARAM_XOFLEN>)."
1495 msgstr ""
1496
1497 #. type: IX
1498 #: archlinux debian-trixie debian-unstable
1499 #, no-wrap
1500 msgid "FLAGS"
1501 msgstr ""
1502
1503 #. type: Plain text
1504 #: archlinux debian-trixie debian-unstable
1505 msgid ""
1506 "\\&B<EVP_MD_CTX_set_flags()>, B<EVP_MD_CTX_clear_flags()> and "
1507 "B<EVP_MD_CTX_test_flags()> can be used the manipulate and test these "
1508 "B<EVP_MD_CTX> flags:"
1509 msgstr ""
1510
1511 #. type: IX
1512 #: archlinux debian-trixie debian-unstable
1513 #, no-wrap
1514 msgid "EVP_MD_CTX_FLAG_ONESHOT"
1515 msgstr ""
1516
1517 #. type: Plain text
1518 #: archlinux debian-trixie debian-unstable
1519 msgid ""
1520 "This flag instructs the digest to optimize for one update only, if possible."
1521 msgstr ""
1522
1523 #. type: IX
1524 #: archlinux debian-trixie debian-unstable
1525 #, no-wrap
1526 msgid "EVP_MD_CTX_FLAG_CLEANED"
1527 msgstr ""
1528
1529 #. type: Plain text
1530 #: archlinux debian-trixie debian-unstable
1531 msgid ""
1532 "This flag is for internal use only and I<must not> be used in user code."
1533 msgstr ""
1534
1535 #. type: IX
1536 #: archlinux debian-trixie debian-unstable
1537 #, no-wrap
1538 msgid "EVP_MD_CTX_FLAG_REUSE"
1539 msgstr ""
1540
1541 #. type: IX
1542 #: archlinux debian-trixie debian-unstable
1543 #, no-wrap
1544 msgid "EVP_MD_CTX_FLAG_NO_INIT"
1545 msgstr ""
1546
1547 #. type: Plain text
1548 #: archlinux debian-trixie debian-unstable
1549 msgid ""
1550 "This flag instructs B<EVP_DigestInit()> and similar not to initialise the "
1551 "implementation specific data."
1552 msgstr ""
1553
1554 #. type: IX
1555 #: archlinux debian-trixie debian-unstable
1556 #, no-wrap
1557 msgid "EVP_MD_CTX_FLAG_FINALISE"
1558 msgstr ""
1559
1560 #. type: Plain text
1561 #: archlinux debian-trixie debian-unstable
1562 msgid ""
1563 "Some functions such as EVP_DigestSign only finalise copies of internal "
1564 "contexts so additional data can be included after the finalisation call. "
1565 "This is inefficient if this functionality is not required, and can be "
1566 "disabled with this flag."
1567 msgstr ""
1568
1569 #. type: IX
1570 #: archlinux debian-trixie debian-unstable
1571 #, no-wrap
1572 msgid "RETURN VALUES"
1573 msgstr ""
1574
1575 #. type: Plain text
1576 #: archlinux debian-trixie debian-unstable
1577 msgid "Returns a pointer to a B<EVP_MD> for success or NULL for failure."
1578 msgstr ""
1579
1580 #. type: Plain text
1581 #: archlinux debian-trixie debian-unstable
1582 msgid "Returns 1 for success or 0 for failure."
1583 msgstr ""
1584
1585 #. type: IP
1586 #: archlinux debian-trixie debian-unstable
1587 #, no-wrap
1588 msgid "B<EVP_Q_digest()>, B<EVP_Digest()>, B<EVP_DigestInit_ex2()>, B<EVP_DigestInit_ex()>, B<EVP_DigestInit()>, B<EVP_DigestUpdate()>, B<EVP_DigestFinal_ex()>, B<EVP_DigestFinalXOF()>, and B<EVP_DigestFinal()>"
1589 msgstr ""
1590
1591 #. type: IX
1592 #: archlinux debian-trixie debian-unstable
1593 #, no-wrap
1594 msgid "EVP_Q_digest(), EVP_Digest(), EVP_DigestInit_ex2(), EVP_DigestInit_ex(), EVP_DigestInit(), EVP_DigestUpdate(), EVP_DigestFinal_ex(), EVP_DigestFinalXOF(), and EVP_DigestFinal()"
1595 msgstr ""
1596
1597 #. type: Plain text
1598 #: archlinux debian-trixie debian-unstable
1599 msgid "return 1 for success and 0 for failure."
1600 msgstr ""
1601
1602 #. type: Plain text
1603 #: archlinux debian-trixie debian-unstable
1604 msgid "Returns 1 if successful or 0 for failure."
1605 msgstr ""
1606
1607 #. type: IP
1608 #: archlinux debian-trixie debian-unstable
1609 #, no-wrap
1610 msgid "B<EVP_MD_CTX_set_params()>, B<EVP_MD_CTX_get_params()>"
1611 msgstr ""
1612
1613 #. type: IX
1614 #: archlinux debian-trixie debian-unstable
1615 #, no-wrap
1616 msgid "EVP_MD_CTX_set_params(), EVP_MD_CTX_get_params()"
1617 msgstr ""
1618
1619 #. type: IP
1620 #: archlinux debian-trixie debian-unstable
1621 #, no-wrap
1622 msgid "B<EVP_MD_CTX_settable_params()>, B<EVP_MD_CTX_gettable_params()>"
1623 msgstr ""
1624
1625 #. type: IX
1626 #: archlinux debian-trixie debian-unstable
1627 #, no-wrap
1628 msgid "EVP_MD_CTX_settable_params(), EVP_MD_CTX_gettable_params()"
1629 msgstr ""
1630
1631 #. type: Plain text
1632 #: archlinux debian-trixie debian-unstable
1633 msgid ""
1634 "Return an array of constant B<OSSL_PARAM>\\|(3)s, or NULL if there is none "
1635 "to get."
1636 msgstr ""
1637
1638 #. type: Plain text
1639 #: archlinux debian-trixie debian-unstable
1640 msgid "Returns a new EVP_MD_CTX if successful or NULL on failure."
1641 msgstr ""
1642
1643 #. type: IP
1644 #: archlinux debian-trixie debian-unstable
1645 #, no-wrap
1646 msgid "B<EVP_MD_get_type()>, B<EVP_MD_get_pkey_type()>"
1647 msgstr ""
1648
1649 #. type: IX
1650 #: archlinux debian-trixie debian-unstable
1651 #, no-wrap
1652 msgid "EVP_MD_get_type(), EVP_MD_get_pkey_type()"
1653 msgstr ""
1654
1655 #. type: Plain text
1656 #: archlinux debian-trixie debian-unstable
1657 msgid ""
1658 "Returns the NID of the corresponding OBJECT IDENTIFIER or NID_undef if none "
1659 "exists."
1660 msgstr ""
1661
1662 #. type: IP
1663 #: archlinux debian-trixie debian-unstable
1664 #, no-wrap
1665 msgid "B<EVP_MD_get_size()>, B<EVP_MD_get_block_size()>, B<EVP_MD_CTX_get_size()>, B<EVP_MD_CTX_get_block_size()>"
1666 msgstr ""
1667
1668 #. type: IX
1669 #: archlinux debian-trixie debian-unstable
1670 #, no-wrap
1671 msgid "EVP_MD_get_size(), EVP_MD_get_block_size(), EVP_MD_CTX_get_size(), EVP_MD_CTX_get_block_size()"
1672 msgstr ""
1673
1674 #. type: Plain text
1675 #: archlinux debian-trixie debian-unstable
1676 msgid "Returns the digest or block size in bytes or -1 for failure."
1677 msgstr ""
1678
1679 #. type: Plain text
1680 #: archlinux debian-trixie debian-unstable
1681 msgid ""
1682 "Returns a pointer to the B<EVP_MD> structure of the \"null\" message digest."
1683 msgstr ""
1684
1685 #. type: Plain text
1686 #: archlinux debian-trixie debian-unstable
1687 msgid "Returns either an B<EVP_MD> structure or NULL if an error occurs."
1688 msgstr ""
1689
1690 #. type: Plain text
1691 #: archlinux debian-trixie debian-unstable
1692 msgid "This function has no return value."
1693 msgstr ""
1694
1695 #. type: Plain text
1696 #: archlinux debian-trixie debian-unstable
1697 msgid ""
1698 "Returns 1 if the callback was called for all names. A return value of 0 "
1699 "means that the callback was not called for any names."
1700 msgstr ""
1701
1702 #. type: IX
1703 #: archlinux debian-trixie debian-unstable
1704 #, no-wrap
1705 msgid "NOTES"
1706 msgstr ""
1707
1708 #. type: Plain text
1709 #: archlinux debian-trixie debian-unstable
1710 msgid ""
1711 "The B<EVP> interface to message digests should almost always be used in "
1712 "preference to the low-level interfaces. This is because the code then "
1713 "becomes transparent to the digest used and much more flexible."
1714 msgstr ""
1715
1716 #. type: Plain text
1717 #: archlinux debian-trixie debian-unstable
1718 msgid ""
1719 "New applications should use the SHA-2 (such as B<EVP_sha256>\\|(3)) or the "
1720 "SHA-3 digest algorithms (such as B<EVP_sha3_512>\\|(3)). The other digest "
1721 "algorithms are still in common use."
1722 msgstr ""
1723
1724 #. type: Plain text
1725 #: archlinux debian-trixie debian-unstable
1726 msgid ""
1727 "For most applications the I<impl> parameter to B<EVP_DigestInit_ex()> will "
1728 "be set to NULL to use the default digest implementation."
1729 msgstr ""
1730
1731 #. type: Plain text
1732 #: archlinux debian-trixie debian-unstable
1733 msgid ""
1734 "Ignoring failure returns of B<EVP_DigestInit_ex()>, B<EVP_DigestInit_ex2()>, "
1735 "or \\&B<EVP_DigestInit()> can lead to undefined behavior on subsequent calls "
1736 "updating or finalizing the B<EVP_MD_CTX> such as the B<EVP_DigestUpdate()> "
1737 "or \\&B<EVP_DigestFinal()> functions. The only valid calls on the "
1738 "B<EVP_MD_CTX> when initialization fails are calls that attempt another "
1739 "initialization of the context or release the context."
1740 msgstr ""
1741
1742 #. type: Plain text
1743 #: archlinux debian-trixie debian-unstable
1744 msgid ""
1745 "The functions B<EVP_DigestInit()>, B<EVP_DigestFinal()> and "
1746 "B<EVP_MD_CTX_copy()> are obsolete but are retained to maintain compatibility "
1747 "with existing code. New applications should use B<EVP_DigestInit_ex()>, "
1748 "B<EVP_DigestFinal_ex()> and \\&B<EVP_MD_CTX_copy_ex()> because they can "
1749 "efficiently reuse a digest context instead of initializing and cleaning it "
1750 "up on each call and allow non default implementations of digests to be "
1751 "specified."
1752 msgstr ""
1753
1754 #. type: Plain text
1755 #: archlinux debian-trixie debian-unstable
1756 msgid ""
1757 "If digest contexts are not cleaned up after use, memory leaks will occur."
1758 msgstr ""
1759
1760 #. type: Plain text
1761 #: archlinux debian-trixie debian-unstable
1762 msgid ""
1763 "\\&B<EVP_MD_CTX_get0_name()>, B<EVP_MD_CTX_get_size()>, "
1764 "B<EVP_MD_CTX_get_block_size()>, \\&B<EVP_MD_CTX_get_type()>, "
1765 "B<EVP_get_digestbynid()> and B<EVP_get_digestbyobj()> are defined as macros."
1766 msgstr ""
1767
1768 #. type: Plain text
1769 #: archlinux debian-trixie debian-unstable
1770 msgid ""
1771 "\\&B<EVP_MD_CTX_ctrl()> sends commands to message digests for additional "
1772 "configuration or control."
1773 msgstr ""
1774
1775 #. type: IX
1776 #: archlinux debian-trixie debian-unstable
1777 #, no-wrap
1778 msgid "EXAMPLES"
1779 msgstr ""
1780
1781 #. type: Plain text
1782 #: archlinux debian-trixie debian-unstable
1783 msgid ""
1784 "This example digests the data \"Test Message\\en\" and \"Hello World\\en\", "
1785 "using the digest name passed on the command line."
1786 msgstr ""
1787
1788 #. type: Plain text
1789 #: archlinux debian-trixie debian-unstable
1790 #, no-wrap
1791 msgid ""
1792 "\\& #include E<lt>stdio.hE<gt>\n"
1793 "\\& #include E<lt>string.hE<gt>\n"
1794 "\\& #include E<lt>openssl/evp.hE<gt>\n"
1795 "\\&\n"
1796 "\\& int main(int argc, char *argv[])\n"
1797 "\\& {\n"
1798 "\\& EVP_MD_CTX *mdctx;\n"
1799 "\\& const EVP_MD *md;\n"
1800 "\\& char mess1[] = \"Test Message\\en\";\n"
1801 "\\& char mess2[] = \"Hello World\\en\";\n"
1802 "\\& unsigned char md_value[EVP_MAX_MD_SIZE];\n"
1803 "\\& unsigned int md_len, i;\n"
1804 "\\&\n"
1805 "\\& if (argv[1] == NULL) {\n"
1806 "\\& printf(\"Usage: mdtest digestname\\en\");\n"
1807 "\\& exit(1);\n"
1808 "\\& }\n"
1809 "\\&\n"
1810 "\\& md = EVP_get_digestbyname(argv[1]);\n"
1811 "\\& if (md == NULL) {\n"
1812 "\\& printf(\"Unknown message digest %s\\en\", argv[1]);\n"
1813 "\\& exit(1);\n"
1814 "\\& }\n"
1815 "\\&\n"
1816 "\\& mdctx = EVP_MD_CTX_new();\n"
1817 "\\& if (mdctx == NULL) {\n"
1818 "\\& printf(\"Message digest create failed.\\en\");\n"
1819 "\\& exit(1);\n"
1820 "\\& }\n"
1821 "\\& if (!EVP_DigestInit_ex2(mdctx, md, NULL)) {\n"
1822 "\\& printf(\"Message digest initialization failed.\\en\");\n"
1823 "\\& EVP_MD_CTX_free(mdctx);\n"
1824 "\\& exit(1);\n"
1825 "\\& }\n"
1826 "\\& if (!EVP_DigestUpdate(mdctx, mess1, strlen(mess1))) {\n"
1827 "\\& printf(\"Message digest update failed.\\en\");\n"
1828 "\\& EVP_MD_CTX_free(mdctx);\n"
1829 "\\& exit(1);\n"
1830 "\\& }\n"
1831 "\\& if (!EVP_DigestUpdate(mdctx, mess2, strlen(mess2))) {\n"
1832 "\\& printf(\"Message digest update failed.\\en\");\n"
1833 "\\& EVP_MD_CTX_free(mdctx);\n"
1834 "\\& exit(1);\n"
1835 "\\& }\n"
1836 "\\& if (!EVP_DigestFinal_ex(mdctx, md_value, &md_len)) {\n"
1837 "\\& printf(\"Message digest finalization failed.\\en\");\n"
1838 "\\& EVP_MD_CTX_free(mdctx);\n"
1839 "\\& exit(1);\n"
1840 "\\& }\n"
1841 "\\& EVP_MD_CTX_free(mdctx);\n"
1842 "\\&\n"
1843 "\\& printf(\"Digest is: \");\n"
1844 "\\& for (i = 0; i E<lt> md_len; i++)\n"
1845 "\\& printf(\"%02x\", md_value[i]);\n"
1846 "\\& printf(\"\\en\");\n"
1847 "\\&\n"
1848 "\\& exit(0);\n"
1849 "\\& }\n"
1850 msgstr ""
1851
1852 #. type: IX
1853 #: archlinux debian-trixie debian-unstable
1854 #, no-wrap
1855 msgid "SEE ALSO"
1856 msgstr ""
1857
1858 #. type: Plain text
1859 #: archlinux debian-trixie debian-unstable
1860 msgid ""
1861 "\\&B<EVP_MD_meth_new>\\|(3), \\&B<openssl-dgst>\\|(1), \\&B<evp>\\|(7), "
1862 "\\&B<OSSL_PROVIDER>\\|(3), \\&B<OSSL_PARAM>\\|(3), \\&B<property>\\|(7), "
1863 "\"ALGORITHM FETCHING\" in B<crypto>\\|(7), \\&B<provider-digest>\\|(7), "
1864 "\\&B<life_cycle-digest>\\|(7)"
1865 msgstr ""
1866
1867 #. type: Plain text
1868 #: archlinux debian-trixie debian-unstable
1869 msgid "The full list of digest algorithms are provided below."
1870 msgstr ""
1871
1872 #. type: Plain text
1873 #: archlinux debian-trixie debian-unstable
1874 msgid ""
1875 "\\&B<EVP_blake2b512>\\|(3), \\&B<EVP_md2>\\|(3), \\&B<EVP_md4>\\|(3), "
1876 "\\&B<EVP_md5>\\|(3), \\&B<EVP_mdc2>\\|(3), \\&B<EVP_ripemd160>\\|(3), "
1877 "\\&B<EVP_sha1>\\|(3), \\&B<EVP_sha224>\\|(3), \\&B<EVP_sha3_224>\\|(3), "
1878 "\\&B<EVP_sm3>\\|(3), \\&B<EVP_whirlpool>\\|(3)"
1879 msgstr ""
1880
1881 #. type: IX
1882 #: archlinux debian-trixie debian-unstable
1883 #, no-wrap
1884 msgid "HISTORY"
1885 msgstr ""
1886
1887 #. type: Plain text
1888 #: archlinux debian-trixie debian-unstable
1889 msgid ""
1890 "The B<EVP_MD_CTX_create()> and B<EVP_MD_CTX_destroy()> functions were "
1891 "renamed to \\&B<EVP_MD_CTX_new()> and B<EVP_MD_CTX_free()> in OpenSSL 1.1.0, "
1892 "respectively."
1893 msgstr ""
1894
1895 #. type: Plain text
1896 #: archlinux debian-trixie debian-unstable
1897 msgid ""
1898 "The link between digests and signing algorithms was fixed in OpenSSL 1.0 and "
1899 "later, so now B<EVP_sha1()> can be used with RSA and DSA."
1900 msgstr ""
1901
1902 #. type: Plain text
1903 #: archlinux debian-trixie debian-unstable
1904 msgid "The B<EVP_dss1()> function was removed in OpenSSL 1.1.0."
1905 msgstr ""
1906
1907 #. type: Plain text
1908 #: archlinux debian-trixie debian-unstable
1909 msgid "The B<EVP_MD_CTX_set_pkey_ctx()> function was added in OpenSSL 1.1.1."
1910 msgstr ""
1911
1912 #. type: Plain text
1913 #: archlinux debian-trixie debian-unstable
1914 msgid ""
1915 "The B<EVP_Q_digest()>, B<EVP_DigestInit_ex2()>, \\&B<EVP_MD_fetch()>, "
1916 "B<EVP_MD_free()>, B<EVP_MD_up_ref()>, \\&B<EVP_MD_get_params()>, "
1917 "B<EVP_MD_CTX_set_params()>, B<EVP_MD_CTX_get_params()>, "
1918 "\\&B<EVP_MD_gettable_params()>, B<EVP_MD_gettable_ctx_params()>, "
1919 "\\&B<EVP_MD_settable_ctx_params()>, B<EVP_MD_CTX_settable_params()> and "
1920 "\\&B<EVP_MD_CTX_gettable_params()> functions were added in OpenSSL 3.0."
1921 msgstr ""
1922
1923 #. type: Plain text
1924 #: archlinux debian-trixie debian-unstable
1925 msgid ""
1926 "The B<EVP_MD_type()>, B<EVP_MD_nid()>, B<EVP_MD_name()>, "
1927 "B<EVP_MD_pkey_type()>, \\&B<EVP_MD_size()>, B<EVP_MD_block_size()>, "
1928 "B<EVP_MD_flags()>, B<EVP_MD_CTX_size()>, \\&B<EVP_MD_CTX_block_size()>, "
1929 "B<EVP_MD_CTX_type()>, and B<EVP_MD_CTX_md_data()> functions were renamed to "
1930 "include CW<\\*(C`get\\*(C'> or CW<\\*(C`get0\\*(C'> in their names in "
1931 "OpenSSL 3.0, respectively. The old names are kept as non-deprecated alias "
1932 "macros."
1933 msgstr ""
1934
1935 #. type: Plain text
1936 #: archlinux debian-trixie debian-unstable
1937 msgid ""
1938 "The B<EVP_MD_CTX_md()> function was deprecated in OpenSSL 3.0; use "
1939 "\\&B<EVP_MD_CTX_get0_md()> instead. \\&B<EVP_MD_CTX_update_fn()> and "
1940 "B<EVP_MD_CTX_set_update_fn()> were deprecated in OpenSSL 3.0."
1941 msgstr ""
1942
1943 #. type: Plain text
1944 #: archlinux debian-trixie debian-unstable
1945 msgid "The B<EVP_MD_CTX_dup()> function was added in OpenSSL 3.1."
1946 msgstr ""
1947
1948 #. type: Plain text
1949 #: archlinux debian-trixie debian-unstable
1950 msgid "The B<EVP_DigestSqueeze()> function was added in OpenSSL 3.3."
1951 msgstr ""
1952
1953 #. type: Plain text
1954 #: archlinux debian-trixie debian-unstable
1955 msgid ""
1956 "The B<EVP_MD_CTX_get_size_ex()> and B<EVP_xof()> functions were added in "
1957 "OpenSSL 3.4. The macros B<EVP_MD_CTX_get_size()> and EVP_MD_CTX_size were "
1958 "changed in OpenSSL 3.4 to be aliases for B<EVP_MD_CTX_get_size_ex()>, "
1959 "previously they were aliases for EVP_MD_get_size which returned a constant "
1960 "value. This is required for XOF digests since they do not have a fixed size."
1961 msgstr ""
1962
1963 #. type: IX
1964 #: archlinux debian-trixie debian-unstable
1965 #, no-wrap
1966 msgid "COPYRIGHT"
1967 msgstr ""
1968
1969 #. type: Plain text
1970 #: archlinux debian-trixie debian-unstable
1971 msgid "Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved."
1972 msgstr ""
1973
1974 #. type: Plain text
1975 #: archlinux debian-trixie debian-unstable
1976 msgid ""
1977 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
1978 "this file except in compliance with the License. You can obtain a copy in "
1979 "the file LICENSE in the source distribution or at E<lt>https://"
1980 "www.openssl.org/source/license.htmlE<gt>."
1981 msgstr ""
1982
1983 #. ========================================================================
1984 #. type: IX
1985 #: debian-trixie debian-unstable
1986 #, no-wrap
1987 msgid "EVP_DIGESTINIT 3SSL"
1988 msgstr ""
1989
1990 #. type: TH
1991 #: debian-trixie
1992 #, no-wrap
1993 msgid "3.5.6"
1994 msgstr ""
1995
1996 #. type: Plain text
1997 #: debian-trixie debian-unstable
1998 msgid ""
1999 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
2000 "parameters that can be used with B<EVP_MD_CTX_get_params()>. "
2001 "B<EVP_MD_gettable_ctx_params()> returns the parameters that can be retrieved "
2002 "from the algorithm, whereas \\&B<EVP_MD_CTX_gettable_params()> returns the "
2003 "parameters that can be retrieved in the context's current state."
2004 msgstr ""
2005
2006 #. type: Plain text
2007 #: debian-trixie debian-unstable
2008 msgid ""
2009 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the settable "
2010 "parameters that can be used with B<EVP_MD_CTX_set_params()>. "
2011 "B<EVP_MD_settable_ctx_params()> returns the parameters that can be set from "
2012 "the algorithm, whereas \\&B<EVP_MD_CTX_settable_params()> returns the "
2013 "parameters that can be set in the context's current state."
2014 msgstr ""
2015
2016 #. type: Plain text
2017 #: debian-trixie debian-unstable
2018 msgid ""
2019 "Behaves in the same way as B<EVP_DigestInit_ex2()> except it doesn't set any "
2020 "parameters and calls B<EVP_MD_CTX_reset()> so it cannot be used with an "
2021 "I<type> of NULL."
2022 msgstr ""
2023
2024 #. type: Plain text
2025 #: debian-trixie debian-unstable
2026 msgid ""
2027 "Returns 1 if I<md> is an implementation of an algorithm that's identifiable "
2028 "with I<name>, otherwise 0."
2029 msgstr ""
2030
2031 #. type: Plain text
2032 #: debian-trixie debian-unstable
2033 msgid ""
2034 "If I<md> is a legacy digest (it's the return value from the likes of "
2035 "\\&B<EVP_sha256()> rather than the result of an B<EVP_MD_fetch()>), only "
2036 "cipher names registered with the default library context (see "
2037 "\\&B<OSSL_LIB_CTX>\\|(3)) will be considered."
2038 msgstr ""
2039
2040 #. type: Plain text
2041 #: debian-trixie debian-unstable
2042 msgid ""
2043 "Return the name of the given message digest. For fetched message digests "
2044 "with multiple names, only one of them is returned; it's recommended to use "
2045 "B<EVP_MD_names_do_all()> instead."
2046 msgstr ""