summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2023-09-05 14:37:00 +0000
committerschwarze <>2023-09-05 14:37:00 +0000
commit4c11e38761af7323ecdd8ac0bcc32d49072b2e55 (patch)
treece48438d569ed7fdbf3bf866406b6559baa9d3fb /src/lib
parent07c9f1bc14ce93fb6a9b3e94115b1f649714c156 (diff)
downloadopenbsd-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.326
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
202argument: 202argument:
203.Bl -tag -width Ds 203.Bl -tag -width Ds
204.It EVP_CIPH_VARIABLE_LENGTH 204.It Dv EVP_CIPH_VARIABLE_LENGTH
205This cipher has a variable key length, and the function 205This 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
207can be used with it. 207can be used with it.
208.It EVP_CIPH_CUSTOM_IV 208.It Dv EVP_CIPH_CUSTOM_IV
209Instruct 209Instruct
210.Xr EVP_CipherInit_ex 3 210.Xr EVP_CipherInit_ex 3
211and similar initialization functions to leave storing and initialising 211and similar initialization functions to leave storing and initialising
@@ -214,7 +214,7 @@ If this flag is set,
214the implementation is typically expected to do that in its 214the implementation is typically expected to do that in its
215.Fa init 215.Fa init
216function. 216function.
217.It EVP_CIPH_ALWAYS_CALL_INIT 217.It Dv EVP_CIPH_ALWAYS_CALL_INIT
218Instruct 218Instruct
219.Xr EVP_CipherInit_ex 3 219.Xr EVP_CipherInit_ex 3
220and similar initialization functions to call the implementation's 220and similar initialization functions to call the implementation's
@@ -223,7 +223,7 @@ function even if the
223.Fa key 223.Fa key
224argument is 224argument is
225.Dv NULL . 225.Dv NULL .
226.It EVP_CIPH_CTRL_INIT 226.It Dv EVP_CIPH_CTRL_INIT
227Instruct 227Instruct
228.Xr EVP_CipherInit_ex 3 228.Xr EVP_CipherInit_ex 3
229and similar initialization functions to call the implementation's 229and similar initialization functions to call the implementation's
@@ -233,7 +233,7 @@ function with a command
233of 233of
234.Dv EVP_CTRL_INIT 234.Dv EVP_CTRL_INIT
235early during the setup. 235early during the setup.
236.It EVP_CIPH_CUSTOM_KEY_LENGTH 236.It Dv EVP_CIPH_CUSTOM_KEY_LENGTH
237Instruct 237Instruct
238.Xr EVP_CIPHER_CTX_set_key_length 3 238.Xr EVP_CIPHER_CTX_set_key_length 3
239to not check and set the key length itself, 239to 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
246and the key length in 246and the key length in
247.Fa arg . 247.Fa arg .
248.It EVP_CIPH_NO_PADDING 248.It Dv EVP_CIPH_NO_PADDING
249Instruct 249Instruct
250.Xr EVP_CipherFinal_ex 3 250.Xr EVP_CipherFinal_ex 3
251and similar finalization functions to not use standard block padding 251and similar finalization functions to not use standard block padding
252but instead report an error if the total amount of data 252but instead report an error if the total amount of data
253to be encrypted or decrypted is not a multiple of the block size. 253to 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
255Instruct 255Instruct
256.Xr EVP_CIPHER_CTX_rand_key 3 256.Xr EVP_CIPHER_CTX_rand_key 3
257to not generate a random key using 257to not generate a random key using
@@ -264,7 +264,7 @@ of
264.Dv EVP_CTRL_RAND_KEY 264.Dv EVP_CTRL_RAND_KEY
265and the pointer to the key memory storage in 265and 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
268Instruct 268Instruct
269.Xr EVP_CIPHER_CTX_copy 3 269.Xr EVP_CIPHER_CTX_copy 3
270to call the implementation's 270to call the implementation's
@@ -282,7 +282,7 @@ The intended use is for further things to deal with after the
282implementation specific data block has been copied. 282implementation specific data block has been copied.
283The implementation-specific data block is reached with 283The 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
286Instruct 286Instruct
287.Xr EVP_CIPHER_param_to_asn1 3 287.Xr EVP_CIPHER_param_to_asn1 3
288to use 288to use
@@ -296,12 +296,12 @@ to use
296if no 296if no
297.Fa get_asn1_parameters 297.Fa get_asn1_parameters
298function is installed. 298function is installed.
299.It EVP_CIPH_FLAG_LENGTH_BITS 299.It Dv EVP_CIPH_FLAG_LENGTH_BITS
300Signals that the length of the input buffer for encryption / decryption 300Signals that the length of the input buffer for encryption / decryption
301is to be understood as the number of bits instead of bytes for this 301is to be understood as the number of bits instead of bytes for this
302implementation. 302implementation.
303This is only useful for CFB1 ciphers. 303This is only useful for CFB1 ciphers.
304.It EVP_CIPH_FLAG_CUSTOM_CIPHER 304.It Dv EVP_CIPH_FLAG_CUSTOM_CIPHER
305Instruct 305Instruct
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
311function takes care of everything, 311function takes care of everything,
312including padding, buffering and finalization. 312including padding, buffering and finalization.
313.It EVP_CIPH_FLAG_AEAD_CIPHER 313.It Dv EVP_CIPH_FLAG_AEAD_CIPHER
314This indicates that this is an AEAD cipher implementation. 314This indicates that this is an AEAD cipher implementation.
315.El 315.El
316.Pp 316.Pp