EVP_MAC_SIPHASH.pod 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. =pod
  2. =head1 NAME
  3. EVP_MAC_SIPHASH - The SipHash EVP_MAC implementation
  4. =head1 DESCRIPTION
  5. Support for computing SipHash MACs through the B<EVP_MAC> API.
  6. =head2 Numeric identity
  7. B<EVP_MAC_SIPHASH> is the numeric identity for this implementation,
  8. and can be used in functions like EVP_MAC_CTX_new_id() and
  9. EVP_get_macbynid().
  10. =head2 Supported controls
  11. The supported controls are:
  12. =over 4
  13. =item B<EVP_MAC_CTRL_SET_SIZE>
  14. EVP_MAC_ctrl_str() type string: "digestsize"
  15. The value string is expected to contain a decimal number.
  16. =item B<EVP_MAC_CTRL_SET_KEY>
  17. EVP_MAC_ctrl_str() takes two type strings for this control:
  18. =over 4
  19. =item "key"
  20. The value string is used as is.
  21. =item "hexkey"
  22. The value string is expected to be a hexadecimal number, which will be
  23. decoded before passing on as control value.
  24. =back
  25. =back
  26. =head1 SEE ALSO
  27. L<EVP_MAC_ctrl(3)>, L<EVP_MAC(3)/CONTROLS>
  28. =head1 COPYRIGHT
  29. Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
  30. Licensed under the Apache License 2.0 (the "License"). You may not use
  31. this file except in compliance with the License. You can obtain a copy
  32. in the file LICENSE in the source distribution or at
  33. L<https://www.openssl.org/source/license.html>.
  34. =cut