5 EVP_MAC-KMAC, EVP_MAC-KMAC128, EVP_MAC-KMAC256
6 - The KMAC EVP_MAC implementations
10 Support for computing KMAC MACs through the B<EVP_MAC> API.
14 These implementations are identified with one of these names and
15 properties, to be used with EVP_MAC_fetch():
19 =item "KMAC-128", "default=yes"
21 =item "KMAC-256", "default=yes"
25 =head2 Supported parameters
27 The general description of these parameters can be found in
28 L<EVP_MAC(3)/PARAMETERS>.
30 All these parameters can be set with EVP_MAC_CTX_set_params().
31 Furthermore, the "size" parameter can be retrieved with
32 EVP_MAC_CTX_get_params(), or with EVP_MAC_size().
33 The length of the "size" parameter should not exceed that of a B<size_t>.
37 =item "key" (B<OSSL_MAC_PARAM_KEY>) <octet string>
39 =item "custom" (B<OSSL_MAC_PARAM_CUSTOM>) <octet string>
41 =item "size" (B<OSSL_MAC_PARAM_SIZE>) <unsigned integer>
43 =item "xof" (B<OSSL_MAC_PARAM_XOF>) <integer>
47 The "xof" parameter value is exptect to be 1 or 0. Use 1 to enable XOF
48 mode. If XOF is enabled then the output len that is encoded as part of
49 the input stream is set to zero.
53 L<EVP_MAC_CTX_get_params(3)>, L<EVP_MAC_CTX_set_params(3)>,
54 L<EVP_MAC(3)/PARAMETERS>, L<OSSL_PARAM(3)>
58 Copyright 2018-2019 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>.