EVP_MAC-SIPHASH(7ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’– EVP_MAC-Siphash πŸ’–

okay so welcome to OpenSSL's 7ossl manual, bestie β€” this is the page for EVP_MAC-Siphash, and it's lowkey iconic.

🌸 NAME 🌸

EVP_MAC-Siphash β€” The Siphash EVP_MAC implementation.

πŸ’« DESCRIPTION πŸ’«

Support for computing Siphash MACs through the EVP_MAC API. That's the whole plot.

πŸͺͺ Identity πŸͺͺ

This implementation is identified with this name and properties, to be used with EVP_MAC_fetch():

"SIPHASH", "provider=default"

so when you're fetching it, that's the exact name/property combo β€” no guessing, no improvising.

πŸŽ›οΈ Supported parameters πŸŽ›οΈ

The general description of these parameters can be found in "PARAMETERS" in EVP_MAC(3). iykyk.

All these parameters can be set with EVP_MAC_CTX_set_params(). Furthermore, the "size" parameter can be retrieved with EVP_MAC_CTX_get_params(), or with EVP_MAC_CTX_get_mac_size(). The length of the "size" parameter should not exceed that of a size_t β€” respect the limit, bestie.

  • "key" (OSSL_MAC_PARAM_KEY) <octet string> β€” sets the MAC key. Setting this parameter is identical to passing a key to EVP_MAC_init(3).
  • "size" (OSSL_MAC_PARAM_SIZE) <unsigned integer> β€” sets the MAC size.
  • "c-rounds" (OSSL_MAC_PARAM_C_ROUNDS) <unsigned integer> β€” specifies the number of rounds per message block. By default this is 2.
  • "d-rounds" (OSSL_MAC_PARAM_D_ROUNDS) <unsigned integer> β€” specifies the number of finalisation rounds. By default this is 4.

πŸ”— SEE ALSO πŸ”—

Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (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 <https://www.openssl.org/source/license.html>.


okay that's the whole page! big hugs from OpenSSL version 3.5.0, dated 2026-09-25 β€” this has been EVP_MAC-SIPHASH(7ossl), signing off πŸ’…πŸ’–

πŸ“¦ where this page comes from