]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man7/EVP_MAC-Siphash.pod
The EVP_MAC functions have been renamed for consistency. The EVP_MAC_CTX_*
[thirdparty/openssl.git] / doc / man7 / EVP_MAC-Siphash.pod
CommitLineData
e592dbde
RL
1=pod
2
3=head1 NAME
4
5EVP_MAC-Siphash - The SipHash EVP_MAC implementation
6
7=head1 DESCRIPTION
8
9Support for computing SipHash MACs through the B<EVP_MAC> API.
10
11=head2 Identity
12
13This implementation is identified with this name and properties, to be
14used with EVP_MAC_fetch():
15
16=over 4
17
745fc918 18=item "SIPHASH", "provider=default"
e592dbde
RL
19
20=back
21
22
23=head2 Supported parameters
24
25The general description of these parameters can be found in
fddb1847 26L<EVP_MAC(3)/PARAMETERS>.
e592dbde 27
d9c2fd51 28All these parameters can be set with EVP_MAC_set_ctx_params().
e592dbde 29Furthermore, the "size" parameter can be retrieved with
d9c2fd51 30EVP_MAC_get_ctx_params(), or with EVP_MAC_size().
f49a65d0 31The length of the "size" parameter should not exceed that of a B<size_t>.
e592dbde
RL
32
33=over 4
34
0c452a51 35=item "key" (B<OSSL_MAC_PARAM_KEY>) <octet string>
e592dbde 36
0c452a51 37=item "size" (B<OSSL_MAC_PARAM_SIZE>) <unsigned integer>
e592dbde
RL
38
39=back
40
41=head1 SEE ALSO
42
d9c2fd51 43L<EVP_MAC_get_ctx_params(3)>, L<EVP_MAC_set_ctx_params(3)>,
fddb1847 44L<EVP_MAC(3)/PARAMETERS>, L<OSSL_PARAM(3)>
e592dbde
RL
45
46=head1 COPYRIGHT
47
33388b44 48Copyright 2018-2020 The OpenSSL Project Authors. All Rights Reserved.
e592dbde
RL
49
50Licensed under the Apache License 2.0 (the "License"). You may not use
51this file except in compliance with the License. You can obtain a copy
52in the file LICENSE in the source distribution or at
53L<https://www.openssl.org/source/license.html>.
54
55=cut