1EVP_MAC-GMAC(7ossl) OpenSSL EVP_MAC-GMAC(7ossl)
2
3
4
6 EVP_MAC-GMAC - The GMAC EVP_MAC implementation
7
9 Support for computing GMAC MACs through the EVP_MAC API.
10
11 This implementation uses EVP_CIPHER functions to get access to the
12 underlying cipher.
13
14 Identity
15 This implementation is identified with this name and properties, to be
16 used with EVP_MAC_fetch():
17
18 "GMAC", "provider=default" or "provider=fips"
19
20 Supported parameters
21 The general description of these parameters can be found in
22 "PARAMETERS" in EVP_MAC(3).
23
24 The following parameter can be set with EVP_MAC_CTX_set_params():
25
26 "key" (OSSL_MAC_PARAM_KEY) <octet string>
27 Sets the MAC key. Setting this parameter is identical to passing a
28 key to EVP_MAC_init(3).
29
30 "iv" (OSSL_MAC_PARAM_IV) <octet string>
31 Sets the IV of the underlying cipher, when applicable.
32
33 "cipher" (OSSL_MAC_PARAM_CIPHER) <UTF8 string>
34 Sets the name of the underlying cipher to be used.
35
36 "properties" (OSSL_MAC_PARAM_PROPERTIES) <UTF8 string>
37 Sets the properties to be queried when trying to fetch the
38 underlying cipher. This must be given together with the cipher
39 naming parameter to be considered valid.
40
41 The following parameters can be retrieved with
42 EVP_MAC_CTX_get_params():
43
44 "size" (OSSL_MAC_PARAM_SIZE) <unsigned integer>
45 Gets the MAC size.
46
47 The "size" parameter can also be retrieved with
48 EVP_MAC_CTX_get_mac_size(). The length of the "size" parameter is
49 equal to that of an unsigned int.
50
52 EVP_MAC_CTX_get_params(3), EVP_MAC_CTX_set_params(3), "PARAMETERS" in
53 EVP_MAC(3), OSSL_PARAM(3)
54
56 Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
57
58 Licensed under the Apache License 2.0 (the "License"). You may not use
59 this file except in compliance with the License. You can obtain a copy
60 in the file LICENSE in the source distribution or at
61 <https://www.openssl.org/source/license.html>.
62
63
64
653.0.9 2023-07-27 EVP_MAC-GMAC(7ossl)