diff options
author | schwarze <> | 2023-09-05 14:37:00 +0000 |
---|---|---|
committer | schwarze <> | 2023-09-05 14:37:00 +0000 |
commit | 4c11e38761af7323ecdd8ac0bcc32d49072b2e55 (patch) | |
tree | ce48438d569ed7fdbf3bf866406b6559baa9d3fb /src/lib | |
parent | 07c9f1bc14ce93fb6a9b3e94115b1f649714c156 (diff) | |
download | openbsd-4c11e38761af7323ecdd8ac0bcc32d49072b2e55.tar.gz openbsd-4c11e38761af7323ecdd8ac0bcc32d49072b2e55.tar.bz2 openbsd-4c11e38761af7323ecdd8ac0bcc32d49072b2e55.zip |
add the missing .Dv macros to the list of flags
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/man/EVP_CIPHER_meth_new.3 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/man/EVP_CIPHER_meth_new.3 b/src/lib/libcrypto/man/EVP_CIPHER_meth_new.3 index c9e1d3ed66..f66248f0ce 100644 --- a/src/lib/libcrypto/man/EVP_CIPHER_meth_new.3 +++ b/src/lib/libcrypto/man/EVP_CIPHER_meth_new.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: EVP_CIPHER_meth_new.3,v 1.3 2023/09/05 14:19:02 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_CIPHER_meth_new.3,v 1.4 2023/09/05 14:37:00 schwarze Exp $ |
2 | .\" selective merge up to: OpenSSL b0edda11 Mar 20 13:00:17 2018 +0000 | 2 | .\" selective merge up to: OpenSSL b0edda11 Mar 20 13:00:17 2018 +0000 |
3 | .\" | 3 | .\" |
4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
@@ -201,11 +201,11 @@ Zero or more of the following flags can be OR'ed into the | |||
201 | .Fa flags | 201 | .Fa flags |
202 | argument: | 202 | argument: |
203 | .Bl -tag -width Ds | 203 | .Bl -tag -width Ds |
204 | .It EVP_CIPH_VARIABLE_LENGTH | 204 | .It Dv EVP_CIPH_VARIABLE_LENGTH |
205 | This cipher has a variable key length, and the function | 205 | This cipher has a variable key length, and the function |
206 | .Xr EVP_CIPHER_CTX_set_key_length 3 | 206 | .Xr EVP_CIPHER_CTX_set_key_length 3 |
207 | can be used with it. | 207 | can be used with it. |
208 | .It EVP_CIPH_CUSTOM_IV | 208 | .It Dv EVP_CIPH_CUSTOM_IV |
209 | Instruct | 209 | Instruct |
210 | .Xr EVP_CipherInit_ex 3 | 210 | .Xr EVP_CipherInit_ex 3 |
211 | and similar initialization functions to leave storing and initialising | 211 | and similar initialization functions to leave storing and initialising |
@@ -214,7 +214,7 @@ If this flag is set, | |||
214 | the implementation is typically expected to do that in its | 214 | the implementation is typically expected to do that in its |
215 | .Fa init | 215 | .Fa init |
216 | function. | 216 | function. |
217 | .It EVP_CIPH_ALWAYS_CALL_INIT | 217 | .It Dv EVP_CIPH_ALWAYS_CALL_INIT |
218 | Instruct | 218 | Instruct |
219 | .Xr EVP_CipherInit_ex 3 | 219 | .Xr EVP_CipherInit_ex 3 |
220 | and similar initialization functions to call the implementation's | 220 | and similar initialization functions to call the implementation's |
@@ -223,7 +223,7 @@ function even if the | |||
223 | .Fa key | 223 | .Fa key |
224 | argument is | 224 | argument is |
225 | .Dv NULL . | 225 | .Dv NULL . |
226 | .It EVP_CIPH_CTRL_INIT | 226 | .It Dv EVP_CIPH_CTRL_INIT |
227 | Instruct | 227 | Instruct |
228 | .Xr EVP_CipherInit_ex 3 | 228 | .Xr EVP_CipherInit_ex 3 |
229 | and similar initialization functions to call the implementation's | 229 | and similar initialization functions to call the implementation's |
@@ -233,7 +233,7 @@ function with a command | |||
233 | of | 233 | of |
234 | .Dv EVP_CTRL_INIT | 234 | .Dv EVP_CTRL_INIT |
235 | early during the setup. | 235 | early during the setup. |
236 | .It EVP_CIPH_CUSTOM_KEY_LENGTH | 236 | .It Dv EVP_CIPH_CUSTOM_KEY_LENGTH |
237 | Instruct | 237 | Instruct |
238 | .Xr EVP_CIPHER_CTX_set_key_length 3 | 238 | .Xr EVP_CIPHER_CTX_set_key_length 3 |
239 | to not check and set the key length itself, | 239 | to not check and set the key length itself, |
@@ -245,13 +245,13 @@ of | |||
245 | .Dv EVP_CTRL_SET_KEY_LENGTH | 245 | .Dv EVP_CTRL_SET_KEY_LENGTH |
246 | and the key length in | 246 | and the key length in |
247 | .Fa arg . | 247 | .Fa arg . |
248 | .It EVP_CIPH_NO_PADDING | 248 | .It Dv EVP_CIPH_NO_PADDING |
249 | Instruct | 249 | Instruct |
250 | .Xr EVP_CipherFinal_ex 3 | 250 | .Xr EVP_CipherFinal_ex 3 |
251 | and similar finalization functions to not use standard block padding | 251 | and similar finalization functions to not use standard block padding |
252 | but instead report an error if the total amount of data | 252 | but instead report an error if the total amount of data |
253 | to be encrypted or decrypted is not a multiple of the block size. | 253 | to be encrypted or decrypted is not a multiple of the block size. |
254 | .It EVP_CIPH_RAND_KEY | 254 | .It Dv EVP_CIPH_RAND_KEY |
255 | Instruct | 255 | Instruct |
256 | .Xr EVP_CIPHER_CTX_rand_key 3 | 256 | .Xr EVP_CIPHER_CTX_rand_key 3 |
257 | to not generate a random key using | 257 | to not generate a random key using |
@@ -264,7 +264,7 @@ of | |||
264 | .Dv EVP_CTRL_RAND_KEY | 264 | .Dv EVP_CTRL_RAND_KEY |
265 | and the pointer to the key memory storage in | 265 | and the pointer to the key memory storage in |
266 | .Fa ptr . | 266 | .Fa ptr . |
267 | .It EVP_CIPH_CUSTOM_COPY | 267 | .It Dv EVP_CIPH_CUSTOM_COPY |
268 | Instruct | 268 | Instruct |
269 | .Xr EVP_CIPHER_CTX_copy 3 | 269 | .Xr EVP_CIPHER_CTX_copy 3 |
270 | to call the implementation's | 270 | to call the implementation's |
@@ -282,7 +282,7 @@ The intended use is for further things to deal with after the | |||
282 | implementation specific data block has been copied. | 282 | implementation specific data block has been copied. |
283 | The implementation-specific data block is reached with | 283 | The implementation-specific data block is reached with |
284 | .Xr EVP_CIPHER_CTX_get_cipher_data 3 . | 284 | .Xr EVP_CIPHER_CTX_get_cipher_data 3 . |
285 | .It EVP_CIPH_FLAG_DEFAULT_ASN1 | 285 | .It Dv EVP_CIPH_FLAG_DEFAULT_ASN1 |
286 | Instruct | 286 | Instruct |
287 | .Xr EVP_CIPHER_param_to_asn1 3 | 287 | .Xr EVP_CIPHER_param_to_asn1 3 |
288 | to use | 288 | to use |
@@ -296,12 +296,12 @@ to use | |||
296 | if no | 296 | if no |
297 | .Fa get_asn1_parameters | 297 | .Fa get_asn1_parameters |
298 | function is installed. | 298 | function is installed. |
299 | .It EVP_CIPH_FLAG_LENGTH_BITS | 299 | .It Dv EVP_CIPH_FLAG_LENGTH_BITS |
300 | Signals that the length of the input buffer for encryption / decryption | 300 | Signals that the length of the input buffer for encryption / decryption |
301 | is to be understood as the number of bits instead of bytes for this | 301 | is to be understood as the number of bits instead of bytes for this |
302 | implementation. | 302 | implementation. |
303 | This is only useful for CFB1 ciphers. | 303 | This is only useful for CFB1 ciphers. |
304 | .It EVP_CIPH_FLAG_CUSTOM_CIPHER | 304 | .It Dv EVP_CIPH_FLAG_CUSTOM_CIPHER |
305 | Instruct | 305 | Instruct |
306 | .Xr EVP_CipherUpdate 3 , | 306 | .Xr EVP_CipherUpdate 3 , |
307 | .Xr EVP_CipherFinal_ex 3 , | 307 | .Xr EVP_CipherFinal_ex 3 , |
@@ -310,7 +310,7 @@ that the implementation's | |||
310 | .Fa do_cipher | 310 | .Fa do_cipher |
311 | function takes care of everything, | 311 | function takes care of everything, |
312 | including padding, buffering and finalization. | 312 | including padding, buffering and finalization. |
313 | .It EVP_CIPH_FLAG_AEAD_CIPHER | 313 | .It Dv EVP_CIPH_FLAG_AEAD_CIPHER |
314 | This indicates that this is an AEAD cipher implementation. | 314 | This indicates that this is an AEAD cipher implementation. |
315 | .El | 315 | .El |
316 | .Pp | 316 | .Pp |