1EVP_MAC-SIPHASH(7ossl) OpenSSL EVP_MAC-SIPHASH(7ossl)
2
3
4
6 EVP_MAC-Siphash - The Siphash EVP_MAC implementation
7
9 Support for computing Siphash 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 "SIPHASH", "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 All these parameters can be set with EVP_MAC_CTX_set_params().
22 Furthermore, the "size" parameter can be retrieved with
23 EVP_MAC_CTX_get_params(), or with EVP_MAC_CTX_get_mac_size(). The
24 length of the "size" parameter should not exceed that of a size_t.
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 "size" (OSSL_MAC_PARAM_SIZE) <unsigned integer>
31 Sets the MAC size.
32
33 "c-rounds" (OSSL_MAC_PARAM_C_ROUNDS) <unsigned integer>
34 Specifies the number of rounds per message block. By default this
35 is 2.
36
37 "d-rounds" (OSSL_MAC_PARAM_D_ROUNDS) <unsigned integer>
38 Specifies the number of finalisation rounds. By default this is 4.
39
41 EVP_MAC_CTX_get_params(3), EVP_MAC_CTX_set_params(3), "PARAMETERS" in
42 EVP_MAC(3), OSSL_PARAM(3)
43
45 Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
46
47 Licensed under the Apache License 2.0 (the "License"). You may not use
48 this file except in compliance with the License. You can obtain a copy
49 in the file LICENSE in the source distribution or at
50 <https://www.openssl.org/source/license.html>.
51
52
53
543.0.5 2022-07-05 EVP_MAC-SIPHASH(7ossl)