]>
Commit | Line | Data |
---|---|---|
e592dbde RL |
1 | =pod |
2 | ||
3 | =head1 NAME | |
4 | ||
5 | EVP_MAC-Siphash - The SipHash EVP_MAC implementation | |
6 | ||
7 | =head1 DESCRIPTION | |
8 | ||
9 | Support for computing SipHash MACs through the B<EVP_MAC> API. | |
10 | ||
11 | =head2 Identity | |
12 | ||
13 | This implementation is identified with this name and properties, to be | |
14 | used with EVP_MAC_fetch(): | |
15 | ||
16 | =over 4 | |
17 | ||
18 | =item "Siphash", "default=yes" | |
19 | ||
20 | =back | |
21 | ||
22 | ||
23 | =head2 Supported parameters | |
24 | ||
25 | The general description of these parameters can be found in | |
fddb1847 | 26 | L<EVP_MAC(3)/PARAMETERS>. |
e592dbde RL |
27 | |
28 | All these parameters can be set with EVP_MAC_CTX_set_params(). | |
29 | Furthermore, the "size" parameter can be retrieved with | |
30 | EVP_MAC_CTX_get_params(), or with EVP_MAC_size(). | |
31 | ||
32 | =over 4 | |
33 | ||
34 | =item B<OSSL_MAC_PARAM_KEY> ("key") <octet string> | |
35 | ||
36 | =item B<OSSL_MAC_PARAM_SIZE> ("size") <size_t> | |
37 | ||
38 | =back | |
39 | ||
40 | =head1 SEE ALSO | |
41 | ||
42 | L<EVP_MAC_CTX_get_params(3)>, L<EVP_MAC_CTX_set_params(3)>, | |
fddb1847 | 43 | L<EVP_MAC(3)/PARAMETERS>, L<OSSL_PARAM(3)> |
e592dbde RL |
44 | |
45 | =head1 COPYRIGHT | |
46 | ||
47 | Copyright 2018-2019 The OpenSSL Project Authors. All Rights Reserved. | |
48 | ||
49 | Licensed under the Apache License 2.0 (the "License"). You may not use | |
50 | this file except in compliance with the License. You can obtain a copy | |
51 | in the file LICENSE in the source distribution or at | |
52 | L<https://www.openssl.org/source/license.html>. | |
53 | ||
54 | =cut |