5 EVP_MAC_CMAC - The CMAC EVP_MAC implementation
9 Support for computing CMAC MACs through the B<EVP_MAC> API.
11 =head2 Numeric identity
13 B<EVP_MAC_CMAC> is the numeric identity for this implementation, and
14 can be used in functions like EVP_MAC_CTX_new_id() and
17 =head2 Supported controls
19 The supported controls are:
23 =item B<EVP_MAC_CTRL_SET_KEY>
25 EVP_MAC_ctrl_str() takes two type strings for this control:
31 The value string is used as is.
35 The value string is expected to be a hexadecimal number, which will be
36 decoded before passing on as control value.
40 =item B<EVP_MAC_CTRL_SET_ENGINE>
42 =item B<EVP_MAC_CTRL_SET_CIPHER>
44 These work as described in L<EVP_MAC(3)/CONTROLS>.
46 EVP_MAC_ctrl_str() type string for B<EVP_MAC_CTRL_SET_CIPHER>: "cipher"
48 The value is expected to be the name of a cipher.
54 L<EVP_MAC_ctrl(3)>, L<EVP_MAC(3)/CONTROLS>
58 Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
60 Licensed under the Apache License 2.0 (the "License"). You may not use
61 this file except in compliance with the License. You can obtain a copy
62 in the file LICENSE in the source distribution or at
63 L<https://www.openssl.org/source/license.html>.