summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorschwarze <>2024-11-07 17:33:42 +0000
committerschwarze <>2024-11-07 17:33:42 +0000
commit3715899a4aff8da2486880f04fb791398762fdd2 (patch)
tree0612b416827ac8742e99ed0c638e5f00e85f921c /src/lib
parent3c7809f104306e228f210b4c8014374874d96581 (diff)
downloadopenbsd-3715899a4aff8da2486880f04fb791398762fdd2.tar.gz
openbsd-3715899a4aff8da2486880f04fb791398762fdd2.tar.bz2
openbsd-3715899a4aff8da2486880f04fb791398762fdd2.zip
document EVP_PKEY_CTRL_SET_MAC_KEY for CMAC
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.318
1 files changed, 16 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
index 075ee19f46..9049a11832 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.24 2024/11/06 18:58:01 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.25 2024/11/07 17:33:42 schwarze Exp $
2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
4.\" Parts were split out into RSA_pkey_ctx_ctrl(3). 4.\" Parts were split out into RSA_pkey_ctx_ctrl(3).
@@ -69,7 +69,7 @@
69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 69.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
70.\" OF THE POSSIBILITY OF SUCH DAMAGE. 70.\" OF THE POSSIBILITY OF SUCH DAMAGE.
71.\" 71.\"
72.Dd $Mdocdate: November 6 2024 $ 72.Dd $Mdocdate: November 7 2024 $
73.Dt EVP_PKEY_CTX_CTRL 3 73.Dt EVP_PKEY_CTX_CTRL 3
74.Os 74.Os
75.Sh NAME 75.Sh NAME
@@ -441,6 +441,20 @@ object, which can be obtained from the functions in the CIPHER LISTING in
441The 441The
442.Fa p1 442.Fa p1
443argument is ignored; passing 0 is recommended. 443argument is ignored; passing 0 is recommended.
444.Pp
445After selecting the block cipher with
446.Dv EVP_PKEY_CTRL_CIPHER ,
447.Fn EVP_PKEY_CTX_ctrl
448can be called again with an
449.Fa optype
450of \-1, a
451.Fa cmd
452of
453.Dv EVP_PKEY_CTRL_SET_MAC_KEY ,
454.Fa p2
455pointing to the symmetric key, and
456.Fa p1
457specifying the length of the symmetric key in bytes.
444.Ss Other parameters 458.Ss Other parameters
445The 459The
446.Fn EVP_PKEY_CTX_set1_id , 460.Fn EVP_PKEY_CTX_set1_id ,