1EVP_MAC-POLY1305(7ossl)             OpenSSL            EVP_MAC-POLY1305(7ossl)
2
3
4

NAME

6       EVP_MAC-Poly1305 - The Poly1305 EVP_MAC implementation
7

DESCRIPTION

9       Support for computing Poly1305 MACs through the EVP_MAC API.
10
11   Identity
12       This implementation is identified with this name and properties, to be
13       used with EVP_MAC_fetch():
14
15       "POLY1305", "provider=default"
16
17   Supported parameters
18       The general description of these parameters can be found in
19       "PARAMETERS" in EVP_MAC(3).
20
21       The following parameter can be set with EVP_MAC_CTX_set_params():
22
23       "key" (OSSL_MAC_PARAM_KEY) <octet string>
24           Sets the MAC key.  Setting this parameter is identical to passing a
25           key to EVP_MAC_init(3).
26
27       The following parameters can be retrieved with
28       EVP_MAC_CTX_get_params():
29
30       "size" (OSSL_MAC_PARAM_SIZE) <unsigned integer>
31           Gets the MAC size.
32
33       The "size" parameter can also be retrieved with with
34       EVP_MAC_CTX_get_mac_size().  The length of the "size" parameter should
35       not exceed that of an unsigned int.
36

NOTES

38       The OpenSSL implementation of the Poly 1305 MAC corresponds to RFC
39       7539.
40
41       It is critical to never reuse the key.  The security implication noted
42       in RFC 8439 applies equally to the OpenSSL implementation.
43

SEE ALSO

45       EVP_MAC_CTX_get_params(3), EVP_MAC_CTX_set_params(3), "PARAMETERS" in
46       EVP_MAC(3), OSSL_PARAM(3)
47
49       Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
50
51       Licensed under the Apache License 2.0 (the "License").  You may not use
52       this file except in compliance with the License.  You can obtain a copy
53       in the file LICENSE in the source distribution or at
54       <https://www.openssl.org/source/license.html>.
55
56
57
583.0.5                             2022-07-05           EVP_MAC-POLY1305(7ossl)
Impressum