summaryrefslogtreecommitdiffstats
path: root/doc/man7/EVP_MAC_SIPHASH.pod
blob: 841cd7d6a8249191e912798967bbb37cea7cb0ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
=pod

=head1 NAME

EVP_MAC_SIPHASH - The SipHash EVP_MAC implementation

=head1 DESCRIPTION

Support for computing SipHash MACs through the B<EVP_MAC> API.

=head2 Numeric identity

B<EVP_MAC_SIPHASH> is the numeric identity for this implementation,
and can be used in functions like EVP_MAC_CTX_new_id() and
EVP_get_macbynid().

=head2 Supported controls

The supported controls are:

=over 4

=item B<EVP_MAC_CTRL_SET_SIZE>

EVP_MAC_ctrl_str() type string: "digestsize"

The value string is expected to contain a decimal number.

=item B<EVP_MAC_CTRL_SET_KEY>

EVP_MAC_ctrl_str() takes to type string for this control:

=over 4

=item "key"

The value string is used as is.

=item "hexkey"

The value string is expected to be a hexadecimal number, which will be
decoded before passing on as control value.

=back

=back

=head1 SEE ALSO

L<EVP_MAC_ctrl(3)>, L<EVP_MAC(3)/CONTROLS>

=head1 COPYRIGHT

Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License").  You may not use
this file except in compliance with the License.  You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut