Debian Codegraph @

templates/man3/EVP_EncryptInit.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_EncryptInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: EVP_EncryptInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: EVP_EncryptInit.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: EVP_EncryptInit.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_ENCRYPTINIT 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "EVP_ENCRYPTINIT"
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_CIPHER_fetch, EVP_CIPHER_up_ref, EVP_CIPHER_free, EVP_CIPHER_CTX_new, "
79 "EVP_CIPHER_CTX_reset, EVP_CIPHER_CTX_free, EVP_CIPHER_CTX_dup, "
80 "EVP_CIPHER_CTX_copy, EVP_EncryptInit_ex, EVP_EncryptInit_ex2, "
81 "EVP_EncryptUpdate, EVP_EncryptFinal_ex, EVP_DecryptInit_ex, "
82 "EVP_DecryptInit_ex2, EVP_DecryptUpdate, EVP_DecryptFinal_ex, "
83 "EVP_CipherInit_ex, EVP_CipherInit_ex2, EVP_CipherInit_SKEY, "
84 "EVP_CipherUpdate, EVP_CipherFinal_ex, EVP_CIPHER_CTX_set_key_length, "
85 "EVP_CIPHER_CTX_ctrl, EVP_EncryptInit, EVP_EncryptFinal, EVP_DecryptInit, "
86 "EVP_DecryptFinal, EVP_CipherInit, EVP_CipherFinal, EVP_Cipher, "
87 "EVP_CIPHER_can_pipeline, EVP_CipherPipelineEncryptInit, "
88 "EVP_CipherPipelineDecryptInit, EVP_CipherPipelineUpdate, "
89 "EVP_CipherPipelineFinal, EVP_get_cipherbyname, EVP_get_cipherbynid, "
90 "EVP_get_cipherbyobj, EVP_CIPHER_is_a, EVP_CIPHER_get0_name, "
91 "EVP_CIPHER_get0_description, EVP_CIPHER_names_do_all, "
92 "EVP_CIPHER_get0_provider, EVP_CIPHER_get_nid, EVP_CIPHER_get_params, "
93 "EVP_CIPHER_gettable_params, EVP_CIPHER_get_block_size, "
94 "EVP_CIPHER_get_key_length, EVP_CIPHER_get_iv_length, EVP_CIPHER_get_flags, "
95 "EVP_CIPHER_get_mode, EVP_CIPHER_get_type, EVP_CIPHER_CTX_cipher, "
96 "EVP_CIPHER_CTX_get0_cipher, EVP_CIPHER_CTX_get1_cipher, "
97 "EVP_CIPHER_CTX_get0_name, EVP_CIPHER_CTX_get_nid, EVP_CIPHER_CTX_get_params, "
98 "EVP_CIPHER_gettable_ctx_params, EVP_CIPHER_CTX_gettable_params, "
99 "EVP_CIPHER_CTX_set_params, EVP_CIPHER_settable_ctx_params, "
100 "EVP_CIPHER_CTX_settable_params, EVP_CIPHER_CTX_get_block_size, "
101 "EVP_CIPHER_CTX_get_key_length, EVP_CIPHER_CTX_get_iv_length, "
102 "EVP_CIPHER_CTX_get_tag_length, EVP_CIPHER_CTX_flags, "
103 "EVP_CIPHER_CTX_set_flags, EVP_CIPHER_CTX_clear_flags, "
104 "EVP_CIPHER_CTX_test_flags, EVP_CIPHER_CTX_get_type, EVP_CIPHER_CTX_get_mode, "
105 "EVP_CIPHER_CTX_get_num, EVP_CIPHER_CTX_set_num, "
106 "EVP_CIPHER_CTX_is_encrypting, EVP_CIPHER_param_to_asn1, "
107 "EVP_CIPHER_asn1_to_param, EVP_CIPHER_CTX_set_padding, EVP_enc_null, "
108 "EVP_CIPHER_do_all_provided, EVP_CIPHER_nid, EVP_CIPHER_name, "
109 "EVP_CIPHER_block_size, EVP_CIPHER_key_length, EVP_CIPHER_iv_length, "
110 "EVP_CIPHER_flags, EVP_CIPHER_mode, EVP_CIPHER_type, "
111 "EVP_CIPHER_CTX_encrypting, EVP_CIPHER_CTX_nid, EVP_CIPHER_CTX_block_size, "
112 "EVP_CIPHER_CTX_key_length, EVP_CIPHER_CTX_iv_length, "
113 "EVP_CIPHER_CTX_tag_length, EVP_CIPHER_CTX_num, EVP_CIPHER_CTX_type, "
114 "EVP_CIPHER_CTX_mode \\&- EVP cipher routines"
115 msgstr ""
116
117 #. type: IX
118 #: archlinux debian-trixie debian-unstable
119 #, no-wrap
120 msgid "SYNOPSIS"
121 msgstr ""
122
123 #. type: IX
124 #: archlinux debian-trixie debian-unstable
125 #, no-wrap
126 msgid "Header"
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable
131 #, no-wrap
132 msgid ""
133 "\\& #include E<lt>openssl/evp.hE<gt>\n"
134 "\\&\n"
135 "\\& EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,\n"
136 "\\& const char *properties);\n"
137 "\\& int EVP_CIPHER_up_ref(EVP_CIPHER *cipher);\n"
138 "\\& void EVP_CIPHER_free(EVP_CIPHER *cipher);\n"
139 "\\& EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);\n"
140 "\\& int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx);\n"
141 "\\& void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx);\n"
142 "\\& EVP_CIPHER_CTX *EVP_CIPHER_CTX_dup(const EVP_CIPHER_CTX *in);\n"
143 "\\& int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);\n"
144 "\\&\n"
145 "\\& int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
146 "\\& ENGINE *impl, const unsigned char *key, const unsigned char *iv);\n"
147 "\\& int EVP_EncryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
148 "\\& const unsigned char *key, const unsigned char *iv,\n"
149 "\\& const OSSL_PARAM params[]);\n"
150 "\\& int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,\n"
151 "\\& int *outl, const unsigned char *in, int inl);\n"
152 "\\& int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);\n"
153 "\\&\n"
154 "\\& int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
155 "\\& ENGINE *impl, const unsigned char *key, const unsigned char *iv);\n"
156 "\\& int EVP_DecryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
157 "\\& const unsigned char *key, const unsigned char *iv,\n"
158 "\\& const OSSL_PARAM params[]);\n"
159 "\\& int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,\n"
160 "\\& int *outl, const unsigned char *in, int inl);\n"
161 "\\& int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);\n"
162 "\\&\n"
163 "\\& int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
164 "\\& ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc);\n"
165 "\\& int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
166 "\\& const unsigned char *key, const unsigned char *iv,\n"
167 "\\& int enc, const OSSL_PARAM params[]);\n"
168 "\\& int EVP_CipherInit_SKEY(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,\n"
169 "\\& EVP_SKEY *skey, const unsigned char *iv, size_t iv_len,\n"
170 "\\& int enc, const OSSL_PARAM params[]);\n"
171 "\\& int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,\n"
172 "\\& int *outl, const unsigned char *in, int inl);\n"
173 "\\& int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);\n"
174 "\\&\n"
175 "\\& int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
176 "\\& const unsigned char *key, const unsigned char *iv);\n"
177 "\\& int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);\n"
178 "\\&\n"
179 "\\& int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
180 "\\& const unsigned char *key, const unsigned char *iv);\n"
181 "\\& int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);\n"
182 "\\&\n"
183 "\\& int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,\n"
184 "\\& const unsigned char *key, const unsigned char *iv, int enc);\n"
185 "\\& int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);\n"
186 "\\&\n"
187 "\\& int EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,\n"
188 "\\& const unsigned char *in, unsigned int inl);\n"
189 "\\&\n"
190 "\\& int EVP_CIPHER_can_pipeline(const EVP_CIPHER *cipher, int enc);\n"
191 "\\& int EVP_CipherPipelineEncryptInit(EVP_CIPHER_CTX *ctx,\n"
192 "\\& const EVP_CIPHER *cipher,\n"
193 "\\& const unsigned char *key, size_t keylen,\n"
194 "\\& size_t numpipes,\n"
195 "\\& const unsigned char **iv, size_t ivlen);\n"
196 "\\& int EVP_CipherPipelineDecryptInit(EVP_CIPHER_CTX *ctx,\n"
197 "\\& const EVP_CIPHER *cipher,\n"
198 "\\& const unsigned char *key, size_t keylen,\n"
199 "\\& size_t numpipes,\n"
200 "\\& const unsigned char **iv, size_t ivlen);\n"
201 "\\& int EVP_CipherPipelineUpdate(EVP_CIPHER_CTX *ctx,\n"
202 "\\& unsigned char **out, size_t *outl,\n"
203 "\\& const size_t *outsize,\n"
204 "\\& const unsigned char **in, const size_t *inl);\n"
205 "\\& int EVP_CipherPipelineFinal(EVP_CIPHER_CTX *ctx,\n"
206 "\\& unsigned char **outm, size_t *outl,\n"
207 "\\& const size_t *outsize);\n"
208 "\\&\n"
209 "\\& int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *x, int padding);\n"
210 "\\& int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);\n"
211 "\\& int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int cmd, int p1, void *p2);\n"
212 "\\& int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);\n"
213 "\\& void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags);\n"
214 "\\& void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags);\n"
215 "\\& int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags);\n"
216 "\\&\n"
217 "\\& const EVP_CIPHER *EVP_get_cipherbyname(const char *name);\n"
218 "\\& const EVP_CIPHER *EVP_get_cipherbynid(int nid);\n"
219 "\\& const EVP_CIPHER *EVP_get_cipherbyobj(const ASN1_OBJECT *a);\n"
220 "\\&\n"
221 "\\& int EVP_CIPHER_get_nid(const EVP_CIPHER *e);\n"
222 "\\& int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name);\n"
223 "\\& int EVP_CIPHER_names_do_all(const EVP_CIPHER *cipher,\n"
224 "\\& void (*fn)(const char *name, void *data),\n"
225 "\\& void *data);\n"
226 "\\& const char *EVP_CIPHER_get0_name(const EVP_CIPHER *cipher);\n"
227 "\\& const char *EVP_CIPHER_get0_description(const EVP_CIPHER *cipher);\n"
228 "\\& const OSSL_PROVIDER *EVP_CIPHER_get0_provider(const EVP_CIPHER *cipher);\n"
229 "\\& int EVP_CIPHER_get_block_size(const EVP_CIPHER *e);\n"
230 "\\& int EVP_CIPHER_get_key_length(const EVP_CIPHER *e);\n"
231 "\\& int EVP_CIPHER_get_iv_length(const EVP_CIPHER *e);\n"
232 "\\& unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *e);\n"
233 "\\& unsigned long EVP_CIPHER_get_mode(const EVP_CIPHER *e);\n"
234 "\\& int EVP_CIPHER_get_type(const EVP_CIPHER *cipher);\n"
235 "\\&\n"
236 "\\& const EVP_CIPHER *EVP_CIPHER_CTX_get0_cipher(const EVP_CIPHER_CTX *ctx);\n"
237 "\\& EVP_CIPHER *EVP_CIPHER_CTX_get1_cipher(const EVP_CIPHER_CTX *ctx);\n"
238 "\\& int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx);\n"
239 "\\& const char *EVP_CIPHER_CTX_get0_name(const EVP_CIPHER_CTX *ctx);\n"
240 "\\&\n"
241 "\\& int EVP_CIPHER_get_params(EVP_CIPHER *cipher, OSSL_PARAM params[]);\n"
242 "\\& int EVP_CIPHER_CTX_set_params(EVP_CIPHER_CTX *ctx, const OSSL_PARAM params[]);\n"
243 "\\& int EVP_CIPHER_CTX_get_params(EVP_CIPHER_CTX *ctx, OSSL_PARAM params[]);\n"
244 "\\& const OSSL_PARAM *EVP_CIPHER_gettable_params(const EVP_CIPHER *cipher);\n"
245 "\\& const OSSL_PARAM *EVP_CIPHER_settable_ctx_params(const EVP_CIPHER *cipher);\n"
246 "\\& const OSSL_PARAM *EVP_CIPHER_gettable_ctx_params(const EVP_CIPHER *cipher);\n"
247 "\\& const OSSL_PARAM *EVP_CIPHER_CTX_settable_params(EVP_CIPHER_CTX *ctx);\n"
248 "\\& const OSSL_PARAM *EVP_CIPHER_CTX_gettable_params(EVP_CIPHER_CTX *ctx);\n"
249 "\\& int EVP_CIPHER_CTX_get_block_size(const EVP_CIPHER_CTX *ctx);\n"
250 "\\& int EVP_CIPHER_CTX_get_key_length(const EVP_CIPHER_CTX *ctx);\n"
251 "\\& int EVP_CIPHER_CTX_get_iv_length(const EVP_CIPHER_CTX *ctx);\n"
252 "\\& int EVP_CIPHER_CTX_get_tag_length(const EVP_CIPHER_CTX *ctx);\n"
253 "\\& int EVP_CIPHER_CTX_get_type(const EVP_CIPHER_CTX *ctx);\n"
254 "\\& int EVP_CIPHER_CTX_get_mode(const EVP_CIPHER_CTX *ctx);\n"
255 "\\& int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx);\n"
256 "\\& int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num);\n"
257 "\\& int EVP_CIPHER_CTX_is_encrypting(const EVP_CIPHER_CTX *ctx);\n"
258 "\\&\n"
259 "\\& int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);\n"
260 "\\& int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);\n"
261 "\\&\n"
262 "\\& void EVP_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx,\n"
263 "\\& void (*fn)(EVP_CIPHER *cipher, void *arg),\n"
264 "\\& void *arg);\n"
265 "\\&\n"
266 "\\& #define EVP_CIPHER_nid EVP_CIPHER_get_nid\n"
267 "\\& #define EVP_CIPHER_name EVP_CIPHER_get0_name\n"
268 "\\& #define EVP_CIPHER_block_size EVP_CIPHER_get_block_size\n"
269 "\\& #define EVP_CIPHER_key_length EVP_CIPHER_get_key_length\n"
270 "\\& #define EVP_CIPHER_iv_length EVP_CIPHER_get_iv_length\n"
271 "\\& #define EVP_CIPHER_flags EVP_CIPHER_get_flags\n"
272 "\\& #define EVP_CIPHER_mode EVP_CIPHER_get_mode\n"
273 "\\& #define EVP_CIPHER_type EVP_CIPHER_get_type\n"
274 "\\& #define EVP_CIPHER_CTX_encrypting EVP_CIPHER_CTX_is_encrypting\n"
275 "\\& #define EVP_CIPHER_CTX_nid EVP_CIPHER_CTX_get_nid\n"
276 "\\& #define EVP_CIPHER_CTX_block_size EVP_CIPHER_CTX_get_block_size\n"
277 "\\& #define EVP_CIPHER_CTX_key_length EVP_CIPHER_CTX_get_key_length\n"
278 "\\& #define EVP_CIPHER_CTX_iv_length EVP_CIPHER_CTX_get_iv_length\n"
279 "\\& #define EVP_CIPHER_CTX_tag_length EVP_CIPHER_CTX_get_tag_length\n"
280 "\\& #define EVP_CIPHER_CTX_num EVP_CIPHER_CTX_get_num\n"
281 "\\& #define EVP_CIPHER_CTX_type EVP_CIPHER_CTX_get_type\n"
282 "\\& #define EVP_CIPHER_CTX_mode EVP_CIPHER_CTX_get_mode\n"
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable
287 msgid ""
288 "The following function has been deprecated since OpenSSL 3.0, and can be "
289 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
290 "value, see B<openssl_user_macros>\\|(7):"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable
295 #, no-wrap
296 msgid "\\& const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);\n"
297 msgstr ""
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable
301 msgid ""
302 "The following function has been deprecated since OpenSSL 1.1.0, and can be "
303 "hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version "
304 "value, see B<openssl_user_macros>\\|(7):"
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable
309 #, no-wrap
310 msgid "\\& int EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx);\n"
311 msgstr ""
312
313 #. type: IX
314 #: archlinux debian-trixie debian-unstable
315 #, no-wrap
316 msgid "DESCRIPTION"
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable
321 msgid ""
322 "The EVP cipher routines are a high-level interface to certain symmetric "
323 "ciphers."
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable
328 msgid "The B<EVP_CIPHER> type is a structure for cipher method implementation."
329 msgstr ""
330
331 #. type: IP
332 #: archlinux debian-trixie debian-unstable
333 #, no-wrap
334 msgid "B<EVP_CIPHER_fetch()>"
335 msgstr ""
336
337 #. type: IX
338 #: archlinux debian-trixie debian-unstable
339 #, no-wrap
340 msgid "Item"
341 msgstr ""
342
343 #. type: IX
344 #: archlinux debian-trixie debian-unstable
345 #, no-wrap
346 msgid "EVP_CIPHER_fetch()"
347 msgstr ""
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable
351 msgid ""
352 "Fetches the cipher implementation for the given I<algorithm> from any "
353 "provider offering it, within the criteria given by the I<properties>. See "
354 "\"ALGORITHM FETCHING\" in B<crypto>\\|(7) for further information."
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable
359 msgid "The returned value must eventually be freed with B<EVP_CIPHER_free()>."
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable
364 msgid "Fetched B<EVP_CIPHER> structures are reference counted."
365 msgstr ""
366
367 #. type: IP
368 #: archlinux debian-trixie debian-unstable
369 #, no-wrap
370 msgid "B<EVP_CIPHER_up_ref()>"
371 msgstr ""
372
373 #. type: IX
374 #: archlinux debian-trixie debian-unstable
375 #, no-wrap
376 msgid "EVP_CIPHER_up_ref()"
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable
381 msgid "Increments the reference count for an B<EVP_CIPHER> structure."
382 msgstr ""
383
384 #. type: IP
385 #: archlinux debian-trixie debian-unstable
386 #, no-wrap
387 msgid "B<EVP_CIPHER_free()>"
388 msgstr ""
389
390 #. type: IX
391 #: archlinux debian-trixie debian-unstable
392 #, no-wrap
393 msgid "EVP_CIPHER_free()"
394 msgstr ""
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable
398 msgid ""
399 "Decrements the reference count for the fetched B<EVP_CIPHER> structure. If "
400 "the reference count drops to 0 then the structure is freed. If the argument "
401 "is NULL, nothing is done."
402 msgstr ""
403
404 #. type: IP
405 #: archlinux debian-trixie debian-unstable
406 #, no-wrap
407 msgid "B<EVP_CIPHER_CTX_new()>"
408 msgstr ""
409
410 #. type: IX
411 #: archlinux debian-trixie debian-unstable
412 #, no-wrap
413 msgid "EVP_CIPHER_CTX_new()"
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable
418 msgid "Allocates and returns a cipher context."
419 msgstr ""
420
421 #. type: IP
422 #: archlinux debian-trixie debian-unstable
423 #, no-wrap
424 msgid "B<EVP_CIPHER_CTX_free()>"
425 msgstr ""
426
427 #. type: IX
428 #: archlinux debian-trixie debian-unstable
429 #, no-wrap
430 msgid "EVP_CIPHER_CTX_free()"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable
435 msgid ""
436 "Clears all information from a cipher context and frees any allocated memory "
437 "associated with it, including I<ctx> itself. This function should be called "
438 "after all operations using a cipher are complete so sensitive information "
439 "does not remain in memory. If the argument is NULL, nothing is done."
440 msgstr ""
441
442 #. type: IP
443 #: archlinux debian-trixie debian-unstable
444 #, no-wrap
445 msgid "B<EVP_CIPHER_CTX_dup()>"
446 msgstr ""
447
448 #. type: IX
449 #: archlinux debian-trixie debian-unstable
450 #, no-wrap
451 msgid "EVP_CIPHER_CTX_dup()"
452 msgstr ""
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable
456 msgid ""
457 "Can be used to duplicate the cipher state from I<in>. This is useful to "
458 "avoid multiple B<EVP_CIPHER_fetch()> calls or if large amounts of data are "
459 "to be fed which only differ in the last few bytes."
460 msgstr ""
461
462 #. type: IP
463 #: archlinux debian-trixie debian-unstable
464 #, no-wrap
465 msgid "B<EVP_CIPHER_CTX_copy()>"
466 msgstr ""
467
468 #. type: IX
469 #: archlinux debian-trixie debian-unstable
470 #, no-wrap
471 msgid "EVP_CIPHER_CTX_copy()"
472 msgstr ""
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable
476 msgid "Can be used to copy the cipher state from I<in> to I<out>."
477 msgstr ""
478
479 #. type: IP
480 #: archlinux debian-trixie debian-unstable
481 #, no-wrap
482 msgid "B<EVP_CIPHER_CTX_ctrl()>"
483 msgstr ""
484
485 #. type: IX
486 #: archlinux debian-trixie debian-unstable
487 #, no-wrap
488 msgid "EVP_CIPHER_CTX_ctrl()"
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable
493 msgid ""
494 "\\&I<This is a legacy method.> B<EVP_CIPHER_CTX_set_params()> and "
495 "\\&B<EVP_CIPHER_CTX_get_params()> is the mechanism that should be used to "
496 "set and get parameters that are used by providers."
497 msgstr ""
498
499 #. type: Plain text
500 #: archlinux debian-trixie debian-unstable
501 msgid ""
502 "Performs cipher-specific control actions on context I<ctx>. The control "
503 "command is indicated in I<cmd> and any additional arguments in I<p1> and "
504 "I<p2>. \\&B<EVP_CIPHER_CTX_ctrl()> must be called after "
505 "B<EVP_CipherInit_ex2()>. Other restrictions may apply depending on the "
506 "control type and cipher implementation."
507 msgstr ""
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable
511 msgid ""
512 "If this function happens to be used with a fetched B<EVP_CIPHER>, it will "
513 "translate the controls that are known to OpenSSL into B<OSSL_PARAM>\\|(3) "
514 "parameters with keys defined by OpenSSL and call "
515 "B<EVP_CIPHER_CTX_get_params()> or \\&B<EVP_CIPHER_CTX_set_params()> as is "
516 "appropriate for each control command."
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable
521 msgid ""
522 "See \"CONTROLS\" below for more information, including what translations are "
523 "being done."
524 msgstr ""
525
526 #. type: IP
527 #: archlinux debian-trixie debian-unstable
528 #, no-wrap
529 msgid "B<EVP_CIPHER_get_params()>"
530 msgstr ""
531
532 #. type: IX
533 #: archlinux debian-trixie debian-unstable
534 #, no-wrap
535 msgid "EVP_CIPHER_get_params()"
536 msgstr ""
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable
540 msgid ""
541 "Retrieves the requested list of algorithm I<params> from a CIPHER "
542 "I<cipher>. See \"PARAMETERS\" below for more information."
543 msgstr ""
544
545 #. type: IP
546 #: archlinux debian-trixie debian-unstable
547 #, no-wrap
548 msgid "B<EVP_CIPHER_CTX_get_params()>"
549 msgstr ""
550
551 #. type: IX
552 #: archlinux debian-trixie debian-unstable
553 #, no-wrap
554 msgid "EVP_CIPHER_CTX_get_params()"
555 msgstr ""
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable
559 msgid ""
560 "Retrieves the requested list of I<params> from CIPHER context I<ctx>. See "
561 "\"PARAMETERS\" below for more information."
562 msgstr ""
563
564 #. type: IP
565 #: archlinux debian-trixie debian-unstable
566 #, no-wrap
567 msgid "B<EVP_CIPHER_CTX_set_params()>"
568 msgstr ""
569
570 #. type: IX
571 #: archlinux debian-trixie debian-unstable
572 #, no-wrap
573 msgid "EVP_CIPHER_CTX_set_params()"
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable
578 msgid ""
579 "Sets the list of I<params> into a CIPHER context I<ctx>. See \"PARAMETERS\" "
580 "below for more information."
581 msgstr ""
582
583 #. type: IP
584 #: archlinux debian-trixie debian-unstable
585 #, no-wrap
586 msgid "B<EVP_CIPHER_gettable_params()>"
587 msgstr ""
588
589 #. type: IX
590 #: archlinux debian-trixie debian-unstable
591 #, no-wrap
592 msgid "EVP_CIPHER_gettable_params()"
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable
597 msgid ""
598 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
599 "parameters that can be used with B<EVP_CIPHER_get_params()>."
600 msgstr ""
601
602 #. type: IP
603 #: archlinux debian-trixie debian-unstable
604 #, no-wrap
605 msgid "B<EVP_CIPHER_gettable_ctx_params()> and B<EVP_CIPHER_CTX_gettable_params()>"
606 msgstr ""
607
608 #. type: IX
609 #: archlinux debian-trixie debian-unstable
610 #, no-wrap
611 msgid "EVP_CIPHER_gettable_ctx_params() and EVP_CIPHER_CTX_gettable_params()"
612 msgstr ""
613
614 #. type: Plain text
615 #: archlinux
616 msgid ""
617 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
618 "parameters that can be used with B<EVP_CIPHER_CTX_get_params()>. "
619 "\\&B<EVP_CIPHER_gettable_ctx_params()> returns the parameters that can be "
620 "retrieved from the algorithm, whereas B<EVP_CIPHER_CTX_gettable_params()> "
621 "returns the parameters that can be retrieved in the context\\*(Aqs current "
622 "state."
623 msgstr ""
624
625 #. type: IP
626 #: archlinux debian-trixie debian-unstable
627 #, no-wrap
628 msgid "B<EVP_CIPHER_settable_ctx_params()> and B<EVP_CIPHER_CTX_settable_params()>"
629 msgstr ""
630
631 #. type: IX
632 #: archlinux debian-trixie debian-unstable
633 #, no-wrap
634 msgid "EVP_CIPHER_settable_ctx_params() and EVP_CIPHER_CTX_settable_params()"
635 msgstr ""
636
637 #. type: Plain text
638 #: archlinux
639 msgid ""
640 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the settable "
641 "parameters that can be used with B<EVP_CIPHER_CTX_set_params()>. "
642 "\\&B<EVP_CIPHER_settable_ctx_params()> returns the parameters that can be "
643 "set from the algorithm, whereas B<EVP_CIPHER_CTX_settable_params()> returns "
644 "the parameters that can be set in the context\\*(Aqs current state."
645 msgstr ""
646
647 #. type: IP
648 #: archlinux debian-trixie debian-unstable
649 #, no-wrap
650 msgid "B<EVP_EncryptInit_ex2()>"
651 msgstr ""
652
653 #. type: IX
654 #: archlinux debian-trixie debian-unstable
655 #, no-wrap
656 msgid "EVP_EncryptInit_ex2()"
657 msgstr ""
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable
661 msgid ""
662 "Sets up cipher context I<ctx> for encryption with cipher I<type>. I<ctx> "
663 "B<MUST NOT> be NULL. \\&I<type> is typically supplied by calling "
664 "B<EVP_CIPHER_fetch()>. I<type> may also be set using legacy functions such "
665 "as B<EVP_aes_256_cbc()>, but this is not recommended for new applications. "
666 "I<key> is the symmetric key to use and I<iv> is the IV to use (if "
667 "necessary), the actual number of bytes used for the key and IV depends on "
668 "the cipher. The parameters I<params> will be set on the context after "
669 "initialisation. It is possible to set all parameters to NULL except I<type> "
670 "in an initial call and supply the remaining parameters in subsequent calls, "
671 "all of which have I<type> set to NULL. This is done when the default cipher "
672 "parameters are not appropriate. For B<EVP_CIPH_GCM_MODE> the IV will be "
673 "generated internally if it is not specified."
674 msgstr ""
675
676 #. type: IP
677 #: archlinux debian-trixie debian-unstable
678 #, no-wrap
679 msgid "B<EVP_EncryptInit_ex()>"
680 msgstr ""
681
682 #. type: IX
683 #: archlinux debian-trixie debian-unstable
684 #, no-wrap
685 msgid "EVP_EncryptInit_ex()"
686 msgstr ""
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable
690 msgid ""
691 "This legacy function is similar to B<EVP_EncryptInit_ex2()> when I<impl> is "
692 "NULL. The implementation of the I<type> from the I<impl> engine will be "
693 "used if it exists."
694 msgstr ""
695
696 #. type: IP
697 #: archlinux debian-trixie debian-unstable
698 #, no-wrap
699 msgid "B<EVP_EncryptUpdate()>"
700 msgstr ""
701
702 #. type: IX
703 #: archlinux debian-trixie debian-unstable
704 #, no-wrap
705 msgid "EVP_EncryptUpdate()"
706 msgstr ""
707
708 #. type: Plain text
709 #: archlinux debian-trixie debian-unstable
710 msgid ""
711 "Encrypts I<inl> bytes from the buffer I<in> and writes the encrypted version "
712 "to \\&I<out>. The pointers I<out> and I<in> may point to the same location, "
713 "in which case the encryption will be done in-place. However, in-place "
714 "encryption is guaranteed to work only if the encryption context (I<ctx>) has "
715 "processed data in multiples of the block size. If the context contains an "
716 "incomplete data block from previous operations, in-place encryption will "
717 "fail. I<ctx> B<MUST NOT> be NULL."
718 msgstr ""
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable
722 msgid ""
723 "If I<out> and I<in> point to different locations, the two buffers must be "
724 "disjoint, otherwise the operation might fail or the outcome might be "
725 "undefined."
726 msgstr ""
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable
730 msgid ""
731 "This function can be called multiple times to encrypt successive blocks of "
732 "data. The amount of data written depends on the block alignment of the "
733 "encrypted data. For most ciphers and modes, the amount of data written can "
734 "be anything from zero bytes to (inl + cipher_block_size - 1) bytes. For "
735 "wrap cipher modes, the amount of data written can be anything from zero "
736 "bytes to (inl + cipher_block_size) bytes. For stream ciphers, the amount of "
737 "data written can be anything from zero bytes to inl bytes. Thus, the buffer "
738 "pointed to by I<out> must contain sufficient room for the operation being "
739 "performed. The actual number of bytes written is placed in I<outl>."
740 msgstr ""
741
742 #. type: Plain text
743 #: archlinux debian-trixie debian-unstable
744 msgid ""
745 "If padding is enabled (the default) then B<EVP_EncryptFinal_ex()> encrypts "
746 "the \"final\" data, that is any data that remains in a partial block. It "
747 "uses standard block padding (aka PKCS padding) as described in the NOTES "
748 "section, below. The encrypted final data is written to I<out> which should "
749 "have sufficient space for one cipher block. The number of bytes written is "
750 "placed in I<outl>. After this function is called the encryption operation is "
751 "finished and no further calls to B<EVP_EncryptUpdate()> should be made."
752 msgstr ""
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable
756 msgid ""
757 "If padding is disabled then B<EVP_EncryptFinal_ex()> will not encrypt any "
758 "more data and it will return an error if any data remains in a partial "
759 "block: that is if the total data length is not a multiple of the block size."
760 msgstr ""
761
762 #. type: IP
763 #: archlinux debian-trixie debian-unstable
764 #, no-wrap
765 msgid "B<EVP_DecryptInit_ex2()>, B<EVP_DecryptInit_ex()>, B<EVP_DecryptUpdate()> and B<EVP_DecryptFinal_ex()>"
766 msgstr ""
767
768 #. type: IX
769 #: archlinux debian-trixie debian-unstable
770 #, no-wrap
771 msgid "EVP_DecryptInit_ex2(), EVP_DecryptInit_ex(), EVP_DecryptUpdate() and EVP_DecryptFinal_ex()"
772 msgstr ""
773
774 #. type: Plain text
775 #: archlinux debian-trixie debian-unstable
776 msgid ""
777 "These functions are the corresponding decryption operations. "
778 "\\&B<EVP_DecryptFinal()> will return an error code if padding is enabled and "
779 "the final block is not correctly formatted. The parameters and restrictions "
780 "are identical to the encryption operations. I<ctx> B<MUST NOT> be NULL."
781 msgstr ""
782
783 #. type: IP
784 #: archlinux debian-trixie debian-unstable
785 #, no-wrap
786 msgid "B<EVP_CipherInit_ex2()>, B<EVP_CipherInit_ex()>, B<EVP_CipherUpdate()> and B<EVP_CipherFinal_ex()>"
787 msgstr ""
788
789 #. type: IX
790 #: archlinux debian-trixie debian-unstable
791 #, no-wrap
792 msgid "EVP_CipherInit_ex2(), EVP_CipherInit_ex(), EVP_CipherUpdate() and EVP_CipherFinal_ex()"
793 msgstr ""
794
795 #. type: Plain text
796 #: archlinux
797 msgid ""
798 "These functions can be used for decryption or encryption. The operation "
799 "performed depends on the value of the I<enc> parameter. It should be set to "
800 "1 for encryption, 0 for decryption and -1 to leave the value unchanged (the "
801 "actual value of \\*(Aqenc\\*(Aq being supplied in a previous call)."
802 msgstr ""
803
804 #. type: IP
805 #: archlinux debian-trixie debian-unstable
806 #, no-wrap
807 msgid "B<EVP_CipherInit_SKEY()>"
808 msgstr ""
809
810 #. type: IX
811 #: archlinux debian-trixie debian-unstable
812 #, no-wrap
813 msgid "EVP_CipherInit_SKEY()"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable
818 msgid ""
819 "This function is similar to B<EVP_CipherInit_ex2()> but accepts a symmetric "
820 "key object of type I<EVP_SKEY> as a key."
821 msgstr ""
822
823 #. type: IP
824 #: archlinux debian-trixie debian-unstable
825 #, no-wrap
826 msgid "B<EVP_CIPHER_CTX_reset()>"
827 msgstr ""
828
829 #. type: IX
830 #: archlinux debian-trixie debian-unstable
831 #, no-wrap
832 msgid "EVP_CIPHER_CTX_reset()"
833 msgstr ""
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable
837 msgid ""
838 "Clears all information from a cipher context and free up any allocated "
839 "memory associated with it, except the I<ctx> itself. This function should be "
840 "called anytime I<ctx> is reused by another \\&B<EVP_CipherInit()> / "
841 "B<EVP_CipherUpdate()> / B<EVP_CipherFinal()> series of calls."
842 msgstr ""
843
844 #. type: IP
845 #: archlinux debian-trixie debian-unstable
846 #, no-wrap
847 msgid "B<EVP_EncryptInit()>, B<EVP_DecryptInit()> and B<EVP_CipherInit()>"
848 msgstr ""
849
850 #. type: IX
851 #: archlinux debian-trixie debian-unstable
852 #, no-wrap
853 msgid "EVP_EncryptInit(), EVP_DecryptInit() and EVP_CipherInit()"
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable
858 msgid ""
859 "Behave in a similar way to B<EVP_EncryptInit_ex()>, B<EVP_DecryptInit_ex()> "
860 "and \\&B<EVP_CipherInit_ex()> except if the I<type> is not a fetched cipher "
861 "they use the default implementation of the I<type>."
862 msgstr ""
863
864 #. type: IP
865 #: archlinux debian-trixie debian-unstable
866 #, no-wrap
867 msgid "B<EVP_EncryptFinal()>, B<EVP_DecryptFinal()> and B<EVP_CipherFinal()>"
868 msgstr ""
869
870 #. type: IX
871 #: archlinux debian-trixie debian-unstable
872 #, no-wrap
873 msgid "EVP_EncryptFinal(), EVP_DecryptFinal() and EVP_CipherFinal()"
874 msgstr ""
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable
878 msgid ""
879 "Identical to B<EVP_EncryptFinal_ex()>, B<EVP_DecryptFinal_ex()> and "
880 "\\&B<EVP_CipherFinal_ex()>. In previous releases they also cleaned up the "
881 "I<ctx>, but this is no longer done and B<EVP_CIPHER_CTX_cleanup()> must be "
882 "called to free any context resources."
883 msgstr ""
884
885 #. type: IP
886 #: archlinux debian-trixie debian-unstable
887 #, no-wrap
888 msgid "B<EVP_Cipher()>"
889 msgstr ""
890
891 #. type: IX
892 #: archlinux debian-trixie debian-unstable
893 #, no-wrap
894 msgid "EVP_Cipher()"
895 msgstr ""
896
897 #. type: Plain text
898 #: archlinux debian-trixie debian-unstable
899 msgid ""
900 "Encrypts or decrypts a maximum I<inl> amount of bytes from I<in> and leaves "
901 "the result in I<out>."
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux
906 msgid ""
907 "For legacy ciphers - If the cipher doesn\\*(Aqt have the flag "
908 "\\&B<EVP_CIPH_FLAG_CUSTOM_CIPHER> set, then I<inl> must be a multiple of "
909 "\\&B<EVP_CIPHER_get_block_size()>. If it isn\\*(Aqt, the result is "
910 "undefined. If the cipher has that flag set, then I<inl> can be any size."
911 msgstr ""
912
913 #. type: Plain text
914 #: archlinux
915 msgid ""
916 "Due to the constraints of the API contract of this function it "
917 "shouldn\\*(Aqt be used in applications, please consider using "
918 "B<EVP_CipherUpdate()> and \\&B<EVP_CipherFinal_ex()> instead."
919 msgstr ""
920
921 #. type: IP
922 #: archlinux debian-trixie debian-unstable
923 #, no-wrap
924 msgid "B<EVP_CIPHER_can_pipeline()>"
925 msgstr ""
926
927 #. type: IX
928 #: archlinux debian-trixie debian-unstable
929 #, no-wrap
930 msgid "EVP_CIPHER_can_pipeline()"
931 msgstr ""
932
933 #. type: Plain text
934 #: archlinux debian-trixie debian-unstable
935 msgid ""
936 "This function checks if a B<EVP_CIPHER> fetched using B<EVP_CIPHER_fetch()> "
937 "supports cipher pipelining. If the cipher supports pipelining, it returns 1, "
938 "otherwise 0. This function will return 0 for non-fetched ciphers such as "
939 "B<EVP_aes_128_gcm()>. There are currently no built-in ciphers that support "
940 "pipelining."
941 msgstr ""
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable
945 msgid ""
946 "Cipher pipelining support allows an application to submit multiple chunks of "
947 "data in one set of B<EVP_CipherUpdate()>/EVP_CipherFinal calls, thereby "
948 "allowing the provided implementation to take advantage of parallel "
949 "computing. This is beneficial for hardware accelerators as pipeline "
950 "amortizes the latency over multiple chunks."
951 msgstr ""
952
953 #. type: Plain text
954 #: archlinux debian-trixie debian-unstable
955 msgid ""
956 "For non-fetched ciphers, B<EVP_CipherPipelineEncryptInit()> or "
957 "\\&B<EVP_CipherPipelineDecryptInit()> may be directly called, which will "
958 "perform a fetch and return an error if a pipeline supported implementation "
959 "is not found."
960 msgstr ""
961
962 #. type: IP
963 #: archlinux debian-trixie debian-unstable
964 #, no-wrap
965 msgid "B<EVP_CipherPipelineEncryptInit()>, B<EVP_CipherPipelineDecryptInit()>, B<EVP_CipherPipelineUpdate()> and B<EVP_CipherPipelineFinal()>"
966 msgstr ""
967
968 #. type: IX
969 #: archlinux debian-trixie debian-unstable
970 #, no-wrap
971 msgid "EVP_CipherPipelineEncryptInit(), EVP_CipherPipelineDecryptInit(), EVP_CipherPipelineUpdate() and EVP_CipherPipelineFinal()"
972 msgstr ""
973
974 #. type: Plain text
975 #: archlinux debian-trixie debian-unstable
976 msgid ""
977 "These functions can be used to perform multiple encryption or decryption "
978 "operations in parallel. B<EVP_CIPHER_can_pipeline()> may be called to check "
979 "if the cipher supports pipelining. These functions are analogous to "
980 "\\&B<EVP_EncryptInit_ex2()>, B<EVP_DecryptInit_ex2()>, B<EVP_CipherUpdate()> "
981 "and \\&B<EVP_CipherFinal()> but take an array of pointers for iv, input and "
982 "output buffers."
983 msgstr ""
984
985 #. type: Plain text
986 #: archlinux debian-trixie debian-unstable
987 msgid ""
988 "The I<key>, of length I<keylen>, is the symmetric key to use. The "
989 "I<numpipes> parameter specifies the number of parallel operations to "
990 "perform. The \\&I<numpipes> cannot exceed B<EVP_MAX_PIPES>. The I<iv> "
991 "parameter is an array of buffer pointers, containing IVs. The array size "
992 "must be equal to I<numpipes>. The size of each IV buffer must be equal to "
993 "I<ivlen>. When IV is not provided, \\&I<iv> must be NULL, rather than an "
994 "array of NULL pointers. The I<in> parameters takes an array of buffer "
995 "pointers, each pointing to a buffer containing the input data. The buffers "
996 "can be of different sizes. The I<inl> parameter is an array of size_t, each "
997 "specifying the size of the corresponding input buffer. The I<out> and "
998 "I<outm> parameters are arrays of buffer pointers, each pointing to a buffer "
999 "where the output data will be written. The I<outsize> parameter is an array "
1000 "of size_t, each specifying the size of the corresponding output buffer. The "
1001 "I<outl> parameter is an array of size_t which will be updated with the size "
1002 "of the output data written to the corresponding output buffer. For size "
1003 "requirement of the output buffers, see the description of "
1004 "B<EVP_CipherUpdate()>."
1005 msgstr ""
1006
1007 #. type: Plain text
1008 #: archlinux debian-trixie debian-unstable
1009 msgid ""
1010 "The B<EVP_CipherPipelineUpdate()> function can be called multiple times to "
1011 "encrypt successive blocks of data. For AAD data, the I<out>, and I<outsize> "
1012 "parameter should be NULL, rather than an array of NULL pointers."
1013 msgstr ""
1014
1015 #. type: IP
1016 #: archlinux debian-trixie debian-unstable
1017 #, no-wrap
1018 msgid "B<EVP_get_cipherbyname()>, B<EVP_get_cipherbynid()> and B<EVP_get_cipherbyobj()>"
1019 msgstr ""
1020
1021 #. type: IX
1022 #: archlinux debian-trixie debian-unstable
1023 #, no-wrap
1024 msgid "EVP_get_cipherbyname(), EVP_get_cipherbynid() and EVP_get_cipherbyobj()"
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie debian-unstable
1029 msgid ""
1030 "Returns an B<EVP_CIPHER> structure when passed a cipher name, a cipher "
1031 "B<NID> or an B<ASN1_OBJECT> structure respectively."
1032 msgstr ""
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable
1036 msgid ""
1037 "\\&B<EVP_get_cipherbyname()> will return NULL for algorithms such as "
1038 "\"AES-128-SIV\", \"AES-128-CBC-CTS\" and \"CAMELLIA-128-CBC-CTS\" which were "
1039 "previously only accessible via low level interfaces."
1040 msgstr ""
1041
1042 #. type: Plain text
1043 #: archlinux debian-trixie debian-unstable
1044 msgid ""
1045 "The B<EVP_get_cipherbyname()> function is present for backwards "
1046 "compatibility with OpenSSL prior to version 3 and is different to the "
1047 "B<EVP_CIPHER_fetch()> function since it does not attempt to \"fetch\" an "
1048 "implementation of the cipher. Additionally, it only knows about ciphers "
1049 "that are built-in to OpenSSL and have an associated NID. Similarly "
1050 "B<EVP_get_cipherbynid()> and B<EVP_get_cipherbyobj()> also return objects "
1051 "without an associated implementation."
1052 msgstr ""
1053
1054 #. type: Plain text
1055 #: archlinux debian-trixie debian-unstable
1056 msgid ""
1057 "When the cipher objects returned by these functions are used (such as in a "
1058 "call to B<EVP_EncryptInit_ex()>) an implementation of the cipher will be "
1059 "implicitly fetched from the loaded providers. This fetch could fail if no "
1060 "suitable implementation is available. Use B<EVP_CIPHER_fetch()> instead to "
1061 "explicitly fetch the algorithm and an associated implementation from a "
1062 "provider."
1063 msgstr ""
1064
1065 #. type: Plain text
1066 #: archlinux debian-trixie debian-unstable
1067 msgid ""
1068 "See \"ALGORITHM FETCHING\" in B<crypto>\\|(7) for more information about "
1069 "fetching."
1070 msgstr ""
1071
1072 #. type: Plain text
1073 #: archlinux debian-trixie debian-unstable
1074 msgid ""
1075 "The cipher objects returned from these functions do not need to be freed "
1076 "with \\&B<EVP_CIPHER_free()>."
1077 msgstr ""
1078
1079 #. type: IP
1080 #: archlinux debian-trixie debian-unstable
1081 #, no-wrap
1082 msgid "B<EVP_CIPHER_get_nid()> and B<EVP_CIPHER_CTX_get_nid()>"
1083 msgstr ""
1084
1085 #. type: IX
1086 #: archlinux debian-trixie debian-unstable
1087 #, no-wrap
1088 msgid "EVP_CIPHER_get_nid() and EVP_CIPHER_CTX_get_nid()"
1089 msgstr ""
1090
1091 #. type: Plain text
1092 #: archlinux debian-trixie debian-unstable
1093 msgid ""
1094 "Return the NID of a cipher when passed an B<EVP_CIPHER> or B<EVP_CIPHER_CTX> "
1095 "structure. The actual NID value is an internal value which may not have a "
1096 "corresponding OBJECT IDENTIFIER. NID_undef is returned in the event that "
1097 "the nid is unknown or if the cipher has not been properly initialized via a "
1098 "call to \\&B<EVP_CipherInit>."
1099 msgstr ""
1100
1101 #. type: IP
1102 #: archlinux debian-trixie debian-unstable
1103 #, no-wrap
1104 msgid "B<EVP_CIPHER_CTX_set_flags()>, B<EVP_CIPHER_CTX_clear_flags()> and B<EVP_CIPHER_CTX_test_flags()>"
1105 msgstr ""
1106
1107 #. type: IX
1108 #: archlinux debian-trixie debian-unstable
1109 #, no-wrap
1110 msgid "EVP_CIPHER_CTX_set_flags(), EVP_CIPHER_CTX_clear_flags() and EVP_CIPHER_CTX_test_flags()"
1111 msgstr ""
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable
1115 msgid ""
1116 "Sets, clears and tests I<ctx> flags. See \"FLAGS\" below for more "
1117 "information."
1118 msgstr ""
1119
1120 #. type: Plain text
1121 #: archlinux debian-trixie debian-unstable
1122 msgid ""
1123 "For provided ciphers B<EVP_CIPHER_CTX_set_flags()> should be called only "
1124 "after the fetched cipher has been assigned to the I<ctx>. It is recommended "
1125 "to use \"PARAMETERS\" instead."
1126 msgstr ""
1127
1128 #. type: IP
1129 #: archlinux debian-trixie debian-unstable
1130 #, no-wrap
1131 msgid "B<EVP_CIPHER_CTX_set_padding()>"
1132 msgstr ""
1133
1134 #. type: IX
1135 #: archlinux debian-trixie debian-unstable
1136 #, no-wrap
1137 msgid "EVP_CIPHER_CTX_set_padding()"
1138 msgstr ""
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable
1142 msgid ""
1143 "Enables or disables padding. This function should be called after the "
1144 "context is set up for encryption or decryption with "
1145 "B<EVP_EncryptInit_ex2()>, \\&B<EVP_DecryptInit_ex2()>, "
1146 "B<EVP_CipherInit_ex2()>, or B<EVP_CipherInit_SKEY()>. By default encryption "
1147 "operations are padded using standard block padding and the padding is "
1148 "checked and removed when decrypting. If the I<pad> parameter is zero then no "
1149 "padding is performed, the total amount of data encrypted or decrypted must "
1150 "then be a multiple of the block size or an error will occur. I<x> B<MUST "
1151 "NOT> be NULL."
1152 msgstr ""
1153
1154 #. type: IP
1155 #: archlinux debian-trixie debian-unstable
1156 #, no-wrap
1157 msgid "B<EVP_CIPHER_get_key_length()> and B<EVP_CIPHER_CTX_get_key_length()>"
1158 msgstr ""
1159
1160 #. type: IX
1161 #: archlinux debian-trixie debian-unstable
1162 #, no-wrap
1163 msgid "EVP_CIPHER_get_key_length() and EVP_CIPHER_CTX_get_key_length()"
1164 msgstr ""
1165
1166 #. type: Plain text
1167 #: archlinux debian-trixie debian-unstable
1168 msgid ""
1169 "Return the key length of a cipher when passed an B<EVP_CIPHER> or "
1170 "\\&B<EVP_CIPHER_CTX> structure. The constant B<EVP_MAX_KEY_LENGTH> is the "
1171 "maximum key length for all ciphers. Note: although "
1172 "B<EVP_CIPHER_get_key_length()> is fixed for a given cipher, the value of "
1173 "B<EVP_CIPHER_CTX_get_key_length()> may be different for variable key length "
1174 "ciphers."
1175 msgstr ""
1176
1177 #. type: IP
1178 #: archlinux debian-trixie debian-unstable
1179 #, no-wrap
1180 msgid "B<EVP_CIPHER_CTX_set_key_length()>"
1181 msgstr ""
1182
1183 #. type: IX
1184 #: archlinux debian-trixie debian-unstable
1185 #, no-wrap
1186 msgid "EVP_CIPHER_CTX_set_key_length()"
1187 msgstr ""
1188
1189 #. type: Plain text
1190 #: archlinux debian-trixie debian-unstable
1191 msgid ""
1192 "Sets the key length of the cipher context. If the cipher is a fixed length "
1193 "cipher then attempting to set the key length to any value other than the "
1194 "fixed value is an error."
1195 msgstr ""
1196
1197 #. type: IP
1198 #: archlinux debian-trixie debian-unstable
1199 #, no-wrap
1200 msgid "B<EVP_CIPHER_get_iv_length()> and B<EVP_CIPHER_CTX_get_iv_length()>"
1201 msgstr ""
1202
1203 #. type: IX
1204 #: archlinux debian-trixie debian-unstable
1205 #, no-wrap
1206 msgid "EVP_CIPHER_get_iv_length() and EVP_CIPHER_CTX_get_iv_length()"
1207 msgstr ""
1208
1209 #. type: Plain text
1210 #: archlinux debian-trixie debian-unstable
1211 msgid ""
1212 "Return the IV length of a cipher when passed an B<EVP_CIPHER> or "
1213 "\\&B<EVP_CIPHER_CTX>. It will return zero if the cipher does not use an IV, "
1214 "if the cipher has not yet been initialized within the B<EVP_CIPHER_CTX>, or "
1215 "if the passed cipher is NULL. The constant B<EVP_MAX_IV_LENGTH> is the "
1216 "maximum IV length for all ciphers."
1217 msgstr ""
1218
1219 #. type: IP
1220 #: archlinux debian-trixie debian-unstable
1221 #, no-wrap
1222 msgid "B<EVP_CIPHER_CTX_get_tag_length()>"
1223 msgstr ""
1224
1225 #. type: IX
1226 #: archlinux debian-trixie debian-unstable
1227 #, no-wrap
1228 msgid "EVP_CIPHER_CTX_get_tag_length()"
1229 msgstr ""
1230
1231 #. type: Plain text
1232 #: archlinux debian-trixie debian-unstable
1233 msgid ""
1234 "Returns the tag length of an AEAD cipher when passed a B<EVP_CIPHER_CTX>. It "
1235 "will return zero if the cipher does not support a tag. It returns a default "
1236 "value if the tag length has not been set."
1237 msgstr ""
1238
1239 #. type: IP
1240 #: archlinux debian-trixie debian-unstable
1241 #, no-wrap
1242 msgid "B<EVP_CIPHER_get_block_size()> and B<EVP_CIPHER_CTX_get_block_size()>"
1243 msgstr ""
1244
1245 #. type: IX
1246 #: archlinux debian-trixie debian-unstable
1247 #, no-wrap
1248 msgid "EVP_CIPHER_get_block_size() and EVP_CIPHER_CTX_get_block_size()"
1249 msgstr ""
1250
1251 #. type: Plain text
1252 #: archlinux debian-trixie debian-unstable
1253 msgid ""
1254 "Return the block size of a cipher when passed an B<EVP_CIPHER> or "
1255 "\\&B<EVP_CIPHER_CTX> structure. The constant B<EVP_MAX_BLOCK_LENGTH> is also "
1256 "the maximum block length for all ciphers. A value of 0 is returned if, with "
1257 "B<EVP_CIPHER_get_block_size()>, the cipher \\&I<e> is NULL, or, with "
1258 "B<EVP_CIPHER_CTX_get_block_size()>, the context \\&I<ctx> is NULL or has not "
1259 "been properly initialized with a call to \\&B<EVP_CipherInit>."
1260 msgstr ""
1261
1262 #. type: IP
1263 #: archlinux debian-trixie debian-unstable
1264 #, no-wrap
1265 msgid "B<EVP_CIPHER_get_type()> and B<EVP_CIPHER_CTX_get_type()>"
1266 msgstr ""
1267
1268 #. type: IX
1269 #: archlinux debian-trixie debian-unstable
1270 #, no-wrap
1271 msgid "EVP_CIPHER_get_type() and EVP_CIPHER_CTX_get_type()"
1272 msgstr ""
1273
1274 #. type: Plain text
1275 #: archlinux debian-trixie debian-unstable
1276 msgid ""
1277 "Return the type of the passed cipher or context. This \"type\" is the actual "
1278 "NID of the cipher OBJECT IDENTIFIER and as such it ignores the cipher "
1279 "parameters (40 bit RC2 and 128 bit RC2 have the same NID). If the cipher "
1280 "does not have an object identifier or does not have ASN1 support this "
1281 "function will return \\&B<NID_undef>."
1282 msgstr ""
1283
1284 #. type: IP
1285 #: archlinux debian-trixie debian-unstable
1286 #, no-wrap
1287 msgid "B<EVP_CIPHER_is_a()>"
1288 msgstr ""
1289
1290 #. type: IX
1291 #: archlinux debian-trixie debian-unstable
1292 #, no-wrap
1293 msgid "EVP_CIPHER_is_a()"
1294 msgstr ""
1295
1296 #. type: Plain text
1297 #: archlinux
1298 msgid ""
1299 "Returns 1 if I<cipher> is an implementation of an algorithm that\\*(Aqs "
1300 "identifiable with I<name>, otherwise 0. If I<cipher> is a legacy cipher "
1301 "(it\\*(Aqs the return value from the likes of B<EVP_aes128()> rather than "
1302 "the result of an \\&B<EVP_CIPHER_fetch()>), only cipher names registered "
1303 "with the default library context (see B<OSSL_LIB_CTX>\\|(3)) will be "
1304 "considered."
1305 msgstr ""
1306
1307 #. type: IP
1308 #: archlinux debian-trixie debian-unstable
1309 #, no-wrap
1310 msgid "B<EVP_CIPHER_get0_name()> and B<EVP_CIPHER_CTX_get0_name()>"
1311 msgstr ""
1312
1313 #. type: IX
1314 #: archlinux debian-trixie debian-unstable
1315 #, no-wrap
1316 msgid "EVP_CIPHER_get0_name() and EVP_CIPHER_CTX_get0_name()"
1317 msgstr ""
1318
1319 #. type: Plain text
1320 #: archlinux debian-trixie debian-unstable
1321 msgid ""
1322 "Return the name of the passed cipher or context. For fetched ciphers with "
1323 "multiple names, only one of them is returned. See also "
1324 "B<EVP_CIPHER_names_do_all()>. \\&I<cipher> B<MUST NOT> be NULL."
1325 msgstr ""
1326
1327 #. type: IP
1328 #: archlinux debian-trixie debian-unstable
1329 #, no-wrap
1330 msgid "B<EVP_CIPHER_names_do_all()>"
1331 msgstr ""
1332
1333 #. type: IX
1334 #: archlinux debian-trixie debian-unstable
1335 #, no-wrap
1336 msgid "EVP_CIPHER_names_do_all()"
1337 msgstr ""
1338
1339 #. type: Plain text
1340 #: archlinux debian-trixie debian-unstable
1341 msgid ""
1342 "Traverses all names for the I<cipher>, and calls I<fn> with each name and "
1343 "\\&I<data>. This is only useful with fetched B<EVP_CIPHER>s."
1344 msgstr ""
1345
1346 #. type: IP
1347 #: archlinux debian-trixie debian-unstable
1348 #, no-wrap
1349 msgid "B<EVP_CIPHER_get0_description()>"
1350 msgstr ""
1351
1352 #. type: IX
1353 #: archlinux debian-trixie debian-unstable
1354 #, no-wrap
1355 msgid "EVP_CIPHER_get0_description()"
1356 msgstr ""
1357
1358 #. type: Plain text
1359 #: archlinux debian-trixie debian-unstable
1360 msgid ""
1361 "Returns a description of the cipher, meant for display and human "
1362 "consumption. The description is at the discretion of the cipher "
1363 "implementation."
1364 msgstr ""
1365
1366 #. type: IP
1367 #: archlinux debian-trixie debian-unstable
1368 #, no-wrap
1369 msgid "B<EVP_CIPHER_get0_provider()>"
1370 msgstr ""
1371
1372 #. type: IX
1373 #: archlinux debian-trixie debian-unstable
1374 #, no-wrap
1375 msgid "EVP_CIPHER_get0_provider()"
1376 msgstr ""
1377
1378 #. type: Plain text
1379 #: archlinux debian-trixie debian-unstable
1380 msgid ""
1381 "Returns an B<OSSL_PROVIDER> pointer to the provider that implements the "
1382 "given \\&B<EVP_CIPHER>."
1383 msgstr ""
1384
1385 #. type: IP
1386 #: archlinux debian-trixie debian-unstable
1387 #, no-wrap
1388 msgid "B<EVP_CIPHER_CTX_get0_cipher()>"
1389 msgstr ""
1390
1391 #. type: IX
1392 #: archlinux debian-trixie debian-unstable
1393 #, no-wrap
1394 msgid "EVP_CIPHER_CTX_get0_cipher()"
1395 msgstr ""
1396
1397 #. type: Plain text
1398 #: archlinux debian-trixie debian-unstable
1399 msgid ""
1400 "Returns the B<EVP_CIPHER> structure when passed an B<EVP_CIPHER_CTX> "
1401 "structure. \\&B<EVP_CIPHER_CTX_get1_cipher()> is the same except the "
1402 "ownership is passed to the caller. Both functions return NULL on error."
1403 msgstr ""
1404
1405 #. type: IP
1406 #: archlinux debian-trixie debian-unstable
1407 #, no-wrap
1408 msgid "B<EVP_CIPHER_get_mode()> and B<EVP_CIPHER_CTX_get_mode()>"
1409 msgstr ""
1410
1411 #. type: IX
1412 #: archlinux debian-trixie debian-unstable
1413 #, no-wrap
1414 msgid "EVP_CIPHER_get_mode() and EVP_CIPHER_CTX_get_mode()"
1415 msgstr ""
1416
1417 #. type: Plain text
1418 #: archlinux debian-trixie debian-unstable
1419 msgid ""
1420 "Return the block cipher mode: EVP_CIPH_ECB_MODE, EVP_CIPH_CBC_MODE, "
1421 "EVP_CIPH_CFB_MODE, EVP_CIPH_OFB_MODE, EVP_CIPH_CTR_MODE, EVP_CIPH_GCM_MODE, "
1422 "EVP_CIPH_CCM_MODE, EVP_CIPH_XTS_MODE, EVP_CIPH_WRAP_MODE, EVP_CIPH_OCB_MODE "
1423 "or EVP_CIPH_SIV_MODE. If the cipher is a stream cipher then "
1424 "EVP_CIPH_STREAM_CIPHER is returned."
1425 msgstr ""
1426
1427 #. type: IP
1428 #: archlinux debian-trixie debian-unstable
1429 #, no-wrap
1430 msgid "B<EVP_CIPHER_get_flags()>"
1431 msgstr ""
1432
1433 #. type: IX
1434 #: archlinux debian-trixie debian-unstable
1435 #, no-wrap
1436 msgid "EVP_CIPHER_get_flags()"
1437 msgstr ""
1438
1439 #. type: Plain text
1440 #: archlinux debian-trixie debian-unstable
1441 msgid ""
1442 "Returns any flags associated with the cipher. See \"FLAGS\" for a list of "
1443 "currently defined flags."
1444 msgstr ""
1445
1446 #. type: IP
1447 #: archlinux debian-trixie debian-unstable
1448 #, no-wrap
1449 msgid "B<EVP_CIPHER_CTX_get_num()> and B<EVP_CIPHER_CTX_set_num()>"
1450 msgstr ""
1451
1452 #. type: IX
1453 #: archlinux debian-trixie debian-unstable
1454 #, no-wrap
1455 msgid "EVP_CIPHER_CTX_get_num() and EVP_CIPHER_CTX_set_num()"
1456 msgstr ""
1457
1458 #. type: Plain text
1459 #: archlinux debian-trixie debian-unstable
1460 msgid ""
1461 "Gets or sets the cipher specific \"num\" parameter for the associated "
1462 "I<ctx>. Built-in ciphers typically use this to track how much of the "
1463 "current underlying block has been \"used\" already."
1464 msgstr ""
1465
1466 #. type: IP
1467 #: archlinux debian-trixie debian-unstable
1468 #, no-wrap
1469 msgid "B<EVP_CIPHER_CTX_is_encrypting()>"
1470 msgstr ""
1471
1472 #. type: IX
1473 #: archlinux debian-trixie debian-unstable
1474 #, no-wrap
1475 msgid "EVP_CIPHER_CTX_is_encrypting()"
1476 msgstr ""
1477
1478 #. type: Plain text
1479 #: archlinux debian-trixie debian-unstable
1480 msgid "Reports whether the I<ctx> is being used for encryption or decryption."
1481 msgstr ""
1482
1483 #. type: IP
1484 #: archlinux debian-trixie debian-unstable
1485 #, no-wrap
1486 msgid "B<EVP_CIPHER_CTX_flags()>"
1487 msgstr ""
1488
1489 #. type: IX
1490 #: archlinux debian-trixie debian-unstable
1491 #, no-wrap
1492 msgid "EVP_CIPHER_CTX_flags()"
1493 msgstr ""
1494
1495 #. type: Plain text
1496 #: archlinux debian-trixie debian-unstable
1497 msgid ""
1498 "A deprecated macro calling "
1499 "CW<\\*(C`EVP_CIPHER_get_flags(EVP_CIPHER_CTX_get0_cipher(ctx))\\*(C'>. Do "
1500 "not use."
1501 msgstr ""
1502
1503 #. type: IP
1504 #: archlinux debian-trixie debian-unstable
1505 #, no-wrap
1506 msgid "B<EVP_CIPHER_param_to_asn1()>"
1507 msgstr ""
1508
1509 #. type: IX
1510 #: archlinux debian-trixie debian-unstable
1511 #, no-wrap
1512 msgid "EVP_CIPHER_param_to_asn1()"
1513 msgstr ""
1514
1515 #. type: Plain text
1516 #: archlinux debian-trixie debian-unstable
1517 msgid ""
1518 "Sets the AlgorithmIdentifier \"parameter\" based on the passed cipher. This "
1519 "will typically include any parameters and an IV. The cipher IV (if any) must "
1520 "be set when this call is made. This call should be made before the cipher is "
1521 "actually \"used\" (before any B<EVP_EncryptUpdate()>, B<EVP_DecryptUpdate()> "
1522 "calls for example). This function may fail if the cipher does not have any "
1523 "ASN1 support, or if an uninitialized cipher is passed to it."
1524 msgstr ""
1525
1526 #. type: IP
1527 #: archlinux debian-trixie debian-unstable
1528 #, no-wrap
1529 msgid "B<EVP_CIPHER_asn1_to_param()>"
1530 msgstr ""
1531
1532 #. type: IX
1533 #: archlinux debian-trixie debian-unstable
1534 #, no-wrap
1535 msgid "EVP_CIPHER_asn1_to_param()"
1536 msgstr ""
1537
1538 #. type: Plain text
1539 #: archlinux debian-trixie debian-unstable
1540 msgid ""
1541 "Sets the cipher parameters based on an ASN1 AlgorithmIdentifier "
1542 "\"parameter\". The precise effect depends on the cipher. In the case of "
1543 "B<RC2>, for example, it will set the IV and effective key length. This "
1544 "function should be called after the base cipher type is set but before the "
1545 "key is set. For example B<EVP_CipherInit()> will be called with the IV and "
1546 "key set to NULL, B<EVP_CIPHER_asn1_to_param()> will be called and finally "
1547 "\\&B<EVP_CipherInit()> again with all parameters except the key set to NULL. "
1548 "It is possible for this function to fail if the cipher does not have any "
1549 "ASN1 support or the parameters cannot be set (for example the RC2 effective "
1550 "key length is not supported."
1551 msgstr ""
1552
1553 #. type: IP
1554 #: archlinux debian-trixie debian-unstable
1555 #, no-wrap
1556 msgid "B<EVP_CIPHER_CTX_rand_key()>"
1557 msgstr ""
1558
1559 #. type: IX
1560 #: archlinux debian-trixie debian-unstable
1561 #, no-wrap
1562 msgid "EVP_CIPHER_CTX_rand_key()"
1563 msgstr ""
1564
1565 #. type: Plain text
1566 #: archlinux debian-trixie debian-unstable
1567 msgid ""
1568 "Generates a random key of the appropriate length based on the cipher "
1569 "context. The B<EVP_CIPHER> can provide its own random key generation "
1570 "routine to support keys of a specific form. I<key> must point to a buffer at "
1571 "least as big as the value returned by B<EVP_CIPHER_CTX_get_key_length()>."
1572 msgstr ""
1573
1574 #. type: IP
1575 #: archlinux debian-trixie debian-unstable
1576 #, no-wrap
1577 msgid "B<EVP_CIPHER_do_all_provided()>"
1578 msgstr ""
1579
1580 #. type: IX
1581 #: archlinux debian-trixie debian-unstable
1582 #, no-wrap
1583 msgid "EVP_CIPHER_do_all_provided()"
1584 msgstr ""
1585
1586 #. type: Plain text
1587 #: archlinux debian-trixie debian-unstable
1588 msgid ""
1589 "Traverses all ciphers implemented by all activated providers in the given "
1590 "library context I<libctx>, and for each of the implementations, calls the "
1591 "given function I<fn> with the implementation method and the given I<arg> as "
1592 "argument."
1593 msgstr ""
1594
1595 #. type: IX
1596 #: archlinux debian-trixie debian-unstable
1597 #, no-wrap
1598 msgid "PARAMETERS"
1599 msgstr ""
1600
1601 #. type: Plain text
1602 #: archlinux debian-trixie debian-unstable
1603 msgid "See B<OSSL_PARAM>\\|(3) for information about passing parameters."
1604 msgstr ""
1605
1606 #. type: IX
1607 #: archlinux debian-trixie debian-unstable
1608 #, no-wrap
1609 msgid "Gettable EVP_CIPHER parameters"
1610 msgstr ""
1611
1612 #. type: IX
1613 #: archlinux debian-trixie debian-unstable
1614 #, no-wrap
1615 msgid "Subsection"
1616 msgstr ""
1617
1618 #. type: Plain text
1619 #: archlinux debian-trixie debian-unstable
1620 msgid ""
1621 "When B<EVP_CIPHER_fetch()> is called it internally calls "
1622 "B<EVP_CIPHER_get_params()> and caches the results."
1623 msgstr ""
1624
1625 #. type: Plain text
1626 #: archlinux debian-trixie debian-unstable
1627 msgid ""
1628 "\\&B<EVP_CIPHER_get_params()> can be used with the following B<OSSL_PARAM>\\|"
1629 "(3) keys:"
1630 msgstr ""
1631
1632 #. type: IP
1633 #: archlinux debian-trixie debian-unstable
1634 #, no-wrap
1635 msgid "\"mode\" (B<OSSL_CIPHER_PARAM_MODE>) E<lt>unsigned integerE<gt>"
1636 msgstr ""
1637
1638 #. type: IX
1639 #: archlinux debian-trixie debian-unstable
1640 #, no-wrap
1641 msgid "\"mode\" (OSSL_CIPHER_PARAM_MODE) E<lt>unsigned integerE<gt>"
1642 msgstr ""
1643
1644 #. type: Plain text
1645 #: archlinux debian-trixie debian-unstable
1646 msgid ""
1647 "Gets the mode for the associated cipher algorithm I<cipher>. See "
1648 "\"B<EVP_CIPHER_get_mode()> and B<EVP_CIPHER_CTX_get_mode()>\" for a list of "
1649 "valid modes. Use B<EVP_CIPHER_get_mode()> to retrieve the cached value."
1650 msgstr ""
1651
1652 #. type: IP
1653 #: archlinux debian-trixie debian-unstable
1654 #, no-wrap
1655 msgid "\"keylen\" (B<OSSL_CIPHER_PARAM_KEYLEN>) E<lt>unsigned integerE<gt>"
1656 msgstr ""
1657
1658 #. type: IX
1659 #: archlinux debian-trixie debian-unstable
1660 #, no-wrap
1661 msgid "\"keylen\" (OSSL_CIPHER_PARAM_KEYLEN) E<lt>unsigned integerE<gt>"
1662 msgstr ""
1663
1664 #. type: Plain text
1665 #: archlinux debian-trixie debian-unstable
1666 msgid ""
1667 "Gets the key length for the associated cipher algorithm I<cipher>. Use "
1668 "B<EVP_CIPHER_get_key_length()> to retrieve the cached value."
1669 msgstr ""
1670
1671 #. type: IP
1672 #: archlinux debian-trixie debian-unstable
1673 #, no-wrap
1674 msgid "\"ivlen\" (B<OSSL_CIPHER_PARAM_IVLEN>) E<lt>unsigned integerE<gt>"
1675 msgstr ""
1676
1677 #. type: IX
1678 #: archlinux debian-trixie debian-unstable
1679 #, no-wrap
1680 msgid "\"ivlen\" (OSSL_CIPHER_PARAM_IVLEN) E<lt>unsigned integerE<gt>"
1681 msgstr ""
1682
1683 #. type: Plain text
1684 #: archlinux debian-trixie debian-unstable
1685 msgid ""
1686 "Gets the IV length for the associated cipher algorithm I<cipher>. Use "
1687 "B<EVP_CIPHER_get_iv_length()> to retrieve the cached value."
1688 msgstr ""
1689
1690 #. type: IP
1691 #: archlinux debian-trixie debian-unstable
1692 #, no-wrap
1693 msgid "\"blocksize\" (B<OSSL_CIPHER_PARAM_BLOCK_SIZE>) E<lt>unsigned integerE<gt>"
1694 msgstr ""
1695
1696 #. type: IX
1697 #: archlinux debian-trixie debian-unstable
1698 #, no-wrap
1699 msgid "\"blocksize\" (OSSL_CIPHER_PARAM_BLOCK_SIZE) E<lt>unsigned integerE<gt>"
1700 msgstr ""
1701
1702 #. type: Plain text
1703 #: archlinux debian-trixie debian-unstable
1704 msgid ""
1705 "Gets the block size for the associated cipher algorithm I<cipher>. The "
1706 "block size should be 1 for stream ciphers. Note that the block size for a "
1707 "cipher may be different to the block size for the underlying encryption/"
1708 "decryption primitive. For example AES in CTR mode has a block size of 1 "
1709 "(because it operates like a stream cipher), even though AES has a block size "
1710 "of 16. Use B<EVP_CIPHER_get_block_size()> to retrieve the cached value."
1711 msgstr ""
1712
1713 #. type: IP
1714 #: archlinux debian-trixie debian-unstable
1715 #, no-wrap
1716 msgid "\"aead\" (B<OSSL_CIPHER_PARAM_AEAD>) E<lt>integerE<gt>"
1717 msgstr ""
1718
1719 #. type: IX
1720 #: archlinux debian-trixie debian-unstable
1721 #, no-wrap
1722 msgid "\"aead\" (OSSL_CIPHER_PARAM_AEAD) E<lt>integerE<gt>"
1723 msgstr ""
1724
1725 #. type: Plain text
1726 #: archlinux debian-trixie debian-unstable
1727 msgid ""
1728 "Gets 1 if this is an AEAD cipher algorithm, otherwise it gets 0. Use "
1729 "(EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER) to retrieve the "
1730 "cached value."
1731 msgstr ""
1732
1733 #. type: IP
1734 #: archlinux debian-trixie debian-unstable
1735 #, no-wrap
1736 msgid "\"custom-iv\" (B<OSSL_CIPHER_PARAM_CUSTOM_IV>) E<lt>integerE<gt>"
1737 msgstr ""
1738
1739 #. type: IX
1740 #: archlinux debian-trixie debian-unstable
1741 #, no-wrap
1742 msgid "\"custom-iv\" (OSSL_CIPHER_PARAM_CUSTOM_IV) E<lt>integerE<gt>"
1743 msgstr ""
1744
1745 #. type: Plain text
1746 #: archlinux debian-trixie debian-unstable
1747 msgid ""
1748 "Gets 1 if the cipher algorithm I<cipher> has a custom IV, otherwise it gets "
1749 "0. Storing and initializing the IV is left entirely to the implementation, "
1750 "if a custom IV is used. Use (EVP_CIPHER_get_flags(cipher) & "
1751 "EVP_CIPH_CUSTOM_IV) to retrieve the cached value."
1752 msgstr ""
1753
1754 #. type: IP
1755 #: archlinux debian-trixie debian-unstable
1756 #, no-wrap
1757 msgid "\"cts\" (B<OSSL_CIPHER_PARAM_CTS>) E<lt>integerE<gt>"
1758 msgstr ""
1759
1760 #. type: IX
1761 #: archlinux debian-trixie debian-unstable
1762 #, no-wrap
1763 msgid "\"cts\" (OSSL_CIPHER_PARAM_CTS) E<lt>integerE<gt>"
1764 msgstr ""
1765
1766 #. type: Plain text
1767 #: archlinux debian-trixie debian-unstable
1768 msgid ""
1769 "Gets 1 if the cipher algorithm I<cipher> uses ciphertext stealing, otherwise "
1770 "it gets 0. This is currently used to indicate that the cipher is a one shot "
1771 "that only allows a single call to B<EVP_CipherUpdate()>. Use "
1772 "(EVP_CIPHER_get_flags(cipher) & EVP_CIPH_FLAG_CTS) to retrieve the cached "
1773 "value."
1774 msgstr ""
1775
1776 #. type: IP
1777 #: archlinux debian-trixie debian-unstable
1778 #, no-wrap
1779 msgid "\"tls-multi\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK>) E<lt>integerE<gt>"
1780 msgstr ""
1781
1782 #. type: IX
1783 #: archlinux debian-trixie debian-unstable
1784 #, no-wrap
1785 msgid "\"tls-multi\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK) E<lt>integerE<gt>"
1786 msgstr ""
1787
1788 #. type: Plain text
1789 #: archlinux debian-trixie debian-unstable
1790 msgid ""
1791 "Gets 1 if the cipher algorithm I<cipher> supports interleaving of crypto "
1792 "blocks, otherwise it gets 0. The interleaving is an optimization only "
1793 "applicable to certain TLS ciphers. Use (EVP_CIPHER_get_flags(cipher) & "
1794 "EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK) to retrieve the cached value."
1795 msgstr ""
1796
1797 #. type: IP
1798 #: archlinux debian-trixie debian-unstable
1799 #, no-wrap
1800 msgid "\"has-randkey\" (B<OSSL_CIPHER_PARAM_HAS_RANDKEY>) E<lt>integerE<gt>"
1801 msgstr ""
1802
1803 #. type: IX
1804 #: archlinux debian-trixie debian-unstable
1805 #, no-wrap
1806 msgid "\"has-randkey\" (OSSL_CIPHER_PARAM_HAS_RANDKEY) E<lt>integerE<gt>"
1807 msgstr ""
1808
1809 #. type: Plain text
1810 #: archlinux debian-trixie debian-unstable
1811 msgid ""
1812 "Gets 1 if the cipher algorithm I<cipher> supports the gettable "
1813 "EVP_CIPHER_CTX parameter B<OSSL_CIPHER_PARAM_RANDOM_KEY>. Only DES and 3DES "
1814 "set this to 1, all other OpenSSL ciphers return 0."
1815 msgstr ""
1816
1817 #. type: IP
1818 #: archlinux debian-trixie debian-unstable
1819 #, no-wrap
1820 msgid "\"decrypt-only\" (B<OSSL_CIPHER_PARAM_DECRYPT_ONLY) E<lt>integer>"
1821 msgstr ""
1822
1823 #. type: IX
1824 #: archlinux debian-trixie debian-unstable
1825 #, no-wrap
1826 msgid "\"decrypt-only\" (OSSL_CIPHER_PARAM_DECRYPT_ONLY) E<lt>integer"
1827 msgstr ""
1828
1829 #. type: Plain text
1830 #: archlinux debian-trixie debian-unstable
1831 msgid ""
1832 "Gets 1 if the cipher algorithm I<cipher> implementation supports only the "
1833 "decryption operation such as the 3DES ciphers in the fips provider. "
1834 "Otherwise gets 0 or the parameter might not be present at all."
1835 msgstr ""
1836
1837 #. type: IX
1838 #: archlinux debian-trixie debian-unstable
1839 #, no-wrap
1840 msgid "Gettable and Settable EVP_CIPHER_CTX parameters"
1841 msgstr ""
1842
1843 #. type: Plain text
1844 #: archlinux debian-trixie debian-unstable
1845 msgid ""
1846 "The following B<OSSL_PARAM>\\|(3) keys can be used with both "
1847 "B<EVP_CIPHER_CTX_get_params()> and B<EVP_CIPHER_CTX_set_params()>."
1848 msgstr ""
1849
1850 #. type: IP
1851 #: archlinux debian-trixie debian-unstable
1852 #, no-wrap
1853 msgid "\"padding\" (B<OSSL_CIPHER_PARAM_PADDING>) E<lt>unsigned integerE<gt>"
1854 msgstr ""
1855
1856 #. type: IX
1857 #: archlinux debian-trixie debian-unstable
1858 #, no-wrap
1859 msgid "\"padding\" (OSSL_CIPHER_PARAM_PADDING) E<lt>unsigned integerE<gt>"
1860 msgstr ""
1861
1862 #. type: Plain text
1863 #: archlinux debian-trixie debian-unstable
1864 msgid ""
1865 "Gets or sets the padding mode for the cipher context I<ctx>. Padding is "
1866 "enabled if the value is 1, and disabled if the value is 0. See also "
1867 "B<EVP_CIPHER_CTX_set_padding()>."
1868 msgstr ""
1869
1870 #. type: IP
1871 #: archlinux debian-trixie debian-unstable
1872 #, no-wrap
1873 msgid "\"num\" (B<OSSL_CIPHER_PARAM_NUM>) E<lt>unsigned integerE<gt>"
1874 msgstr ""
1875
1876 #. type: IX
1877 #: archlinux debian-trixie debian-unstable
1878 #, no-wrap
1879 msgid "\"num\" (OSSL_CIPHER_PARAM_NUM) E<lt>unsigned integerE<gt>"
1880 msgstr ""
1881
1882 #. type: Plain text
1883 #: archlinux debian-trixie debian-unstable
1884 msgid ""
1885 "Gets or sets the cipher specific \"num\" parameter for the cipher context "
1886 "I<ctx>. Built-in ciphers typically use this to track how much of the "
1887 "current underlying block has been \"used\" already. See also "
1888 "B<EVP_CIPHER_CTX_get_num()> and B<EVP_CIPHER_CTX_set_num()>."
1889 msgstr ""
1890
1891 #. type: Plain text
1892 #: archlinux debian-trixie debian-unstable
1893 msgid ""
1894 "Gets or sets the key length for the cipher context I<ctx>. The length of "
1895 "the \"keylen\" parameter should not exceed that of a B<size_t>. See also "
1896 "B<EVP_CIPHER_CTX_get_key_length()> and B<EVP_CIPHER_CTX_set_key_length()>."
1897 msgstr ""
1898
1899 #. type: IP
1900 #: archlinux debian-trixie debian-unstable
1901 #, no-wrap
1902 msgid "\"tag\" (B<OSSL_CIPHER_PARAM_AEAD_TAG>) E<lt>octet stringE<gt>"
1903 msgstr ""
1904
1905 #. type: IX
1906 #: archlinux debian-trixie debian-unstable
1907 #, no-wrap
1908 msgid "\"tag\" (OSSL_CIPHER_PARAM_AEAD_TAG) E<lt>octet stringE<gt>"
1909 msgstr ""
1910
1911 #. type: Plain text
1912 #: archlinux debian-trixie debian-unstable
1913 msgid ""
1914 "Gets or sets the AEAD tag for the associated cipher context I<ctx>. See "
1915 "\"AEAD INTERFACE\" in B<EVP_EncryptInit>\\|(3)."
1916 msgstr ""
1917
1918 #. type: IP
1919 #: archlinux debian-trixie debian-unstable
1920 #, no-wrap
1921 msgid "\"pipeline-tag\" (B<OSSL_CIPHER_PARAM_PIPELINE_AEAD_TAG>) E<lt>octet ptrE<gt>"
1922 msgstr ""
1923
1924 #. type: IX
1925 #: archlinux debian-trixie debian-unstable
1926 #, no-wrap
1927 msgid "\"pipeline-tag\" (OSSL_CIPHER_PARAM_PIPELINE_AEAD_TAG) E<lt>octet ptrE<gt>"
1928 msgstr ""
1929
1930 #. type: Plain text
1931 #: archlinux debian-trixie debian-unstable
1932 msgid ""
1933 "Gets or sets the AEAD tag when using cipher pipelining. The pointer must "
1934 "point to an array of buffers, where the aead tag will be read from or "
1935 "written to. The array size must be equal to I<numpipes> used in "
1936 "\\&B<EVP_CipherPipelineEncryptInit()> or B<EVP_CipherPipelineDecryptInit()>."
1937 msgstr ""
1938
1939 #. type: IP
1940 #: archlinux debian-trixie debian-unstable
1941 #, no-wrap
1942 msgid "\"keybits\" (B<OSSL_CIPHER_PARAM_RC2_KEYBITS>) E<lt>unsigned integerE<gt>"
1943 msgstr ""
1944
1945 #. type: IX
1946 #: archlinux debian-trixie debian-unstable
1947 #, no-wrap
1948 msgid "\"keybits\" (OSSL_CIPHER_PARAM_RC2_KEYBITS) E<lt>unsigned integerE<gt>"
1949 msgstr ""
1950
1951 #. type: Plain text
1952 #: archlinux debian-trixie debian-unstable
1953 msgid ""
1954 "Gets or sets the effective keybits used for a RC2 cipher. The length of the "
1955 "\"keybits\" parameter should not exceed that of a B<size_t>."
1956 msgstr ""
1957
1958 #. type: IP
1959 #: archlinux debian-trixie debian-unstable
1960 #, no-wrap
1961 msgid "\"rounds\" (B<OSSL_CIPHER_PARAM_ROUNDS>) E<lt>unsigned integerE<gt>"
1962 msgstr ""
1963
1964 #. type: IX
1965 #: archlinux debian-trixie debian-unstable
1966 #, no-wrap
1967 msgid "\"rounds\" (OSSL_CIPHER_PARAM_ROUNDS) E<lt>unsigned integerE<gt>"
1968 msgstr ""
1969
1970 #. type: Plain text
1971 #: archlinux debian-trixie debian-unstable
1972 msgid ""
1973 "Gets or sets the number of rounds to be used for a cipher. This is used by "
1974 "the RC5 cipher."
1975 msgstr ""
1976
1977 #. type: IP
1978 #: archlinux debian-trixie debian-unstable
1979 #, no-wrap
1980 msgid "\"algorithm-id\" (B<OSSL_CIPHER_PARAM_ALGORITHM_ID>) E<lt>octet stringE<gt>"
1981 msgstr ""
1982
1983 #. type: IX
1984 #: archlinux debian-trixie debian-unstable
1985 #, no-wrap
1986 msgid "\"algorithm-id\" (OSSL_CIPHER_PARAM_ALGORITHM_ID) E<lt>octet stringE<gt>"
1987 msgstr ""
1988
1989 #. type: Plain text
1990 #: archlinux debian-trixie debian-unstable
1991 msgid ""
1992 "Used to get the DER encoded AlgorithmIdentifier from the cipher "
1993 "implementation. Functions like B<EVP_PKEY_CTX_get_algor>\\|(3) use this "
1994 "parameter."
1995 msgstr ""
1996
1997 #. type: IP
1998 #: archlinux debian-trixie debian-unstable
1999 #, no-wrap
2000 msgid "\"algorithm-id-params\" (B<OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS>) E<lt>octet stringE<gt>"
2001 msgstr ""
2002
2003 #. type: IX
2004 #: archlinux debian-trixie debian-unstable
2005 #, no-wrap
2006 msgid "\"algorithm-id-params\" (OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS) E<lt>octet stringE<gt>"
2007 msgstr ""
2008
2009 #. type: Plain text
2010 #: archlinux debian-trixie debian-unstable
2011 msgid ""
2012 "Used to pass the DER encoded AlgorithmIdentifier parameter to or from the "
2013 "cipher implementation. Functions like B<EVP_CIPHER_CTX_set_algor_params>\\|"
2014 "(3) and \\&B<EVP_CIPHER_CTX_get_algor_params>\\|(3) use this parameter."
2015 msgstr ""
2016
2017 #. type: IP
2018 #: archlinux debian-trixie debian-unstable
2019 #, no-wrap
2020 msgid "\"alg_id_params\" (B<OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS_OLD>) E<lt>octet stringE<gt>"
2021 msgstr ""
2022
2023 #. type: IX
2024 #: archlinux debian-trixie debian-unstable
2025 #, no-wrap
2026 msgid "\"alg_id_params\" (OSSL_CIPHER_PARAM_ALGORITHM_ID_PARAMS_OLD) E<lt>octet stringE<gt>"
2027 msgstr ""
2028
2029 #. type: Plain text
2030 #: archlinux debian-trixie debian-unstable
2031 msgid ""
2032 "An deprecated alias for \"algorithm-id-params\", only used by "
2033 "\\&B<EVP_CIPHER_param_to_asn1>\\|(3) and B<EVP_CIPHER_asn1_to_param>\\|(3)."
2034 msgstr ""
2035
2036 #. type: IP
2037 #: archlinux debian-trixie debian-unstable
2038 #, no-wrap
2039 msgid "\"cts_mode\" (B<OSSL_CIPHER_PARAM_CTS_MODE>) E<lt>UTF8 stringE<gt>"
2040 msgstr ""
2041
2042 #. type: IX
2043 #: archlinux debian-trixie debian-unstable
2044 #, no-wrap
2045 msgid "\"cts_mode\" (OSSL_CIPHER_PARAM_CTS_MODE) E<lt>UTF8 stringE<gt>"
2046 msgstr ""
2047
2048 #. type: Plain text
2049 #: archlinux debian-trixie debian-unstable
2050 msgid ""
2051 "Gets or sets the cipher text stealing mode. For all modes the output size is "
2052 "the same as the input size. The input length must be greater than or equal "
2053 "to the block size. (The block size for AES and CAMELLIA is 16 bytes)."
2054 msgstr ""
2055
2056 #. type: Plain text
2057 #: archlinux debian-trixie debian-unstable
2058 msgid "Valid values for the mode are:"
2059 msgstr ""
2060
2061 #. type: IX
2062 #: archlinux debian-trixie debian-unstable
2063 #, no-wrap
2064 msgid "CS1"
2065 msgstr ""
2066
2067 #. type: Plain text
2068 #: archlinux debian-trixie debian-unstable
2069 msgid ""
2070 "The NIST variant of cipher text stealing. For input lengths that are "
2071 "multiples of the block size it is equivalent to using a \"AES-XXX-CBC\" or "
2072 "\"CAMELLIA-XXX-CBC\" cipher otherwise the second last cipher text block is a "
2073 "partial block."
2074 msgstr ""
2075
2076 #. type: IX
2077 #: archlinux debian-trixie debian-unstable
2078 #, no-wrap
2079 msgid "CS2"
2080 msgstr ""
2081
2082 #. type: Plain text
2083 #: archlinux debian-trixie debian-unstable
2084 msgid ""
2085 "For input lengths that are multiples of the block size it is equivalent to "
2086 "using a \"AES-XXX-CBC\" or \"CAMELLIA-XXX-CBC\" cipher, otherwise it is the "
2087 "same as \"CS3\" mode."
2088 msgstr ""
2089
2090 #. type: IX
2091 #: archlinux debian-trixie debian-unstable
2092 #, no-wrap
2093 msgid "CS3"
2094 msgstr ""
2095
2096 #. type: Plain text
2097 #: archlinux debian-trixie debian-unstable
2098 msgid ""
2099 "The Kerberos5 variant of cipher text stealing which always swaps the last "
2100 "cipher text block with the previous block (which may be a partial or full "
2101 "block depending on the input length). If the input length is exactly one "
2102 "full block then this is equivalent to using a \"AES-XXX-CBC\" or \"CAMELLIA-"
2103 "XXX-CBC\" cipher."
2104 msgstr ""
2105
2106 #. type: Plain text
2107 #: archlinux debian-trixie debian-unstable
2108 msgid ""
2109 "The default is \"CS1\". This is only supported for \"AES-128-CBC-CTS\", "
2110 "\"AES-192-CBC-CTS\", \"AES-256-CBC-CTS\", \"CAMELLIA-128-CBC-CTS\", "
2111 "\"CAMELLIA-192-CBC-CTS\" and \"CAMELLIA-256-CBC-CTS\"."
2112 msgstr ""
2113
2114 #. type: IP
2115 #: archlinux debian-trixie debian-unstable
2116 #, no-wrap
2117 msgid "\"tls1multi_interleave\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE>) E<lt>unsigned integerE<gt>"
2118 msgstr ""
2119
2120 #. type: IX
2121 #: archlinux debian-trixie debian-unstable
2122 #, no-wrap
2123 msgid "\"tls1multi_interleave\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE) E<lt>unsigned integerE<gt>"
2124 msgstr ""
2125
2126 #. type: Plain text
2127 #: archlinux debian-trixie debian-unstable
2128 msgid ""
2129 "Sets or gets the number of records being sent in one go for a tls1 "
2130 "multiblock cipher operation (either 4 or 8 records)."
2131 msgstr ""
2132
2133 #. type: IX
2134 #: archlinux debian-trixie debian-unstable
2135 #, no-wrap
2136 msgid "Gettable EVP_CIPHER_CTX parameters"
2137 msgstr ""
2138
2139 #. type: Plain text
2140 #: archlinux debian-trixie debian-unstable
2141 msgid ""
2142 "The following B<OSSL_PARAM>\\|(3) keys can be used with "
2143 "B<EVP_CIPHER_CTX_get_params()>:"
2144 msgstr ""
2145
2146 #. type: IP
2147 #: archlinux debian-trixie debian-unstable
2148 #, no-wrap
2149 msgid "\"ivlen\" (B<OSSL_CIPHER_PARAM_IVLEN> and E<lt>B<OSSL_CIPHER_PARAM_AEAD_IVLEN>) E<lt>unsigned integerE<gt>"
2150 msgstr ""
2151
2152 #. type: IX
2153 #: archlinux debian-trixie debian-unstable
2154 #, no-wrap
2155 msgid "\"ivlen\" (OSSL_CIPHER_PARAM_IVLEN and E<lt>OSSL_CIPHER_PARAM_AEAD_IVLEN) E<lt>unsigned integerE<gt>"
2156 msgstr ""
2157
2158 #. type: Plain text
2159 #: archlinux debian-trixie debian-unstable
2160 msgid ""
2161 "Gets the IV length for the cipher context I<ctx>. The length of the "
2162 "\"ivlen\" parameter should not exceed that of a B<size_t>. See also "
2163 "B<EVP_CIPHER_CTX_get_iv_length()>."
2164 msgstr ""
2165
2166 #. type: IP
2167 #: archlinux debian-trixie debian-unstable
2168 #, no-wrap
2169 msgid "\"iv\" (B<OSSL_CIPHER_PARAM_IV>) E<lt>octet string OR octet ptrE<gt>"
2170 msgstr ""
2171
2172 #. type: IX
2173 #: archlinux debian-trixie debian-unstable
2174 #, no-wrap
2175 msgid "\"iv\" (OSSL_CIPHER_PARAM_IV) E<lt>octet string OR octet ptrE<gt>"
2176 msgstr ""
2177
2178 #. type: Plain text
2179 #: archlinux debian-trixie debian-unstable
2180 msgid ""
2181 "Gets the IV used to initialize the associated cipher context I<ctx>. See "
2182 "also B<EVP_CIPHER_CTX_get_original_iv()>."
2183 msgstr ""
2184
2185 #. type: IP
2186 #: archlinux debian-trixie debian-unstable
2187 #, no-wrap
2188 msgid "\"updated-iv\" (B<OSSL_CIPHER_PARAM_UPDATED_IV>) E<lt>octet string OR octet ptrE<gt>"
2189 msgstr ""
2190
2191 #. type: IX
2192 #: archlinux debian-trixie debian-unstable
2193 #, no-wrap
2194 msgid "\"updated-iv\" (OSSL_CIPHER_PARAM_UPDATED_IV) E<lt>octet string OR octet ptrE<gt>"
2195 msgstr ""
2196
2197 #. type: Plain text
2198 #: archlinux debian-trixie debian-unstable
2199 msgid ""
2200 "Gets the updated pseudo-IV state for the associated cipher context, e.g., "
2201 "the previous ciphertext block for CBC mode or the iteratively encrypted IV "
2202 "value for OFB mode. Note that octet pointer access is deprecated and is "
2203 "provided only for backwards compatibility with historical libcrypto APIs. "
2204 "See also B<EVP_CIPHER_CTX_get_updated_iv()>."
2205 msgstr ""
2206
2207 #. type: IP
2208 #: archlinux debian-trixie debian-unstable
2209 #, no-wrap
2210 msgid "\"randkey\" (B<OSSL_CIPHER_PARAM_RANDOM_KEY>) E<lt>octet stringE<gt>"
2211 msgstr ""
2212
2213 #. type: IX
2214 #: archlinux debian-trixie debian-unstable
2215 #, no-wrap
2216 msgid "\"randkey\" (OSSL_CIPHER_PARAM_RANDOM_KEY) E<lt>octet stringE<gt>"
2217 msgstr ""
2218
2219 #. type: Plain text
2220 #: archlinux debian-trixie debian-unstable
2221 msgid ""
2222 "Gets an implementation specific randomly generated key for the associated "
2223 "cipher context I<ctx>. This is currently only supported by DES and 3DES "
2224 "(which set the key to odd parity)."
2225 msgstr ""
2226
2227 #. type: IP
2228 #: archlinux debian-trixie debian-unstable
2229 #, no-wrap
2230 msgid "\"taglen\" (B<OSSL_CIPHER_PARAM_AEAD_TAGLEN>) E<lt>unsigned integerE<gt>"
2231 msgstr ""
2232
2233 #. type: IX
2234 #: archlinux debian-trixie debian-unstable
2235 #, no-wrap
2236 msgid "\"taglen\" (OSSL_CIPHER_PARAM_AEAD_TAGLEN) E<lt>unsigned integerE<gt>"
2237 msgstr ""
2238
2239 #. type: Plain text
2240 #: archlinux debian-trixie debian-unstable
2241 msgid ""
2242 "Gets the tag length to be used for an AEAD cipher for the associated cipher "
2243 "context I<ctx>. It gets a default value if it has not been set. The length "
2244 "of the \"taglen\" parameter should not exceed that of a B<size_t>. See also "
2245 "B<EVP_CIPHER_CTX_get_tag_length()>."
2246 msgstr ""
2247
2248 #. type: IP
2249 #: archlinux debian-trixie debian-unstable
2250 #, no-wrap
2251 msgid "\"tlsaadpad\" (B<OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD>) E<lt>unsigned integerE<gt>"
2252 msgstr ""
2253
2254 #. type: IX
2255 #: archlinux debian-trixie debian-unstable
2256 #, no-wrap
2257 msgid "\"tlsaadpad\" (OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD) E<lt>unsigned integerE<gt>"
2258 msgstr ""
2259
2260 #. type: Plain text
2261 #: archlinux debian-trixie debian-unstable
2262 msgid ""
2263 "Gets the length of the tag that will be added to a TLS record for the AEAD "
2264 "tag for the associated cipher context I<ctx>. The length of the "
2265 "\"tlsaadpad\" parameter should not exceed that of a B<size_t>."
2266 msgstr ""
2267
2268 #. type: IP
2269 #: archlinux debian-trixie debian-unstable
2270 #, no-wrap
2271 msgid "\"tlsivgen\" (B<OSSL_CIPHER_PARAM_AEAD_TLS1_GET_IV_GEN>) E<lt>octet stringE<gt>"
2272 msgstr ""
2273
2274 #. type: IX
2275 #: archlinux debian-trixie debian-unstable
2276 #, no-wrap
2277 msgid "\"tlsivgen\" (OSSL_CIPHER_PARAM_AEAD_TLS1_GET_IV_GEN) E<lt>octet stringE<gt>"
2278 msgstr ""
2279
2280 #. type: Plain text
2281 #: archlinux debian-trixie debian-unstable
2282 msgid ""
2283 "Gets the invocation field generated for encryption. Can only be called "
2284 "after \"tlsivfixed\" is set. This is only used for GCM mode."
2285 msgstr ""
2286
2287 #. type: IP
2288 #: archlinux debian-trixie debian-unstable
2289 #, no-wrap
2290 msgid "\"tls1multi_enclen\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN>) E<lt>unsigned integerE<gt>"
2291 msgstr ""
2292
2293 #. type: IX
2294 #: archlinux debian-trixie debian-unstable
2295 #, no-wrap
2296 msgid "\"tls1multi_enclen\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN) E<lt>unsigned integerE<gt>"
2297 msgstr ""
2298
2299 #. type: Plain text
2300 #: archlinux debian-trixie debian-unstable
2301 msgid ""
2302 "Get the total length of the record returned from the \"tls1multi_enc\" "
2303 "operation."
2304 msgstr ""
2305
2306 #. type: IP
2307 #: archlinux debian-trixie debian-unstable
2308 #, no-wrap
2309 msgid "\"tls1multi_maxbufsz\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE>) E<lt>unsigned integerE<gt>"
2310 msgstr ""
2311
2312 #. type: IX
2313 #: archlinux debian-trixie debian-unstable
2314 #, no-wrap
2315 msgid "\"tls1multi_maxbufsz\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE) E<lt>unsigned integerE<gt>"
2316 msgstr ""
2317
2318 #. type: Plain text
2319 #: archlinux debian-trixie debian-unstable
2320 msgid ""
2321 "Gets the maximum record length for a TLS1 multiblock cipher operation. The "
2322 "length of the \"tls1multi_maxbufsz\" parameter should not exceed that of a "
2323 "B<size_t>."
2324 msgstr ""
2325
2326 #. type: IP
2327 #: archlinux debian-trixie debian-unstable
2328 #, no-wrap
2329 msgid "\"tls1multi_aadpacklen\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN>) E<lt>unsigned integerE<gt>"
2330 msgstr ""
2331
2332 #. type: IX
2333 #: archlinux debian-trixie debian-unstable
2334 #, no-wrap
2335 msgid "\"tls1multi_aadpacklen\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN) E<lt>unsigned integerE<gt>"
2336 msgstr ""
2337
2338 #. type: Plain text
2339 #: archlinux debian-trixie debian-unstable
2340 msgid "Gets the result of running the \"tls1multi_aad\" operation."
2341 msgstr ""
2342
2343 #. type: IP
2344 #: archlinux debian-trixie debian-unstable
2345 #, no-wrap
2346 msgid "\"tls-mac\" (B<OSSL_CIPHER_PARAM_TLS_MAC>) E<lt>octet ptrE<gt>"
2347 msgstr ""
2348
2349 #. type: IX
2350 #: archlinux debian-trixie debian-unstable
2351 #, no-wrap
2352 msgid "\"tls-mac\" (OSSL_CIPHER_PARAM_TLS_MAC) E<lt>octet ptrE<gt>"
2353 msgstr ""
2354
2355 #. type: Plain text
2356 #: archlinux debian-trixie debian-unstable
2357 msgid "Used to pass the TLS MAC data."
2358 msgstr ""
2359
2360 #. type: IP
2361 #: archlinux debian-trixie debian-unstable
2362 #, no-wrap
2363 msgid "\"fips-indicator\" (B<OSSL_CIPHER_PARAM_FIPS_APPROVED_INDICATOR>) E<lt>integerE<gt>"
2364 msgstr ""
2365
2366 #. type: IX
2367 #: archlinux debian-trixie debian-unstable
2368 #, no-wrap
2369 msgid "\"fips-indicator\" (OSSL_CIPHER_PARAM_FIPS_APPROVED_INDICATOR) E<lt>integerE<gt>"
2370 msgstr ""
2371
2372 #. type: Plain text
2373 #: archlinux debian-trixie debian-unstable
2374 msgid "This option is used by the OpenSSL FIPS provider."
2375 msgstr ""
2376
2377 #. type: Plain text
2378 #: archlinux debian-trixie debian-unstable
2379 msgid ""
2380 "A getter that returns 1 if the operation is FIPS approved, or 0 otherwise. "
2381 "This may be used after calling a cipher final operation such as "
2382 "\\&B<EVP_EncryptFinal_ex()>. It may return 0 if the \"encrypt-check\" option "
2383 "is set to 0."
2384 msgstr ""
2385
2386 #. type: IP
2387 #: archlinux debian-trixie debian-unstable
2388 #, no-wrap
2389 msgid "\"iv-generated\" (B<OSSL_CIPHER_PARAM_AEAD_IV_GENERATED>) E<lt>unsigned integerE<gt>"
2390 msgstr ""
2391
2392 #. type: IX
2393 #: archlinux debian-trixie debian-unstable
2394 #, no-wrap
2395 msgid "\"iv-generated\" (OSSL_CIPHER_PARAM_AEAD_IV_GENERATED) E<lt>unsigned integerE<gt>"
2396 msgstr ""
2397
2398 #. type: Plain text
2399 #: archlinux debian-trixie debian-unstable
2400 msgid ""
2401 "An indicator that returns 1 if an IV was generated internally during "
2402 "encryption, or O otherwise. This may be used by GCM ciphers after calling a "
2403 "cipher final operation such as B<EVP_EncryptFinal_ex()>. GCM should "
2404 "generate an IV internally if the IV is not specified during a cipher "
2405 "initialisation call such as B<EVP_CipherInit_ex()>. See FIPS 140-3 IG C.H "
2406 "for information related to IV requirements."
2407 msgstr ""
2408
2409 #. type: IX
2410 #: archlinux debian-trixie debian-unstable
2411 #, no-wrap
2412 msgid "Settable EVP_CIPHER_CTX parameters"
2413 msgstr ""
2414
2415 #. type: Plain text
2416 #: archlinux debian-trixie debian-unstable
2417 msgid ""
2418 "The following B<OSSL_PARAM>\\|(3) keys can be used with "
2419 "B<EVP_CIPHER_CTX_set_params()>:"
2420 msgstr ""
2421
2422 #. type: IP
2423 #: archlinux debian-trixie debian-unstable
2424 #, no-wrap
2425 msgid "\"mackey\" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) E<lt>octet stringE<gt>"
2426 msgstr ""
2427
2428 #. type: IX
2429 #: archlinux debian-trixie debian-unstable
2430 #, no-wrap
2431 msgid "\"mackey\" (OSSL_CIPHER_PARAM_AEAD_MAC_KEY) E<lt>octet stringE<gt>"
2432 msgstr ""
2433
2434 #. type: Plain text
2435 #: archlinux debian-trixie debian-unstable
2436 msgid ""
2437 "Sets the MAC key used by composite AEAD ciphers such as AES-CBC-HMAC-SHA256."
2438 msgstr ""
2439
2440 #. type: IP
2441 #: archlinux debian-trixie debian-unstable
2442 #, no-wrap
2443 msgid "\"speed\" (B<OSSL_CIPHER_PARAM_SPEED>) E<lt>unsigned integerE<gt>"
2444 msgstr ""
2445
2446 #. type: IX
2447 #: archlinux debian-trixie debian-unstable
2448 #, no-wrap
2449 msgid "\"speed\" (OSSL_CIPHER_PARAM_SPEED) E<lt>unsigned integerE<gt>"
2450 msgstr ""
2451
2452 #. type: Plain text
2453 #: archlinux debian-trixie debian-unstable
2454 msgid ""
2455 "Sets the speed option for the associated cipher context. This is only "
2456 "supported by AES SIV ciphers which disallow multiple operations by default. "
2457 "Setting \"speed\" to 1 allows another encrypt or decrypt operation to be "
2458 "performed. This is used for performance testing."
2459 msgstr ""
2460
2461 #. type: IP
2462 #: archlinux debian-trixie debian-unstable
2463 #, no-wrap
2464 msgid "\"use-bits\" (B<OSSL_CIPHER_PARAM_USE_BITS>) E<lt>unsigned integerE<gt>"
2465 msgstr ""
2466
2467 #. type: IX
2468 #: archlinux debian-trixie debian-unstable
2469 #, no-wrap
2470 msgid "\"use-bits\" (OSSL_CIPHER_PARAM_USE_BITS) E<lt>unsigned integerE<gt>"
2471 msgstr ""
2472
2473 #. type: Plain text
2474 #: archlinux debian-trixie debian-unstable
2475 msgid ""
2476 "Determines if the input length I<inl> passed to B<EVP_EncryptUpdate()>, "
2477 "\\&B<EVP_DecryptUpdate()> and B<EVP_CipherUpdate()> is the number of bits or "
2478 "number of bytes. Setting \"use-bits\" to 1 uses bits. The default is in "
2479 "bytes. This is only used for B<CFB1> ciphers."
2480 msgstr ""
2481
2482 #. type: Plain text
2483 #: archlinux debian-trixie debian-unstable
2484 msgid ""
2485 "This can be set using EVP_CIPHER_CTX_set_flags(ctx, "
2486 "EVP_CIPH_FLAG_LENGTH_BITS)."
2487 msgstr ""
2488
2489 #. type: IP
2490 #: archlinux debian-trixie debian-unstable
2491 #, no-wrap
2492 msgid "\"tls-version\" (B<OSSL_CIPHER_PARAM_TLS_VERSION>) E<lt>integerE<gt>"
2493 msgstr ""
2494
2495 #. type: IX
2496 #: archlinux debian-trixie debian-unstable
2497 #, no-wrap
2498 msgid "\"tls-version\" (OSSL_CIPHER_PARAM_TLS_VERSION) E<lt>integerE<gt>"
2499 msgstr ""
2500
2501 #. type: Plain text
2502 #: archlinux debian-trixie debian-unstable
2503 msgid "Sets the TLS version."
2504 msgstr ""
2505
2506 #. type: IP
2507 #: archlinux debian-trixie debian-unstable
2508 #, no-wrap
2509 msgid "\"tls-mac-size\" (B<OSSL_CIPHER_PARAM_TLS_MAC_SIZE>) E<lt>unsigned integerE<gt>"
2510 msgstr ""
2511
2512 #. type: IX
2513 #: archlinux debian-trixie debian-unstable
2514 #, no-wrap
2515 msgid "\"tls-mac-size\" (OSSL_CIPHER_PARAM_TLS_MAC_SIZE) E<lt>unsigned integerE<gt>"
2516 msgstr ""
2517
2518 #. type: Plain text
2519 #: archlinux debian-trixie debian-unstable
2520 msgid "Set the TLS MAC size."
2521 msgstr ""
2522
2523 #. type: IP
2524 #: archlinux debian-trixie debian-unstable
2525 #, no-wrap
2526 msgid "\"tlsaad\" (B<OSSL_CIPHER_PARAM_AEAD_TLS1_AAD>) E<lt>octet stringE<gt>"
2527 msgstr ""
2528
2529 #. type: IX
2530 #: archlinux debian-trixie debian-unstable
2531 #, no-wrap
2532 msgid "\"tlsaad\" (OSSL_CIPHER_PARAM_AEAD_TLS1_AAD) E<lt>octet stringE<gt>"
2533 msgstr ""
2534
2535 #. type: Plain text
2536 #: archlinux debian-trixie debian-unstable
2537 msgid ""
2538 "Sets TLSv1.2 AAD information for the associated cipher context I<ctx>. "
2539 "TLSv1.2 AAD information is always 13 bytes in length and is as defined for "
2540 "the \"additional_data\" field described in section 6.2.3.3 of RFC5246."
2541 msgstr ""
2542
2543 #. type: IP
2544 #: archlinux debian-trixie debian-unstable
2545 #, no-wrap
2546 msgid "\"tlsivfixed\" (B<OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED>) E<lt>octet stringE<gt>"
2547 msgstr ""
2548
2549 #. type: IX
2550 #: archlinux debian-trixie debian-unstable
2551 #, no-wrap
2552 msgid "\"tlsivfixed\" (OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED) E<lt>octet stringE<gt>"
2553 msgstr ""
2554
2555 #. type: Plain text
2556 #: archlinux debian-trixie debian-unstable
2557 msgid ""
2558 "Sets the fixed portion of an IV for an AEAD cipher used in a TLS record "
2559 "encryption/ decryption for the associated cipher context. TLS record "
2560 "encryption/decryption always occurs \"in place\" so that the input and "
2561 "output buffers are always the same memory location. AEAD IVs in TLSv1.2 "
2562 "consist of an implicit \"fixed\" part and an explicit part that varies with "
2563 "every record. Setting a TLS fixed IV changes a cipher to encrypt/decrypt "
2564 "TLS records. TLS records are encrypted/decrypted using a single "
2565 "OSSL_FUNC_cipher_cipher call per record. For a record decryption the first "
2566 "bytes of the input buffer will be the explicit part of the IV and the final "
2567 "bytes of the input buffer will be the AEAD tag. The length of the explicit "
2568 "part of the IV and the tag length will depend on the cipher in use and will "
2569 "be defined in the RFC for the relevant ciphersuite. In order to allow for "
2570 "\"in place\" decryption the plaintext output should be written to the same "
2571 "location in the output buffer that the ciphertext payload was read from, "
2572 "i.e. immediately after the explicit IV."
2573 msgstr ""
2574
2575 #. type: Plain text
2576 #: archlinux debian-trixie debian-unstable
2577 msgid ""
2578 "When encrypting a record the first bytes of the input buffer should be empty "
2579 "to allow space for the explicit IV, as will the final bytes where the tag "
2580 "will be written. The length of the input buffer will include the length of "
2581 "the explicit IV, the payload, and the tag bytes. The cipher implementation "
2582 "should generate the explicit IV and write it to the beginning of the output "
2583 "buffer, do \"in place\" encryption of the payload and write that to the "
2584 "output buffer, and finally add the tag onto the end of the output buffer."
2585 msgstr ""
2586
2587 #. type: Plain text
2588 #: archlinux debian-trixie debian-unstable
2589 msgid ""
2590 "Whether encrypting or decrypting the value written to I<*outl> in the "
2591 "OSSL_FUNC_cipher_cipher call should be the length of the payload excluding "
2592 "the explicit IV length and the tag length."
2593 msgstr ""
2594
2595 #. type: IP
2596 #: archlinux debian-trixie debian-unstable
2597 #, no-wrap
2598 msgid "\"tlsivinv\" (B<OSSL_CIPHER_PARAM_AEAD_TLS1_SET_IV_INV>) E<lt>octet stringE<gt>"
2599 msgstr ""
2600
2601 #. type: IX
2602 #: archlinux debian-trixie debian-unstable
2603 #, no-wrap
2604 msgid "\"tlsivinv\" (OSSL_CIPHER_PARAM_AEAD_TLS1_SET_IV_INV) E<lt>octet stringE<gt>"
2605 msgstr ""
2606
2607 #. type: Plain text
2608 #: archlinux debian-trixie debian-unstable
2609 msgid ""
2610 "Sets the invocation field used for decryption. Can only be called after "
2611 "\"tlsivfixed\" is set. This is only used for GCM mode."
2612 msgstr ""
2613
2614 #. type: IP
2615 #: archlinux debian-trixie debian-unstable
2616 #, no-wrap
2617 msgid "\"tls1multi_enc\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC>) E<lt>octet stringE<gt>"
2618 msgstr ""
2619
2620 #. type: IX
2621 #: archlinux debian-trixie debian-unstable
2622 #, no-wrap
2623 msgid "\"tls1multi_enc\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC) E<lt>octet stringE<gt>"
2624 msgstr ""
2625
2626 #. type: Plain text
2627 #: archlinux debian-trixie debian-unstable
2628 msgid ""
2629 "Triggers a multiblock TLS1 encrypt operation for a TLS1 aware cipher that "
2630 "supports sending 4 or 8 records in one go. The cipher performs both the MAC "
2631 "and encrypt stages and constructs the record headers itself. "
2632 "\"tls1multi_enc\" supplies the output buffer for the encrypt operation, "
2633 "\"tls1multi_encin\" & \"tls1multi_interleave\" must also be set in order to "
2634 "supply values to the encrypt operation."
2635 msgstr ""
2636
2637 #. type: IP
2638 #: archlinux debian-trixie debian-unstable
2639 #, no-wrap
2640 msgid "\"tls1multi_encin\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_IN>) E<lt>octet stringE<gt>"
2641 msgstr ""
2642
2643 #. type: IX
2644 #: archlinux debian-trixie debian-unstable
2645 #, no-wrap
2646 msgid "\"tls1multi_encin\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_IN) E<lt>octet stringE<gt>"
2647 msgstr ""
2648
2649 #. type: Plain text
2650 #: archlinux debian-trixie debian-unstable
2651 msgid "Supplies the data to encrypt for a TLS1 multiblock cipher operation."
2652 msgstr ""
2653
2654 #. type: IP
2655 #: archlinux debian-trixie debian-unstable
2656 #, no-wrap
2657 msgid "\"tls1multi_maxsndfrag\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_SEND_FRAGMENT>) E<lt>unsigned integerE<gt>"
2658 msgstr ""
2659
2660 #. type: IX
2661 #: archlinux debian-trixie debian-unstable
2662 #, no-wrap
2663 msgid "\"tls1multi_maxsndfrag\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_SEND_FRAGMENT) E<lt>unsigned integerE<gt>"
2664 msgstr ""
2665
2666 #. type: Plain text
2667 #: archlinux debian-trixie debian-unstable
2668 msgid ""
2669 "Sets the maximum send fragment size for a TLS1 multiblock cipher operation. "
2670 "It must be set before using \"tls1multi_maxbufsz\". The length of the "
2671 "\"tls1multi_maxsndfrag\" parameter should not exceed that of a B<size_t>."
2672 msgstr ""
2673
2674 #. type: IP
2675 #: archlinux debian-trixie debian-unstable
2676 #, no-wrap
2677 msgid "\"tls1multi_aad\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD>) E<lt>octet stringE<gt>"
2678 msgstr ""
2679
2680 #. type: IX
2681 #: archlinux debian-trixie debian-unstable
2682 #, no-wrap
2683 msgid "\"tls1multi_aad\" (OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD) E<lt>octet stringE<gt>"
2684 msgstr ""
2685
2686 #. type: Plain text
2687 #: archlinux debian-trixie debian-unstable
2688 msgid ""
2689 "Sets the authenticated additional data used by a TLS1 multiblock cipher "
2690 "operation. The supplied data consists of 13 bytes of record data "
2691 "containing: Bytes 0-7: The sequence number of the first record Byte 8: The "
2692 "record type Byte 9-10: The protocol version Byte 11-12: Input length (Always "
2693 "0)"
2694 msgstr ""
2695
2696 #. type: Plain text
2697 #: archlinux debian-trixie debian-unstable
2698 msgid "\"tls1multi_interleave\" must also be set for this operation."
2699 msgstr ""
2700
2701 #. type: IP
2702 #: archlinux debian-trixie debian-unstable
2703 #, no-wrap
2704 msgid "\"xts_standard\" (B<OSSL_CIPHER_PARAM_XTS_STANDARD>) E<lt>UTF8 stringE<gt>"
2705 msgstr ""
2706
2707 #. type: IX
2708 #: archlinux debian-trixie debian-unstable
2709 #, no-wrap
2710 msgid "\"xts_standard\" (OSSL_CIPHER_PARAM_XTS_STANDARD) E<lt>UTF8 stringE<gt>"
2711 msgstr ""
2712
2713 #. type: Plain text
2714 #: archlinux debian-trixie debian-unstable
2715 msgid ""
2716 "Sets the XTS standard to use with SM4-XTS algorithm. XTS mode has two "
2717 "implementations, one is standardized in IEEE Std. 1619-2007 and has been "
2718 "widely used (e.g., XTS AES), the other is proposed recently (GB/T 17964-2021 "
2719 "implemented in May 2022) and is currently only used in SM4."
2720 msgstr ""
2721
2722 #. type: Plain text
2723 #: archlinux debian-trixie debian-unstable
2724 msgid ""
2725 "The main difference between them is the multiplication by the primitive "
2726 "element α to calculate the tweak values. The IEEE Std 1619-2007 noted that "
2727 "the multiplication \"is a left shift of each byte by one bit with carry "
2728 "propagating from one byte to the next one\", which means that in each byte, "
2729 "the leftmost bit is the most significant bit. But in GB/T 17964-2021, the "
2730 "rightmost bit is the most significant bit, thus the multiplication becomes a "
2731 "right shift of each byte by one bit with carry propagating from one byte to "
2732 "the next one."
2733 msgstr ""
2734
2735 #. type: IX
2736 #: archlinux debian-trixie debian-unstable
2737 #, no-wrap
2738 msgid "GB"
2739 msgstr ""
2740
2741 #. type: Plain text
2742 #: archlinux debian-trixie debian-unstable
2743 msgid "The GB/T 17964-2021 variant of SM4-XTS algorithm."
2744 msgstr ""
2745
2746 #. type: IX
2747 #: archlinux debian-trixie debian-unstable
2748 #, no-wrap
2749 msgid "IEEE"
2750 msgstr ""
2751
2752 #. type: Plain text
2753 #: archlinux debian-trixie debian-unstable
2754 msgid "The IEEE Std. 1619-2007 variant of SM4-XTS algorithm."
2755 msgstr ""
2756
2757 #. type: Plain text
2758 #: archlinux debian-trixie debian-unstable
2759 msgid "The default value is \"GB\"."
2760 msgstr ""
2761
2762 #. type: IP
2763 #: archlinux debian-trixie debian-unstable
2764 #, no-wrap
2765 msgid "\"encrypt-check\" (B<OSSL_CIPHER_PARAM_FIPS_ENCRYPT_CHECK>) E<lt>integerE<gt>"
2766 msgstr ""
2767
2768 #. type: IX
2769 #: archlinux debian-trixie debian-unstable
2770 #, no-wrap
2771 msgid "\"encrypt-check\" (OSSL_CIPHER_PARAM_FIPS_ENCRYPT_CHECK) E<lt>integerE<gt>"
2772 msgstr ""
2773
2774 #. type: Plain text
2775 #: archlinux debian-trixie debian-unstable
2776 msgid ""
2777 "If required this parameter should be set early via an cipher encrypt init "
2778 "function such as B<EVP_EncryptInit_ex2()>. The default value of 1 causes an "
2779 "error when an encryption operation is triggered. Setting this to 0 will "
2780 "ignore the error and set the approved \"fips-indicator\" to 0. This option "
2781 "breaks FIPS compliance if it causes the approved \"fips-indicator\" to "
2782 "return 0."
2783 msgstr ""
2784
2785 #. type: IX
2786 #: archlinux debian-trixie debian-unstable
2787 #, no-wrap
2788 msgid "CONTROLS"
2789 msgstr ""
2790
2791 #. type: Plain text
2792 #: archlinux debian-trixie debian-unstable
2793 msgid ""
2794 "The Mappings from B<EVP_CIPHER_CTX_ctrl()> identifiers to PARAMETERS are "
2795 "listed in the following section. See the \"PARAMETERS\" section for more "
2796 "details."
2797 msgstr ""
2798
2799 #. type: Plain text
2800 #: archlinux debian-trixie debian-unstable
2801 msgid ""
2802 "\\&B<EVP_CIPHER_CTX_ctrl()> can be used to send the following standard "
2803 "controls:"
2804 msgstr ""
2805
2806 #. type: IX
2807 #: archlinux debian-trixie debian-unstable
2808 #, no-wrap
2809 msgid "EVP_CTRL_AEAD_SET_IVLEN and EVP_CTRL_GET_IVLEN"
2810 msgstr ""
2811
2812 #. type: Plain text
2813 #: archlinux debian-trixie debian-unstable
2814 msgid ""
2815 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> and "
2816 "\\&B<EVP_CIPHER_CTX_get_params()> get called with an B<OSSL_PARAM>\\|(3) "
2817 "item with the key \"ivlen\" (B<OSSL_CIPHER_PARAM_IVLEN>)."
2818 msgstr ""
2819
2820 #. type: IX
2821 #: archlinux debian-trixie debian-unstable
2822 #, no-wrap
2823 msgid "EVP_CTRL_AEAD_SET_IV_FIXED"
2824 msgstr ""
2825
2826 #. type: Plain text
2827 #: archlinux debian-trixie debian-unstable
2828 msgid ""
2829 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2830 "called with an B<OSSL_PARAM>\\|(3) item with the key \"tlsivfixed\" "
2831 "(B<OSSL_CIPHER_PARAM_AEAD_TLS1_IV_FIXED>)."
2832 msgstr ""
2833
2834 #. type: IX
2835 #: archlinux debian-trixie debian-unstable
2836 #, no-wrap
2837 msgid "EVP_CTRL_AEAD_SET_MAC_KEY"
2838 msgstr ""
2839
2840 #. type: Plain text
2841 #: archlinux debian-trixie debian-unstable
2842 msgid ""
2843 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2844 "called with an B<OSSL_PARAM>\\|(3) item with the key \"mackey\" "
2845 "(B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>)."
2846 msgstr ""
2847
2848 #. type: IX
2849 #: archlinux debian-trixie debian-unstable
2850 #, no-wrap
2851 msgid "EVP_CTRL_AEAD_SET_TAG and EVP_CTRL_AEAD_GET_TAG"
2852 msgstr ""
2853
2854 #. type: Plain text
2855 #: archlinux debian-trixie debian-unstable
2856 msgid ""
2857 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> and "
2858 "\\&B<EVP_CIPHER_CTX_get_params()> get called with an B<OSSL_PARAM>\\|(3) "
2859 "item with the key \"tag\" (B<OSSL_CIPHER_PARAM_AEAD_TAG>)."
2860 msgstr ""
2861
2862 #. type: IX
2863 #: archlinux debian-trixie debian-unstable
2864 #, no-wrap
2865 msgid "EVP_CTRL_CCM_SET_L"
2866 msgstr ""
2867
2868 #. type: Plain text
2869 #: archlinux debian-trixie debian-unstable
2870 msgid ""
2871 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2872 "called with an B<OSSL_PARAM>\\|(3) item with the key \"ivlen\" "
2873 "(B<OSSL_CIPHER_PARAM_IVLEN>) with a value of (15 - L)"
2874 msgstr ""
2875
2876 #. type: IX
2877 #: archlinux debian-trixie debian-unstable
2878 #, no-wrap
2879 msgid "EVP_CTRL_COPY"
2880 msgstr ""
2881
2882 #. type: Plain text
2883 #: archlinux debian-trixie debian-unstable
2884 msgid ""
2885 "There is no OSSL_PARAM mapping for this. Use B<EVP_CIPHER_CTX_copy()> "
2886 "instead."
2887 msgstr ""
2888
2889 #. type: IX
2890 #: archlinux debian-trixie debian-unstable
2891 #, no-wrap
2892 msgid "EVP_CTRL_GCM_SET_IV_INV"
2893 msgstr ""
2894
2895 #. type: Plain text
2896 #: archlinux debian-trixie debian-unstable
2897 msgid ""
2898 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2899 "called with an B<OSSL_PARAM>\\|(3) item with the key \"tlsivinv\" "
2900 "(B<OSSL_CIPHER_PARAM_AEAD_TLS1_SET_IV_INV>)."
2901 msgstr ""
2902
2903 #. type: IX
2904 #: archlinux debian-trixie debian-unstable
2905 #, no-wrap
2906 msgid "EVP_CTRL_RAND_KEY"
2907 msgstr ""
2908
2909 #. type: Plain text
2910 #: archlinux debian-trixie debian-unstable
2911 msgid ""
2912 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2913 "called with an B<OSSL_PARAM>\\|(3) item with the key \"randkey\" "
2914 "(B<OSSL_CIPHER_PARAM_RANDOM_KEY>)."
2915 msgstr ""
2916
2917 #. type: IX
2918 #: archlinux debian-trixie debian-unstable
2919 #, no-wrap
2920 msgid "EVP_CTRL_SET_KEY_LENGTH"
2921 msgstr ""
2922
2923 #. type: Plain text
2924 #: archlinux debian-trixie debian-unstable
2925 msgid ""
2926 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2927 "called with an B<OSSL_PARAM>\\|(3) item with the key \"keylen\" "
2928 "(B<OSSL_CIPHER_PARAM_KEYLEN>)."
2929 msgstr ""
2930
2931 #. type: IX
2932 #: archlinux debian-trixie debian-unstable
2933 #, no-wrap
2934 msgid "EVP_CTRL_SET_RC2_KEY_BITS and EVP_CTRL_GET_RC2_KEY_BITS"
2935 msgstr ""
2936
2937 #. type: Plain text
2938 #: archlinux debian-trixie debian-unstable
2939 msgid ""
2940 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> and "
2941 "\\&B<EVP_CIPHER_CTX_get_params()> get called with an B<OSSL_PARAM>\\|(3) "
2942 "item with the key \"keybits\" (B<OSSL_CIPHER_PARAM_RC2_KEYBITS>)."
2943 msgstr ""
2944
2945 #. type: IX
2946 #: archlinux debian-trixie debian-unstable
2947 #, no-wrap
2948 msgid "EVP_CTRL_SET_RC5_ROUNDS and EVP_CTRL_GET_RC5_ROUNDS"
2949 msgstr ""
2950
2951 #. type: Plain text
2952 #: archlinux debian-trixie debian-unstable
2953 msgid ""
2954 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> and "
2955 "\\&B<EVP_CIPHER_CTX_get_params()> get called with an B<OSSL_PARAM>\\|(3) "
2956 "item with the key \"rounds\" (B<OSSL_CIPHER_PARAM_ROUNDS>)."
2957 msgstr ""
2958
2959 #. type: IX
2960 #: archlinux debian-trixie debian-unstable
2961 #, no-wrap
2962 msgid "EVP_CTRL_SET_SPEED"
2963 msgstr ""
2964
2965 #. type: Plain text
2966 #: archlinux debian-trixie debian-unstable
2967 msgid ""
2968 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
2969 "called with an B<OSSL_PARAM>\\|(3) item with the key \"speed\" "
2970 "(B<OSSL_CIPHER_PARAM_SPEED>)."
2971 msgstr ""
2972
2973 #. type: IX
2974 #: archlinux debian-trixie debian-unstable
2975 #, no-wrap
2976 msgid "EVP_CTRL_GCM_IV_GEN"
2977 msgstr ""
2978
2979 #. type: Plain text
2980 #: archlinux debian-trixie debian-unstable
2981 msgid ""
2982 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_get_params()> gets "
2983 "called with an B<OSSL_PARAM>\\|(3) item with the key \"tlsivgen\" "
2984 "(B<OSSL_CIPHER_PARAM_AEAD_TLS1_GET_IV_GEN>)."
2985 msgstr ""
2986
2987 #. type: IX
2988 #: archlinux debian-trixie debian-unstable
2989 #, no-wrap
2990 msgid "EVP_CTRL_AEAD_TLS1_AAD"
2991 msgstr ""
2992
2993 #. type: Plain text
2994 #: archlinux debian-trixie debian-unstable
2995 msgid ""
2996 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> get "
2997 "called with an B<OSSL_PARAM>\\|(3) item with the key \"tlsaad\" "
2998 "(B<OSSL_CIPHER_PARAM_AEAD_TLS1_AAD>) followed by "
2999 "B<EVP_CIPHER_CTX_get_params()> with a key of \"tlsaadpad\" "
3000 "(B<OSSL_CIPHER_PARAM_AEAD_TLS1_AAD_PAD>)."
3001 msgstr ""
3002
3003 #. type: IX
3004 #: archlinux debian-trixie debian-unstable
3005 #, no-wrap
3006 msgid "EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE"
3007 msgstr ""
3008
3009 #. type: Plain text
3010 #: archlinux debian-trixie debian-unstable
3011 msgid ""
3012 "When used with a fetched B<EVP_CIPHER>, \\&B<EVP_CIPHER_CTX_set_params()> "
3013 "gets called with an B<OSSL_PARAM>\\|(3) item with the key "
3014 "OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_SEND_FRAGMENT followed by "
3015 "B<EVP_CIPHER_CTX_get_params()> with a key of \"tls1multi_maxbufsz\" "
3016 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_MAX_BUFSIZE>)."
3017 msgstr ""
3018
3019 #. type: IX
3020 #: archlinux debian-trixie debian-unstable
3021 #, no-wrap
3022 msgid "EVP_CTRL_TLS1_1_MULTIBLOCK_AAD"
3023 msgstr ""
3024
3025 #. type: Plain text
3026 #: archlinux debian-trixie debian-unstable
3027 msgid ""
3028 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
3029 "called with B<OSSL_PARAM>\\|(3) items with the keys \"tls1multi_aad\" "
3030 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD>) and \"tls1multi_interleave\" "
3031 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE>) followed by "
3032 "B<EVP_CIPHER_CTX_get_params()> with keys of \"tls1multi_aadpacklen\" "
3033 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_AAD_PACKLEN>) and "
3034 "\"tls1multi_interleave\" (B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE>)."
3035 msgstr ""
3036
3037 #. type: IX
3038 #: archlinux debian-trixie debian-unstable
3039 #, no-wrap
3040 msgid "EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT"
3041 msgstr ""
3042
3043 #. type: Plain text
3044 #: archlinux debian-trixie debian-unstable
3045 msgid ""
3046 "When used with a fetched B<EVP_CIPHER>, B<EVP_CIPHER_CTX_set_params()> gets "
3047 "called with B<OSSL_PARAM>\\|(3) items with the keys \"tls1multi_enc\" "
3048 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC>), \"tls1multi_encin\" "
3049 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_IN>) and \"tls1multi_interleave\" "
3050 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_INTERLEAVE>), followed by "
3051 "B<EVP_CIPHER_CTX_get_params()> with a key of \"tls1multi_enclen\" "
3052 "(B<OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK_ENC_LEN>)."
3053 msgstr ""
3054
3055 #. type: IX
3056 #: archlinux debian-trixie debian-unstable
3057 #, no-wrap
3058 msgid "FLAGS"
3059 msgstr ""
3060
3061 #. type: Plain text
3062 #: archlinux debian-trixie debian-unstable
3063 msgid ""
3064 "\\&B<EVP_CIPHER_CTX_set_flags()>, B<EVP_CIPHER_CTX_clear_flags()> and "
3065 "B<EVP_CIPHER_CTX_test_flags()>. can be used to manipulate and test these "
3066 "B<EVP_CIPHER_CTX> flags:"
3067 msgstr ""
3068
3069 #. type: IX
3070 #: archlinux debian-trixie debian-unstable
3071 #, no-wrap
3072 msgid "EVP_CIPH_NO_PADDING"
3073 msgstr ""
3074
3075 #. type: Plain text
3076 #: archlinux debian-trixie debian-unstable
3077 msgid "Used by B<EVP_CIPHER_CTX_set_padding()>."
3078 msgstr ""
3079
3080 #. type: Plain text
3081 #: archlinux debian-trixie debian-unstable
3082 msgid ""
3083 "See also \"Gettable and Settable EVP_CIPHER_CTX parameters\" \"padding\""
3084 msgstr ""
3085
3086 #. type: IX
3087 #: archlinux debian-trixie debian-unstable
3088 #, no-wrap
3089 msgid "EVP_CIPH_FLAG_LENGTH_BITS"
3090 msgstr ""
3091
3092 #. type: Plain text
3093 #: archlinux debian-trixie debian-unstable
3094 msgid "See \"Settable EVP_CIPHER_CTX parameters\" \"use-bits\"."
3095 msgstr ""
3096
3097 #. type: IX
3098 #: archlinux debian-trixie debian-unstable
3099 #, no-wrap
3100 msgid "EVP_CIPHER_CTX_FLAG_WRAP_ALLOW"
3101 msgstr ""
3102
3103 #. type: Plain text
3104 #: archlinux debian-trixie debian-unstable
3105 msgid ""
3106 "Used for Legacy purposes only. This flag needed to be set to indicate the "
3107 "cipher handled wrapping."
3108 msgstr ""
3109
3110 #. type: Plain text
3111 #: archlinux debian-trixie debian-unstable
3112 msgid ""
3113 "\\&B<EVP_CIPHER_flags()> uses the following flags that have mappings to "
3114 "\"Gettable EVP_CIPHER parameters\":"
3115 msgstr ""
3116
3117 #. type: IX
3118 #: archlinux debian-trixie debian-unstable
3119 #, no-wrap
3120 msgid "EVP_CIPH_FLAG_AEAD_CIPHER"
3121 msgstr ""
3122
3123 #. type: Plain text
3124 #: archlinux debian-trixie debian-unstable
3125 msgid "See \"Gettable EVP_CIPHER parameters\" \"aead\"."
3126 msgstr ""
3127
3128 #. type: IX
3129 #: archlinux debian-trixie debian-unstable
3130 #, no-wrap
3131 msgid "EVP_CIPH_CUSTOM_IV"
3132 msgstr ""
3133
3134 #. type: Plain text
3135 #: archlinux debian-trixie debian-unstable
3136 msgid "See \"Gettable EVP_CIPHER parameters\" \"custom-iv\"."
3137 msgstr ""
3138
3139 #. type: IX
3140 #: archlinux debian-trixie debian-unstable
3141 #, no-wrap
3142 msgid "EVP_CIPH_FLAG_CTS"
3143 msgstr ""
3144
3145 #. type: Plain text
3146 #: archlinux debian-trixie debian-unstable
3147 msgid "See \"Gettable EVP_CIPHER parameters\" \"cts\"."
3148 msgstr ""
3149
3150 #. type: IX
3151 #: archlinux debian-trixie debian-unstable
3152 #, no-wrap
3153 msgid "EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK;"
3154 msgstr ""
3155
3156 #. type: Plain text
3157 #: archlinux debian-trixie debian-unstable
3158 msgid "See \"Gettable EVP_CIPHER parameters\" \"tls-multi\"."
3159 msgstr ""
3160
3161 #. type: IX
3162 #: archlinux debian-trixie debian-unstable
3163 #, no-wrap
3164 msgid "EVP_CIPH_RAND_KEY"
3165 msgstr ""
3166
3167 #. type: Plain text
3168 #: archlinux debian-trixie debian-unstable
3169 msgid "See \"Gettable EVP_CIPHER parameters\" \"has-randkey\"."
3170 msgstr ""
3171
3172 #. type: Plain text
3173 #: archlinux debian-trixie debian-unstable
3174 msgid ""
3175 "\\&B<EVP_CIPHER_flags()> uses the following flags for legacy purposes only:"
3176 msgstr ""
3177
3178 #. type: IX
3179 #: archlinux debian-trixie debian-unstable
3180 #, no-wrap
3181 msgid "EVP_CIPH_VARIABLE_LENGTH"
3182 msgstr ""
3183
3184 #. type: IX
3185 #: archlinux debian-trixie debian-unstable
3186 #, no-wrap
3187 msgid "EVP_CIPH_FLAG_CUSTOM_CIPHER"
3188 msgstr ""
3189
3190 #. type: IX
3191 #: archlinux debian-trixie debian-unstable
3192 #, no-wrap
3193 msgid "EVP_CIPH_ALWAYS_CALL_INIT"
3194 msgstr ""
3195
3196 #. type: IX
3197 #: archlinux debian-trixie debian-unstable
3198 #, no-wrap
3199 msgid "EVP_CIPH_CTRL_INIT"
3200 msgstr ""
3201
3202 #. type: IX
3203 #: archlinux debian-trixie debian-unstable
3204 #, no-wrap
3205 msgid "EVP_CIPH_CUSTOM_KEY_LENGTH"
3206 msgstr ""
3207
3208 #. type: IX
3209 #: archlinux debian-trixie debian-unstable
3210 #, no-wrap
3211 msgid "EVP_CIPH_CUSTOM_COPY"
3212 msgstr ""
3213
3214 #. type: IX
3215 #: archlinux debian-trixie debian-unstable
3216 #, no-wrap
3217 msgid "EVP_CIPH_FLAG_DEFAULT_ASN1"
3218 msgstr ""
3219
3220 #. type: Plain text
3221 #: archlinux debian-trixie debian-unstable
3222 msgid ""
3223 "See B<EVP_CIPHER_meth_set_flags>\\|(3) for further information related to "
3224 "the above flags."
3225 msgstr ""
3226
3227 #. type: IX
3228 #: archlinux debian-trixie debian-unstable
3229 #, no-wrap
3230 msgid "RETURN VALUES"
3231 msgstr ""
3232
3233 #. type: Plain text
3234 #: archlinux debian-trixie debian-unstable
3235 msgid ""
3236 "\\&B<EVP_CIPHER_fetch()> returns a pointer to a B<EVP_CIPHER> for success "
3237 "and NULL for failure."
3238 msgstr ""
3239
3240 #. type: Plain text
3241 #: archlinux debian-trixie debian-unstable
3242 msgid "\\&B<EVP_CIPHER_up_ref()> returns 1 for success or 0 otherwise."
3243 msgstr ""
3244
3245 #. type: Plain text
3246 #: archlinux debian-trixie debian-unstable
3247 msgid ""
3248 "\\&B<EVP_CIPHER_CTX_new()> returns a pointer to a newly created "
3249 "\\&B<EVP_CIPHER_CTX> for success and NULL for failure."
3250 msgstr ""
3251
3252 #. type: Plain text
3253 #: archlinux debian-trixie debian-unstable
3254 msgid ""
3255 "\\&B<EVP_CIPHER_CTX_dup()> returns a new EVP_CIPHER_CTX if successful or "
3256 "NULL on failure."
3257 msgstr ""
3258
3259 #. type: Plain text
3260 #: archlinux debian-trixie debian-unstable
3261 msgid "\\&B<EVP_CIPHER_CTX_copy()> returns 1 if successful or 0 for failure."
3262 msgstr ""
3263
3264 #. type: Plain text
3265 #: archlinux debian-trixie debian-unstable
3266 msgid ""
3267 "\\&B<EVP_EncryptInit_ex2()>, B<EVP_EncryptUpdate()> and "
3268 "B<EVP_EncryptFinal_ex()> return 1 for success and 0 for failure."
3269 msgstr ""
3270
3271 #. type: Plain text
3272 #: archlinux debian-trixie debian-unstable
3273 msgid ""
3274 "\\&B<EVP_DecryptInit_ex2()> and B<EVP_DecryptUpdate()> return 1 for success "
3275 "and 0 for failure. \\&B<EVP_DecryptFinal_ex()> returns 0 if the decrypt "
3276 "failed or 1 for success."
3277 msgstr ""
3278
3279 #. type: Plain text
3280 #: archlinux debian-trixie debian-unstable
3281 msgid ""
3282 "\\&B<EVP_CipherInit_ex2()>, B<EVP_CipherInit_SKEY()> and "
3283 "B<EVP_CipherUpdate()> return 1 for success and 0 for failure. "
3284 "\\&B<EVP_CipherFinal_ex()> returns 0 for an encryption/decryption failure or "
3285 "1 for success."
3286 msgstr ""
3287
3288 #. type: Plain text
3289 #: archlinux debian-trixie debian-unstable
3290 msgid ""
3291 "\\&B<EVP_Cipher()> returns 1 on success and E<lt>= 0 on failure, if the flag "
3292 "\\&B<EVP_CIPH_FLAG_CUSTOM_CIPHER> is not set for the cipher, or if the "
3293 "cipher has not been initialized via a call to B<EVP_CipherInit_ex2>. "
3294 "\\&B<EVP_Cipher()> returns the number of bytes written to I<out> for "
3295 "encryption/decryption, or the number of bytes authenticated in a call "
3296 "specifying AAD for an AEAD cipher, if the flag "
3297 "B<EVP_CIPH_FLAG_CUSTOM_CIPHER> is set for the cipher."
3298 msgstr ""
3299
3300 #. type: Plain text
3301 #: archlinux debian-trixie debian-unstable
3302 msgid ""
3303 "\\&B<EVP_CIPHER_can_pipeline()> returns 1 if the cipher can be used in a "
3304 "pipeline, 0 otherwise."
3305 msgstr ""
3306
3307 #. type: Plain text
3308 #: archlinux debian-trixie debian-unstable
3309 msgid ""
3310 "\\&B<EVP_CipherPipelineEncryptInit()> and B<EVP_CipherPipelineDecryptInit()> "
3311 "return 1 for success and 0 for failure."
3312 msgstr ""
3313
3314 #. type: Plain text
3315 #: archlinux debian-trixie debian-unstable
3316 msgid ""
3317 "\\&B<EVP_CipherPipelineUpdate()> and B<EVP_CipherPipelineFinal()> return 1 "
3318 "for success and 0 for failure."
3319 msgstr ""
3320
3321 #. type: Plain text
3322 #: archlinux debian-trixie debian-unstable
3323 msgid "\\&B<EVP_CIPHER_CTX_reset()> returns 1 for success and 0 for failure."
3324 msgstr ""
3325
3326 #. type: Plain text
3327 #: archlinux debian-trixie debian-unstable
3328 msgid ""
3329 "\\&B<EVP_get_cipherbyname()>, B<EVP_get_cipherbynid()> and "
3330 "B<EVP_get_cipherbyobj()> return an B<EVP_CIPHER> structure or NULL on error."
3331 msgstr ""
3332
3333 #. type: Plain text
3334 #: archlinux debian-trixie debian-unstable
3335 msgid ""
3336 "\\&B<EVP_CIPHER_get_nid()> and B<EVP_CIPHER_CTX_get_nid()> return a NID."
3337 msgstr ""
3338
3339 #. type: Plain text
3340 #: archlinux debian-trixie debian-unstable
3341 msgid ""
3342 "\\&B<EVP_CIPHER_get_block_size()> and B<EVP_CIPHER_CTX_get_block_size()> "
3343 "return the block size, or 0 on error."
3344 msgstr ""
3345
3346 #. type: Plain text
3347 #: archlinux debian-trixie debian-unstable
3348 msgid ""
3349 "\\&B<EVP_CIPHER_get_key_length()> and B<EVP_CIPHER_CTX_get_key_length()> "
3350 "return the key length."
3351 msgstr ""
3352
3353 #. type: Plain text
3354 #: archlinux debian-trixie debian-unstable
3355 msgid "\\&B<EVP_CIPHER_CTX_set_padding()> always returns 1."
3356 msgstr ""
3357
3358 #. type: Plain text
3359 #: archlinux debian-trixie debian-unstable
3360 msgid ""
3361 "\\&B<EVP_CIPHER_get_iv_length()> and B<EVP_CIPHER_CTX_get_iv_length()> "
3362 "return the IV length, zero if the cipher does not use an IV and a negative "
3363 "value on error."
3364 msgstr ""
3365
3366 #. type: Plain text
3367 #: archlinux debian-trixie debian-unstable
3368 msgid ""
3369 "\\&B<EVP_CIPHER_CTX_get_tag_length()> return the tag length or zero if the "
3370 "cipher does not use a tag."
3371 msgstr ""
3372
3373 #. type: Plain text
3374 #: archlinux
3375 msgid ""
3376 "\\&B<EVP_CIPHER_get_type()> and B<EVP_CIPHER_CTX_get_type()> return the NID "
3377 "of the cipher\\*(Aqs OBJECT IDENTIFIER or NID_undef if it has no defined "
3378 "OBJECT IDENTIFIER."
3379 msgstr ""
3380
3381 #. type: Plain text
3382 #: archlinux debian-trixie debian-unstable
3383 msgid "\\&B<EVP_CIPHER_CTX_cipher()> returns an B<EVP_CIPHER> structure."
3384 msgstr ""
3385
3386 #. type: Plain text
3387 #: archlinux debian-trixie debian-unstable
3388 msgid ""
3389 "\\&B<EVP_CIPHER_CTX_get_num()> returns a nonnegative num value or "
3390 "\\&B<EVP_CTRL_RET_UNSUPPORTED> if the implementation does not support the "
3391 "call or on any other error."
3392 msgstr ""
3393
3394 #. type: Plain text
3395 #: archlinux debian-trixie debian-unstable
3396 msgid ""
3397 "\\&B<EVP_CIPHER_CTX_set_num()> returns 1 on success and 0 if the "
3398 "implementation does not support the call or on any other error."
3399 msgstr ""
3400
3401 #. type: Plain text
3402 #: archlinux debian-trixie debian-unstable
3403 msgid ""
3404 "\\&B<EVP_CIPHER_CTX_is_encrypting()> returns 1 if the I<ctx> is set up for "
3405 "encryption 0 otherwise."
3406 msgstr ""
3407
3408 #. type: Plain text
3409 #: archlinux debian-trixie debian-unstable
3410 msgid ""
3411 "\\&B<EVP_CIPHER_param_to_asn1()> and B<EVP_CIPHER_asn1_to_param()> return "
3412 "greater than zero for success and zero or a negative number on failure."
3413 msgstr ""
3414
3415 #. type: Plain text
3416 #: archlinux debian-trixie debian-unstable
3417 msgid ""
3418 "\\&B<EVP_CIPHER_CTX_rand_key()> returns 1 for success and zero or a negative "
3419 "number for failure."
3420 msgstr ""
3421
3422 #. type: Plain text
3423 #: archlinux debian-trixie debian-unstable
3424 msgid ""
3425 "\\&B<EVP_CIPHER_names_do_all()> returns 1 if the callback was called for all "
3426 "names. A return value of 0 means that the callback was not called for any "
3427 "names."
3428 msgstr ""
3429
3430 #. type: Plain text
3431 #: archlinux debian-trixie debian-unstable
3432 msgid ""
3433 "\\&B<EVP_CIPHER_get_params()>, B<EVP_CIPHER_CTX_get_params()> and "
3434 "\\&B<EVP_CIPHER_CTX_set_params()> return 1 for success and 0 for failure."
3435 msgstr ""
3436
3437 #. type: IX
3438 #: archlinux debian-trixie debian-unstable
3439 #, no-wrap
3440 msgid "CIPHER LISTING"
3441 msgstr ""
3442
3443 #. type: Plain text
3444 #: archlinux debian-trixie debian-unstable
3445 msgid "All algorithms have a fixed key length unless otherwise stated."
3446 msgstr ""
3447
3448 #. type: Plain text
3449 #: archlinux debian-trixie debian-unstable
3450 msgid ""
3451 "Refer to \"SEE ALSO\" for the full list of ciphers available through the EVP "
3452 "interface."
3453 msgstr ""
3454
3455 #. type: IP
3456 #: archlinux debian-trixie debian-unstable
3457 #, no-wrap
3458 msgid "B<EVP_enc_null()>"
3459 msgstr ""
3460
3461 #. type: IX
3462 #: archlinux debian-trixie debian-unstable
3463 #, no-wrap
3464 msgid "EVP_enc_null()"
3465 msgstr ""
3466
3467 #. type: Plain text
3468 #: archlinux debian-trixie debian-unstable
3469 msgid "Null cipher: does nothing."
3470 msgstr ""
3471
3472 #. type: IX
3473 #: archlinux debian-trixie debian-unstable
3474 #, no-wrap
3475 msgid "AEAD INTERFACE"
3476 msgstr ""
3477
3478 #. type: Plain text
3479 #: archlinux debian-trixie debian-unstable
3480 msgid ""
3481 "The EVP interface for Authenticated Encryption with Associated Data (AEAD) "
3482 "modes are subtly altered and several additional I<ctrl> operations are "
3483 "supported depending on the mode specified."
3484 msgstr ""
3485
3486 #. type: Plain text
3487 #: archlinux debian-trixie debian-unstable
3488 msgid ""
3489 "To specify additional authenticated data (AAD), a call to "
3490 "B<EVP_CipherUpdate()>, \\&B<EVP_EncryptUpdate()> or B<EVP_DecryptUpdate()> "
3491 "should be made with the output parameter I<out> set to NULL. In this case, "
3492 "on success, the parameter \\&I<outl> is set to the number of AAD bytes "
3493 "processed in that call (that is, the value of I<inl>), and does not include "
3494 "any plaintext or ciphertext bytes processed by other calls."
3495 msgstr ""
3496
3497 #. type: Plain text
3498 #: archlinux debian-trixie debian-unstable
3499 msgid ""
3500 "If no AAD is used, this call can be omitted. See the mode-specific notes "
3501 "below for any exceptions."
3502 msgstr ""
3503
3504 #. type: Plain text
3505 #: archlinux debian-trixie debian-unstable
3506 msgid ""
3507 "When decrypting, the return value of B<EVP_DecryptFinal()> or "
3508 "B<EVP_CipherFinal()> indicates whether the operation was successful. If it "
3509 "does not indicate success, the authentication operation has failed and any "
3510 "output data B<MUST NOT> be used as it is corrupted."
3511 msgstr ""
3512
3513 #. type: Plain text
3514 #: archlinux debian-trixie debian-unstable
3515 msgid ""
3516 "Please note that the number of authenticated bytes returned by "
3517 "\\&B<EVP_CipherUpdate()> depends on the cipher used. Stream ciphers, such as "
3518 "ChaCha20 or ciphers in GCM mode, can handle 1 byte at a time, resulting in "
3519 "an effective \"block\" size of 1. Conversely, ciphers in OCB mode must "
3520 "process data one block at a time, and the block size is returned."
3521 msgstr ""
3522
3523 #. type: Plain text
3524 #: archlinux debian-trixie debian-unstable
3525 msgid ""
3526 "Regardless of the returned size, it is safe to pass unpadded data to an "
3527 "\\&B<EVP_CipherUpdate()> call in a single operation."
3528 msgstr ""
3529
3530 #. type: IX
3531 #: archlinux debian-trixie debian-unstable
3532 #, no-wrap
3533 msgid "GCM and OCB Modes"
3534 msgstr ""
3535
3536 #. type: Plain text
3537 #: archlinux debian-trixie debian-unstable
3538 msgid "The following I<ctrl>s are supported in GCM and OCB modes."
3539 msgstr ""
3540
3541 #. type: IX
3542 #: archlinux debian-trixie debian-unstable
3543 #, no-wrap
3544 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL)"
3545 msgstr ""
3546
3547 #. type: Plain text
3548 #: archlinux debian-trixie debian-unstable
3549 msgid ""
3550 "Sets the IV length. This call can only be made before specifying an IV. If "
3551 "not called a default IV length is used."
3552 msgstr ""
3553
3554 #. type: Plain text
3555 #: archlinux debian-trixie debian-unstable
3556 msgid ""
3557 "For GCM AES and OCB AES the default is 12 (i.e. 96 bits). For OCB mode the "
3558 "maximum is 15."
3559 msgstr ""
3560
3561 #. type: IX
3562 #: archlinux debian-trixie debian-unstable
3563 #, no-wrap
3564 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag)"
3565 msgstr ""
3566
3567 #. type: Plain text
3568 #: archlinux debian-trixie debian-unstable
3569 msgid ""
3570 "Writes CW<\\*(C`taglen\\*(C'> bytes of the tag value to the buffer indicated "
3571 "by CW<\\*(C`tag\\*(C'>. This call can only be made when encrypting data and "
3572 "B<after> all data has been processed (e.g. after an B<EVP_EncryptFinal()> "
3573 "call)."
3574 msgstr ""
3575
3576 #. type: Plain text
3577 #: archlinux debian-trixie debian-unstable
3578 msgid ""
3579 "For OCB, CW<\\*(C`taglen\\*(C'> must either be 16 or the value previously "
3580 "set via \\&B<EVP_CTRL_AEAD_SET_TAG>."
3581 msgstr ""
3582
3583 #. type: IX
3584 #: archlinux debian-trixie debian-unstable
3585 #, no-wrap
3586 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag)"
3587 msgstr ""
3588
3589 #. type: Plain text
3590 #: archlinux debian-trixie debian-unstable
3591 msgid ""
3592 "When decrypting, this call sets the expected tag to CW<\\*(C`taglen\\*(C'> "
3593 "bytes from CW<\\*(C`tag\\*(C'>. \\&CW<\\*(C`taglen\\*(C'> must be between 1 "
3594 "and 16 inclusive. The tag must be set prior to any call to "
3595 "B<EVP_DecryptFinal()> or \\&B<EVP_DecryptFinal_ex()>."
3596 msgstr ""
3597
3598 #. type: Plain text
3599 #: archlinux debian-trixie debian-unstable
3600 msgid "For GCM, this call is only valid when decrypting data."
3601 msgstr ""
3602
3603 #. type: Plain text
3604 #: archlinux debian-trixie debian-unstable
3605 msgid ""
3606 "For OCB, this call is valid when decrypting data to set the expected tag, "
3607 "and when encrypting to set the desired tag length."
3608 msgstr ""
3609
3610 #. type: Plain text
3611 #: archlinux debian-trixie debian-unstable
3612 msgid ""
3613 "In OCB mode, calling this with CW<\\*(C`tag\\*(C'> set to "
3614 "CW<\\*(C`NULL\\*(C'> sets the tag length. The tag length can only be set "
3615 "before specifying an IV. If this is not called prior to setting the IV, then "
3616 "a default tag length is used."
3617 msgstr ""
3618
3619 #. type: Plain text
3620 #: archlinux debian-trixie debian-unstable
3621 msgid ""
3622 "For OCB AES, the default tag length is 16 (i.e. 128 bits). It is also the "
3623 "maximum tag length for OCB."
3624 msgstr ""
3625
3626 #. type: IX
3627 #: archlinux debian-trixie debian-unstable
3628 #, no-wrap
3629 msgid "CCM Mode"
3630 msgstr ""
3631
3632 #. type: Plain text
3633 #: archlinux debian-trixie debian-unstable
3634 msgid ""
3635 "The EVP interface for CCM mode is similar to that of the GCM mode but with a "
3636 "few additional requirements and different I<ctrl> values."
3637 msgstr ""
3638
3639 #. type: Plain text
3640 #: archlinux debian-trixie debian-unstable
3641 msgid ""
3642 "For CCM mode, the total plaintext or ciphertext length B<MUST> be passed to "
3643 "\\&B<EVP_CipherUpdate()>, B<EVP_EncryptUpdate()> or B<EVP_DecryptUpdate()> "
3644 "with the output and input parameters (I<in> and I<out>) set to NULL and the "
3645 "length passed in the I<inl> parameter."
3646 msgstr ""
3647
3648 #. type: Plain text
3649 #: archlinux debian-trixie debian-unstable
3650 msgid "The following I<ctrl>s are supported in CCM mode."
3651 msgstr ""
3652
3653 #. type: Plain text
3654 #: archlinux debian-trixie debian-unstable
3655 msgid ""
3656 "This call is made to set the expected B<CCM> tag value when decrypting or "
3657 "the length of the tag (with the CW<\\*(C`tag\\*(C'> parameter set to NULL) "
3658 "when encrypting. The tag length is often referred to as B<M>. If not set a "
3659 "default value is used (12 for AES). When decrypting, the tag needs to be set "
3660 "before passing in data to be decrypted, but as in GCM and OCB mode, it can "
3661 "be set after passing additional authenticated data (see \"AEAD INTERFACE\")."
3662 msgstr ""
3663
3664 #. type: IX
3665 #: archlinux debian-trixie debian-unstable
3666 #, no-wrap
3667 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_L, ivlen, NULL)"
3668 msgstr ""
3669
3670 #. type: Plain text
3671 #: archlinux debian-trixie debian-unstable
3672 msgid "Sets the CCM B<L> value. If not set a default is used (8 for AES)."
3673 msgstr ""
3674
3675 #. type: Plain text
3676 #: archlinux debian-trixie debian-unstable
3677 msgid ""
3678 "Sets the CCM nonce (IV) length. This call can only be made before specifying "
3679 "a nonce value. The nonce length is given by B<15 - L> so it is 7 by default "
3680 "for AES."
3681 msgstr ""
3682
3683 #. type: IX
3684 #: archlinux debian-trixie debian-unstable
3685 #, no-wrap
3686 msgid "SIV Mode"
3687 msgstr ""
3688
3689 #. type: Plain text
3690 #: archlinux debian-trixie debian-unstable
3691 msgid "Both the AES-SIV and AES-GCM-SIV ciphers fall under this mode."
3692 msgstr ""
3693
3694 #. type: Plain text
3695 #: archlinux debian-trixie debian-unstable
3696 msgid ""
3697 "For SIV mode ciphers the behaviour of the EVP interface is subtly altered "
3698 "and several additional ctrl operations are supported."
3699 msgstr ""
3700
3701 #. type: Plain text
3702 #: archlinux debian-trixie debian-unstable
3703 msgid ""
3704 "To specify any additional authenticated data (AAD) and/or a Nonce, a call to "
3705 "\\&B<EVP_CipherUpdate()>, B<EVP_EncryptUpdate()> or B<EVP_DecryptUpdate()> "
3706 "should be made with the output parameter I<out> set to NULL."
3707 msgstr ""
3708
3709 #. type: Plain text
3710 #: archlinux debian-trixie debian-unstable
3711 msgid ""
3712 "RFC5297 states that the Nonce is the last piece of AAD before the actual "
3713 "encrypt/decrypt takes place. The API does not differentiate the Nonce from "
3714 "other AAD."
3715 msgstr ""
3716
3717 #. type: Plain text
3718 #: archlinux debian-trixie debian-unstable
3719 msgid ""
3720 "When decrypting the return value of B<EVP_DecryptFinal()> or "
3721 "B<EVP_CipherFinal()> indicates if the operation was successful. If it does "
3722 "not indicate success the authentication operation has failed and any output "
3723 "data B<MUST NOT> be used as it is corrupted."
3724 msgstr ""
3725
3726 #. type: Plain text
3727 #: archlinux debian-trixie debian-unstable
3728 msgid ""
3729 "The API does not store the SIV (Synthetic Initialization Vector) in the "
3730 "cipher text. Instead, it is stored as the tag within the EVP_CIPHER_CTX. "
3731 "The SIV must be retrieved from the context after encryption, and set into "
3732 "the context before decryption."
3733 msgstr ""
3734
3735 #. type: Plain text
3736 #: archlinux debian-trixie debian-unstable
3737 msgid ""
3738 "This differs from RFC5297 in that the cipher output from encryption, and the "
3739 "cipher input to decryption, does not contain the SIV. This also means that "
3740 "the plain text and cipher text lengths are identical."
3741 msgstr ""
3742
3743 #. type: Plain text
3744 #: archlinux debian-trixie debian-unstable
3745 msgid ""
3746 "The following ctrls are supported in SIV mode, and are used to get and set "
3747 "the Synthetic Initialization Vector:"
3748 msgstr ""
3749
3750 #. type: IX
3751 #: archlinux debian-trixie debian-unstable
3752 #, no-wrap
3753 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag);"
3754 msgstr ""
3755
3756 #. type: Plain text
3757 #: archlinux debian-trixie debian-unstable
3758 msgid ""
3759 "Writes I<taglen> bytes of the tag value (the Synthetic Initialization "
3760 "Vector) to the buffer indicated by I<tag>. This call can only be made when "
3761 "encrypting data and B<after> all data has been processed (e.g. after an "
3762 "B<EVP_EncryptFinal()> call). For SIV mode the taglen must be 16."
3763 msgstr ""
3764
3765 #. type: IX
3766 #: archlinux debian-trixie debian-unstable
3767 #, no-wrap
3768 msgid "EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag);"
3769 msgstr ""
3770
3771 #. type: Plain text
3772 #: archlinux debian-trixie debian-unstable
3773 msgid ""
3774 "Sets the expected tag (the Synthetic Initialization Vector) to I<taglen> "
3775 "bytes from I<tag>. This call is only legal when decrypting data and must be "
3776 "made B<before> any data is processed (e.g. before any B<EVP_DecryptUpdate()> "
3777 "calls). For SIV mode the taglen must be 16."
3778 msgstr ""
3779
3780 #. type: Plain text
3781 #: archlinux debian-trixie debian-unstable
3782 msgid ""
3783 "SIV mode makes two passes over the input data, thus, only one call to "
3784 "\\&B<EVP_CipherUpdate()>, B<EVP_EncryptUpdate()> or B<EVP_DecryptUpdate()> "
3785 "should be made with I<out> set to a non-NULL value. A call to "
3786 "B<EVP_DecryptFinal()> or \\&B<EVP_CipherFinal()> is not required, but will "
3787 "indicate if the update operation succeeded."
3788 msgstr ""
3789
3790 #. type: IX
3791 #: archlinux debian-trixie debian-unstable
3792 #, no-wrap
3793 msgid "ChaCha20-Poly1305"
3794 msgstr ""
3795
3796 #. type: Plain text
3797 #: archlinux debian-trixie debian-unstable
3798 msgid ""
3799 "The following I<ctrl>s are supported for the ChaCha20-Poly1305 AEAD "
3800 "algorithm."
3801 msgstr ""
3802
3803 #. type: Plain text
3804 #: archlinux debian-trixie debian-unstable
3805 msgid ""
3806 "Sets the nonce length. This call is now redundant since the only valid value "
3807 "is the default length of 12 (i.e. 96 bits). Prior to OpenSSL 3.0 a nonce of "
3808 "less than 12 bytes could be used to automatically pad the iv with leading 0 "
3809 "bytes to make it 12 bytes in length."
3810 msgstr ""
3811
3812 #. type: Plain text
3813 #: archlinux debian-trixie debian-unstable
3814 msgid ""
3815 "\\&CW<\\*(C`taglen\\*(C'> specified here must be 16 (B<POLY1305_BLOCK_SIZE>, "
3816 "i.e. 128-bits) or less."
3817 msgstr ""
3818
3819 #. type: Plain text
3820 #: archlinux debian-trixie debian-unstable
3821 msgid ""
3822 "Sets the expected tag to CW<\\*(C`taglen\\*(C'> bytes from "
3823 "CW<\\*(C`tag\\*(C'>. The tag length can only be set before specifying an "
3824 "IV. \\&CW<\\*(C`taglen\\*(C'> must be between 1 and 16 "
3825 "(B<POLY1305_BLOCK_SIZE>) inclusive. This call is only valid when decrypting "
3826 "data."
3827 msgstr ""
3828
3829 #. type: IX
3830 #: archlinux debian-trixie debian-unstable
3831 #, no-wrap
3832 msgid "NOTES"
3833 msgstr ""
3834
3835 #. type: Plain text
3836 #: archlinux debian-trixie debian-unstable
3837 msgid ""
3838 "Where possible the B<EVP> interface to symmetric ciphers should be used in "
3839 "preference to the low-level interfaces. This is because the code then "
3840 "becomes transparent to the cipher used and much more flexible. Additionally, "
3841 "the \\&B<EVP> interface will ensure the use of platform specific "
3842 "cryptographic acceleration such as AES-NI (the low-level interfaces do not "
3843 "provide the guarantee)."
3844 msgstr ""
3845
3846 #. type: Plain text
3847 #: archlinux debian-trixie debian-unstable
3848 msgid ""
3849 "PKCS padding works by adding B<n> padding bytes of value B<n> to make the "
3850 "total length of the encrypted data a multiple of the block size. Padding is "
3851 "always added so if the data is already a multiple of the block size B<n> "
3852 "will equal the block size. For example if the block size is 8 and 11 bytes "
3853 "are to be encrypted then 5 padding bytes of value 5 will be added."
3854 msgstr ""
3855
3856 #. type: Plain text
3857 #: archlinux debian-trixie debian-unstable
3858 msgid ""
3859 "When decrypting the final block is checked to see if it has the correct form."
3860 msgstr ""
3861
3862 #. type: Plain text
3863 #: archlinux debian-trixie debian-unstable
3864 msgid ""
3865 "Although the decryption operation can produce an error if padding is "
3866 "enabled, it is not a strong test that the input data or key is correct. A "
3867 "random block has better than 1 in 256 chance of being of the correct format "
3868 "and problems with the input data earlier on will not produce a final decrypt "
3869 "error."
3870 msgstr ""
3871
3872 #. type: Plain text
3873 #: archlinux debian-trixie debian-unstable
3874 msgid ""
3875 "If padding is disabled then the decryption operation will always succeed if "
3876 "the total amount of data decrypted is a multiple of the block size."
3877 msgstr ""
3878
3879 #. type: Plain text
3880 #: archlinux debian-trixie debian-unstable
3881 msgid ""
3882 "The functions B<EVP_EncryptInit()>, B<EVP_EncryptInit_ex()>, "
3883 "\\&B<EVP_EncryptFinal()>, B<EVP_DecryptInit()>, B<EVP_DecryptInit_ex()>, "
3884 "\\&B<EVP_CipherInit()>, B<EVP_CipherInit_ex()> and B<EVP_CipherFinal()> are "
3885 "obsolete but are retained for compatibility with existing code. New code "
3886 "should use B<EVP_EncryptInit_ex2()>, B<EVP_EncryptFinal_ex()>, "
3887 "B<EVP_DecryptInit_ex2()>, \\&B<EVP_DecryptFinal_ex()>, "
3888 "B<EVP_CipherInit_ex2()> and B<EVP_CipherFinal_ex()> because they can reuse "
3889 "an existing context without allocating and freeing it up on each call."
3890 msgstr ""
3891
3892 #. type: Plain text
3893 #: archlinux debian-trixie debian-unstable
3894 msgid ""
3895 "There are some differences between functions B<EVP_CipherInit()> and "
3896 "\\&B<EVP_CipherInit_ex()>, significant in some circumstances. "
3897 "B<EVP_CipherInit()> fills the passed context object with zeros. As a "
3898 "consequence, B<EVP_CipherInit()> does not allow step-by-step initialization "
3899 "of the ctx when the I<key> and I<iv> are passed in separate calls. It also "
3900 "means that the flags set for the CTX are removed, and it is especially "
3901 "important for the \\&B<EVP_CIPHER_CTX_FLAG_WRAP_ALLOW> flag treated "
3902 "specially in \\&B<EVP_CipherInit_ex()>."
3903 msgstr ""
3904
3905 #. type: Plain text
3906 #: archlinux debian-trixie debian-unstable
3907 msgid ""
3908 "Ignoring failure returns of the B<EVP_CIPHER_CTX> initialization functions "
3909 "can lead to subsequent undefined behavior when calling the functions that "
3910 "update or finalize the context. The only valid calls on the "
3911 "B<EVP_CIPHER_CTX> when initialization fails are calls that attempt another "
3912 "initialization of the context or release the context."
3913 msgstr ""
3914
3915 #. type: Plain text
3916 #: archlinux debian-trixie debian-unstable
3917 msgid ""
3918 "\\&B<EVP_get_cipherbynid()>, and B<EVP_get_cipherbyobj()> are implemented as "
3919 "macros."
3920 msgstr ""
3921
3922 #. type: IX
3923 #: archlinux debian-trixie debian-unstable
3924 #, no-wrap
3925 msgid "BUGS"
3926 msgstr ""
3927
3928 #. type: Plain text
3929 #: archlinux debian-trixie debian-unstable
3930 msgid ""
3931 "\\&B<EVP_MAX_KEY_LENGTH> and B<EVP_MAX_IV_LENGTH> only refer to the internal "
3932 "ciphers with default key lengths. If custom ciphers exceed these values the "
3933 "results are unpredictable. This is because it has become standard practice "
3934 "to define a generic key as a fixed unsigned char array containing "
3935 "\\&B<EVP_MAX_KEY_LENGTH> bytes."
3936 msgstr ""
3937
3938 #. type: Plain text
3939 #: archlinux debian-trixie debian-unstable
3940 msgid ""
3941 "The ASN1 code is incomplete (and sometimes inaccurate) it has only been "
3942 "tested for certain common S/MIME ciphers (RC2, DES, triple DES) in CBC mode."
3943 msgstr ""
3944
3945 #. type: IX
3946 #: archlinux debian-trixie debian-unstable
3947 #, no-wrap
3948 msgid "EXAMPLES"
3949 msgstr ""
3950
3951 #. type: Plain text
3952 #: archlinux debian-trixie debian-unstable
3953 msgid "Encrypt a string using IDEA:"
3954 msgstr ""
3955
3956 #. type: Plain text
3957 #: archlinux debian-trixie debian-unstable
3958 #, no-wrap
3959 msgid ""
3960 "\\& int do_crypt(char *outfile)\n"
3961 "\\& {\n"
3962 "\\& unsigned char outbuf[1024];\n"
3963 "\\& int outlen, tmplen;\n"
3964 "\\& /*\n"
3965 "\\& * Bogus key and IV: we\\*(Aqd normally set these from\n"
3966 "\\& * another source.\n"
3967 "\\& */\n"
3968 "\\& unsigned char key[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};\n"
3969 "\\& unsigned char iv[] = {1,2,3,4,5,6,7,8};\n"
3970 "\\& char intext[] = \"Some Crypto Text\";\n"
3971 "\\& EVP_CIPHER_CTX *ctx;\n"
3972 "\\& FILE *out;\n"
3973 "\\&\n"
3974 "\\& ctx = EVP_CIPHER_CTX_new();\n"
3975 "\\& if (!EVP_EncryptInit_ex2(ctx, EVP_idea_cbc(), key, iv, NULL)) {\n"
3976 "\\& /* Error */\n"
3977 "\\& EVP_CIPHER_CTX_free(ctx);\n"
3978 "\\& return 0;\n"
3979 "\\& }\n"
3980 "\\&\n"
3981 "\\& if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, intext, strlen(intext))) {\n"
3982 "\\& /* Error */\n"
3983 "\\& EVP_CIPHER_CTX_free(ctx);\n"
3984 "\\& return 0;\n"
3985 "\\& }\n"
3986 "\\& /*\n"
3987 "\\& * Buffer passed to EVP_EncryptFinal() must be after data just\n"
3988 "\\& * encrypted to avoid overwriting it.\n"
3989 "\\& */\n"
3990 "\\& if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) {\n"
3991 "\\& /* Error */\n"
3992 "\\& EVP_CIPHER_CTX_free(ctx);\n"
3993 "\\& return 0;\n"
3994 "\\& }\n"
3995 "\\& outlen += tmplen;\n"
3996 "\\& EVP_CIPHER_CTX_free(ctx);\n"
3997 "\\& /*\n"
3998 "\\& * Need binary mode for fopen because encrypted data is\n"
3999 "\\& * binary data. Also cannot use strlen() on it because\n"
4000 "\\& * it won\\*(Aqt be NUL terminated and may contain embedded\n"
4001 "\\& * NULs.\n"
4002 "\\& */\n"
4003 "\\& out = fopen(outfile, \"wb\");\n"
4004 "\\& if (out == NULL) {\n"
4005 "\\& /* Error */\n"
4006 "\\& return 0;\n"
4007 "\\& }\n"
4008 "\\& fwrite(outbuf, 1, outlen, out);\n"
4009 "\\& fclose(out);\n"
4010 "\\& return 1;\n"
4011 "\\& }\n"
4012 msgstr ""
4013
4014 #. type: Plain text
4015 #: archlinux debian-trixie debian-unstable
4016 msgid ""
4017 "The ciphertext from the above example can be decrypted using the B<openssl> "
4018 "utility with the command line (shown on two lines for clarity):"
4019 msgstr ""
4020
4021 #. type: Plain text
4022 #: archlinux debian-trixie debian-unstable
4023 #, no-wrap
4024 msgid ""
4025 "\\& openssl idea -d \\e\n"
4026 "\\& -K 000102030405060708090A0B0C0D0E0F -iv 0102030405060708 E<lt>filename\n"
4027 msgstr ""
4028
4029 #. type: Plain text
4030 #: archlinux debian-trixie debian-unstable
4031 msgid ""
4032 "General encryption and decryption function example using FILE I/O and AES128 "
4033 "with a 128-bit key:"
4034 msgstr ""
4035
4036 #. type: Plain text
4037 #: archlinux debian-trixie debian-unstable
4038 #, no-wrap
4039 msgid ""
4040 "\\& int do_crypt(FILE *in, FILE *out, int do_encrypt)\n"
4041 "\\& {\n"
4042 "\\& /* Allow enough space in output buffer for additional block */\n"
4043 "\\& unsigned char inbuf[1024], outbuf[1024 + EVP_MAX_BLOCK_LENGTH];\n"
4044 "\\& int inlen, outlen;\n"
4045 "\\& EVP_CIPHER_CTX *ctx;\n"
4046 "\\& /*\n"
4047 "\\& * Bogus key and IV: we\\*(Aqd normally set these from\n"
4048 "\\& * another source.\n"
4049 "\\& */\n"
4050 "\\& unsigned char key[] = \"0123456789abcdeF\";\n"
4051 "\\& unsigned char iv[] = \"1234567887654321\";\n"
4052 "\\&\n"
4053 "\\& /* Don\\*(Aqt set key or IV right away; we want to check lengths */\n"
4054 "\\& ctx = EVP_CIPHER_CTX_new();\n"
4055 "\\& if (!EVP_CipherInit_ex2(ctx, EVP_aes_128_cbc(), NULL, NULL,\n"
4056 "\\& do_encrypt, NULL)) {\n"
4057 "\\& /* Error */\n"
4058 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4059 "\\& return 0;\n"
4060 "\\& }\n"
4061 "\\& OPENSSL_assert(EVP_CIPHER_CTX_get_key_length(ctx) == 16);\n"
4062 "\\& OPENSSL_assert(EVP_CIPHER_CTX_get_iv_length(ctx) == 16);\n"
4063 "\\&\n"
4064 "\\& /* Now we can set key and IV */\n"
4065 "\\& if (!EVP_CipherInit_ex2(ctx, NULL, key, iv, do_encrypt, NULL)) {\n"
4066 "\\& /* Error */\n"
4067 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4068 "\\& return 0;\n"
4069 "\\& }\n"
4070 "\\&\n"
4071 "\\& for (;;) {\n"
4072 "\\& inlen = fread(inbuf, 1, 1024, in);\n"
4073 "\\& if (inlen E<lt>= 0)\n"
4074 "\\& break;\n"
4075 "\\& if (!EVP_CipherUpdate(ctx, outbuf, &outlen, inbuf, inlen)) {\n"
4076 "\\& /* Error */\n"
4077 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4078 "\\& return 0;\n"
4079 "\\& }\n"
4080 "\\& fwrite(outbuf, 1, outlen, out);\n"
4081 "\\& }\n"
4082 "\\& if (!EVP_CipherFinal_ex(ctx, outbuf, &outlen)) {\n"
4083 "\\& /* Error */\n"
4084 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4085 "\\& return 0;\n"
4086 "\\& }\n"
4087 "\\& fwrite(outbuf, 1, outlen, out);\n"
4088 "\\&\n"
4089 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4090 "\\& return 1;\n"
4091 "\\& }\n"
4092 msgstr ""
4093
4094 #. type: Plain text
4095 #: archlinux debian-trixie debian-unstable
4096 msgid ""
4097 "Encryption using AES-CBC with a 256-bit key with \"CS1\" ciphertext stealing."
4098 msgstr ""
4099
4100 #. type: Plain text
4101 #: archlinux debian-trixie debian-unstable
4102 #, no-wrap
4103 msgid ""
4104 "\\& int encrypt(const unsigned char *key, const unsigned char *iv,\n"
4105 "\\& const unsigned char *msg, size_t msg_len, unsigned char *out)\n"
4106 "\\& {\n"
4107 "\\& /*\n"
4108 "\\& * This assumes that key size is 32 bytes and the iv is 16 bytes.\n"
4109 "\\& * For ciphertext stealing mode the length of the ciphertext \"out\" will be\n"
4110 "\\& * the same size as the plaintext size \"msg_len\".\n"
4111 "\\& * The \"msg_len\" can be any size E<gt>= 16.\n"
4112 "\\& */\n"
4113 "\\& int ret = 0, encrypt = 1, outlen, len;\n"
4114 "\\& EVP_CIPHER_CTX *ctx = NULL;\n"
4115 "\\& EVP_CIPHER *cipher = NULL;\n"
4116 "\\& OSSL_PARAM params[2];\n"
4117 "\\&\n"
4118 "\\& ctx = EVP_CIPHER_CTX_new();\n"
4119 "\\& cipher = EVP_CIPHER_fetch(NULL, \"AES-256-CBC-CTS\", NULL);\n"
4120 "\\& if (ctx == NULL || cipher == NULL)\n"
4121 "\\& goto err;\n"
4122 "\\&\n"
4123 "\\& /*\n"
4124 "\\& * The default is \"CS1\" so this is not really needed,\n"
4125 "\\& * but would be needed to set either \"CS2\" or \"CS3\".\n"
4126 "\\& */\n"
4127 "\\& params[0] = OSSL_PARAM_construct_utf8_string(OSSL_CIPHER_PARAM_CTS_MODE,\n"
4128 "\\& \"CS1\", 0);\n"
4129 "\\& params[1] = OSSL_PARAM_construct_end();\n"
4130 "\\&\n"
4131 "\\& if (!EVP_CipherInit_ex2(ctx, cipher, key, iv, encrypt, params))\n"
4132 "\\& goto err;\n"
4133 "\\&\n"
4134 "\\& /* NOTE: CTS mode does not support multiple calls to EVP_CipherUpdate() */\n"
4135 "\\& if (!EVP_CipherUpdate(ctx, out, &outlen, msg, msg_len))\n"
4136 "\\& goto err;\n"
4137 "\\& if (!EVP_CipherFinal_ex(ctx, out + outlen, &len))\n"
4138 "\\& goto err;\n"
4139 "\\& ret = 1;\n"
4140 "\\& err:\n"
4141 "\\& EVP_CIPHER_free(cipher);\n"
4142 "\\& EVP_CIPHER_CTX_free(ctx);\n"
4143 "\\& return ret;\n"
4144 "\\& }\n"
4145 msgstr ""
4146
4147 #. type: IX
4148 #: archlinux debian-trixie debian-unstable
4149 #, no-wrap
4150 msgid "SEE ALSO"
4151 msgstr ""
4152
4153 #. type: Plain text
4154 #: archlinux debian-trixie debian-unstable
4155 msgid ""
4156 "\\&B<evp>\\|(7), \\&B<property>\\|(7), \"ALGORITHM FETCHING\" in B<crypto>\\|"
4157 "(7), \\&B<provider-cipher>\\|(7), \\&B<life_cycle-cipher>\\|(7)"
4158 msgstr ""
4159
4160 #. type: Plain text
4161 #: archlinux debian-trixie debian-unstable
4162 msgid "Supported ciphers are listed in:"
4163 msgstr ""
4164
4165 #. type: Plain text
4166 #: archlinux debian-trixie debian-unstable
4167 msgid ""
4168 "\\&B<EVP_aes_128_gcm>\\|(3), \\&B<EVP_aria_128_gcm>\\|(3), "
4169 "\\&B<EVP_bf_cbc>\\|(3), \\&B<EVP_camellia_128_ecb>\\|(3), "
4170 "\\&B<EVP_cast5_cbc>\\|(3), \\&B<EVP_chacha20>\\|(3), \\&B<EVP_des_cbc>\\|"
4171 "(3), \\&B<EVP_desx_cbc>\\|(3), \\&B<EVP_idea_cbc>\\|(3), \\&B<EVP_rc2_cbc>\\|"
4172 "(3), \\&B<EVP_rc4>\\|(3), \\&B<EVP_rc5_32_12_16_cbc>\\|(3), "
4173 "\\&B<EVP_seed_cbc>\\|(3), \\&B<EVP_sm4_cbc>\\|(3),"
4174 msgstr ""
4175
4176 #. type: IX
4177 #: archlinux debian-trixie debian-unstable
4178 #, no-wrap
4179 msgid "HISTORY"
4180 msgstr ""
4181
4182 #. type: Plain text
4183 #: archlinux debian-trixie debian-unstable
4184 msgid "Support for OCB mode was added in OpenSSL 1.1.0."
4185 msgstr ""
4186
4187 #. type: Plain text
4188 #: archlinux debian-trixie debian-unstable
4189 msgid ""
4190 "\\&B<EVP_CIPHER_CTX> was made opaque in OpenSSL 1.1.0. As a result, "
4191 "\\&B<EVP_CIPHER_CTX_reset()> appeared and B<EVP_CIPHER_CTX_cleanup()> "
4192 "disappeared. B<EVP_CIPHER_CTX_init()> remains as an alias for "
4193 "\\&B<EVP_CIPHER_CTX_reset()>."
4194 msgstr ""
4195
4196 #. type: Plain text
4197 #: archlinux debian-trixie debian-unstable
4198 msgid ""
4199 "The B<EVP_CIPHER_CTX_cipher()> function was deprecated in OpenSSL 3.0; use "
4200 "\\&B<EVP_CIPHER_CTX_get0_cipher()> instead."
4201 msgstr ""
4202
4203 #. type: Plain text
4204 #: archlinux debian-trixie debian-unstable
4205 msgid ""
4206 "The B<EVP_EncryptInit_ex2()>, B<EVP_DecryptInit_ex2()>, "
4207 "B<EVP_CipherInit_ex2()>, \\&B<EVP_CIPHER_fetch()>, B<EVP_CIPHER_free()>, "
4208 "B<EVP_CIPHER_up_ref()>, \\&B<EVP_CIPHER_CTX_get0_cipher()>, "
4209 "B<EVP_CIPHER_CTX_get1_cipher()>, \\&B<EVP_CIPHER_get_params()>, "
4210 "B<EVP_CIPHER_CTX_set_params()>, \\&B<EVP_CIPHER_CTX_get_params()>, "
4211 "B<EVP_CIPHER_gettable_params()>, \\&B<EVP_CIPHER_settable_ctx_params()>, "
4212 "B<EVP_CIPHER_gettable_ctx_params()>, \\&B<EVP_CIPHER_CTX_settable_params()> "
4213 "and B<EVP_CIPHER_CTX_gettable_params()> functions were added in 3.0."
4214 msgstr ""
4215
4216 #. type: Plain text
4217 #: archlinux debian-trixie debian-unstable
4218 msgid ""
4219 "The B<EVP_CIPHER_nid()>, B<EVP_CIPHER_name()>, B<EVP_CIPHER_block_size()>, "
4220 "\\&B<EVP_CIPHER_key_length()>, B<EVP_CIPHER_iv_length()>, "
4221 "B<EVP_CIPHER_flags()>, \\&B<EVP_CIPHER_mode()>, B<EVP_CIPHER_type()>, "
4222 "B<EVP_CIPHER_CTX_nid()>, \\&B<EVP_CIPHER_CTX_block_size()>, "
4223 "B<EVP_CIPHER_CTX_key_length()>, \\&B<EVP_CIPHER_CTX_iv_length()>, "
4224 "B<EVP_CIPHER_CTX_tag_length()>, \\&B<EVP_CIPHER_CTX_num()>, "
4225 "B<EVP_CIPHER_CTX_type()>, and B<EVP_CIPHER_CTX_mode()> functions were "
4226 "renamed to include CW<\\*(C`get\\*(C'> or CW<\\*(C`get0\\*(C'> in their "
4227 "names in OpenSSL 3.0, respectively. The old names are kept as non-deprecated "
4228 "alias macros."
4229 msgstr ""
4230
4231 #. type: Plain text
4232 #: archlinux debian-trixie debian-unstable
4233 msgid ""
4234 "The B<EVP_CIPHER_CTX_encrypting()> function was renamed to "
4235 "\\&B<EVP_CIPHER_CTX_is_encrypting()> in OpenSSL 3.0. The old name is kept as "
4236 "non-deprecated alias macro."
4237 msgstr ""
4238
4239 #. type: Plain text
4240 #: archlinux debian-trixie debian-unstable
4241 msgid "The B<EVP_CIPHER_CTX_flags()> macro was deprecated in OpenSSL 1.1.0."
4242 msgstr ""
4243
4244 #. type: Plain text
4245 #: archlinux debian-trixie debian-unstable
4246 msgid "\\&B<EVP_CIPHER_CTX_dup()> was added in OpenSSL 3.2."
4247 msgstr ""
4248
4249 #. type: Plain text
4250 #: archlinux debian-trixie debian-unstable
4251 msgid "\\&B<EVP_CipherInit_SKEY()> was added in OpenSSL 3.5."
4252 msgstr ""
4253
4254 #. type: Plain text
4255 #: archlinux debian-trixie debian-unstable
4256 msgid ""
4257 "Prior to OpenSSL 3.5, passing a NULL I<ctx> to "
4258 "\\&B<EVP_CIPHER_CTX_get_block_size()> would result in a NULL pointer "
4259 "dereference, rather than a 0 return value indicating an error."
4260 msgstr ""
4261
4262 #. type: IX
4263 #: archlinux debian-trixie debian-unstable
4264 #, no-wrap
4265 msgid "COPYRIGHT"
4266 msgstr ""
4267
4268 #. type: Plain text
4269 #: archlinux debian-trixie debian-unstable
4270 msgid "Copyright 2000-2026 The OpenSSL Project Authors. All Rights Reserved."
4271 msgstr ""
4272
4273 #. type: Plain text
4274 #: archlinux debian-trixie debian-unstable
4275 msgid ""
4276 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
4277 "this file except in compliance with the License. You can obtain a copy in "
4278 "the file LICENSE in the source distribution or at E<lt>https://"
4279 "www.openssl.org/source/license.htmlE<gt>."
4280 msgstr ""
4281
4282 #. ========================================================================
4283 #. type: IX
4284 #: debian-trixie debian-unstable
4285 #, no-wrap
4286 msgid "EVP_ENCRYPTINIT 3SSL"
4287 msgstr ""
4288
4289 #. type: TH
4290 #: debian-trixie
4291 #, no-wrap
4292 msgid "3.5.6"
4293 msgstr ""
4294
4295 #. type: Plain text
4296 #: debian-trixie debian-unstable
4297 msgid ""
4298 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the retrievable "
4299 "parameters that can be used with B<EVP_CIPHER_CTX_get_params()>. "
4300 "\\&B<EVP_CIPHER_gettable_ctx_params()> returns the parameters that can be "
4301 "retrieved from the algorithm, whereas B<EVP_CIPHER_CTX_gettable_params()> "
4302 "returns the parameters that can be retrieved in the context's current state."
4303 msgstr ""
4304
4305 #. type: Plain text
4306 #: debian-trixie debian-unstable
4307 msgid ""
4308 "Get a constant B<OSSL_PARAM>\\|(3) array that describes the settable "
4309 "parameters that can be used with B<EVP_CIPHER_CTX_set_params()>. "
4310 "\\&B<EVP_CIPHER_settable_ctx_params()> returns the parameters that can be "
4311 "set from the algorithm, whereas B<EVP_CIPHER_CTX_settable_params()> returns "
4312 "the parameters that can be set in the context's current state."
4313 msgstr ""
4314
4315 #. type: Plain text
4316 #: debian-trixie debian-unstable
4317 msgid ""
4318 "These functions can be used for decryption or encryption. The operation "
4319 "performed depends on the value of the I<enc> parameter. It should be set to "
4320 "1 for encryption, 0 for decryption and -1 to leave the value unchanged (the "
4321 "actual value of 'enc' being supplied in a previous call)."
4322 msgstr ""
4323
4324 #. type: Plain text
4325 #: debian-trixie debian-unstable
4326 msgid ""
4327 "For legacy ciphers - If the cipher doesn't have the flag "
4328 "\\&B<EVP_CIPH_FLAG_CUSTOM_CIPHER> set, then I<inl> must be a multiple of "
4329 "\\&B<EVP_CIPHER_get_block_size()>. If it isn't, the result is undefined. "
4330 "If the cipher has that flag set, then I<inl> can be any size."
4331 msgstr ""
4332
4333 #. type: Plain text
4334 #: debian-trixie debian-unstable
4335 msgid ""
4336 "Due to the constraints of the API contract of this function it shouldn't be "
4337 "used in applications, please consider using B<EVP_CipherUpdate()> and "
4338 "\\&B<EVP_CipherFinal_ex()> instead."
4339 msgstr ""
4340
4341 #. type: Plain text
4342 #: debian-trixie debian-unstable
4343 msgid ""
4344 "Returns 1 if I<cipher> is an implementation of an algorithm that's "
4345 "identifiable with I<name>, otherwise 0. If I<cipher> is a legacy cipher "
4346 "(it's the return value from the likes of B<EVP_aes128()> rather than the "
4347 "result of an \\&B<EVP_CIPHER_fetch()>), only cipher names registered with "
4348 "the default library context (see B<OSSL_LIB_CTX>\\|(3)) will be considered."
4349 msgstr ""
4350
4351 #. type: Plain text
4352 #: debian-trixie debian-unstable
4353 msgid ""
4354 "\\&B<EVP_CIPHER_get_type()> and B<EVP_CIPHER_CTX_get_type()> return the NID "
4355 "of the cipher's OBJECT IDENTIFIER or NID_undef if it has no defined OBJECT "
4356 "IDENTIFIER."
4357 msgstr ""