EVP_MD-common.pod 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. =pod
  2. =head1 NAME
  3. EVP_MD-common - The OpenSSL EVP_MD implementations, common things
  4. =head1 DESCRIPTION
  5. All the OpenSSL EVP_MD implementations understand the following
  6. L<OSSL_PARAM(3)> entries that are
  7. gettable with L<EVP_MD_get_params(3)>, as well as these:
  8. =over 4
  9. =item "blocksize" (B<OSSL_DIGEST_PARAM_BLOCK_SIZE>) <unsigned integer>
  10. The digest block size.
  11. The length of the "blocksize" parameter should not exceed that of a
  12. B<size_t>.
  13. This value can also be retrieved with L<EVP_MD_block_size(3)>.
  14. =item "size" (B<OSSL_DIGEST_PARAM_SIZE>) <unsigned integer>
  15. The digest output size.
  16. The length of the "size" parameter should not exceed that of a B<size_t>.
  17. This value can also be retrieved with L<EVP_MD_size(3)>.
  18. =item "flags" (B<OSSL_DIGEST_PARAM_FLAGS>) <unsigned integer>
  19. Diverse flags that describe exceptional behaviour for the digest.
  20. These flags are described in L<EVP_MD_meth_set_flags(3)/DESCRIPTION>.
  21. The length of the "flags" parameter should equal that of an
  22. B<unsigned long int>.
  23. =begin comment
  24. The description of these flags should probably be moved. Also,
  25. EVP_MD_FLAG_FIPS isn't relevant any more.
  26. =end comment
  27. This value can also be retrieved with L<EVP_MD_flags(3)>.
  28. =back
  29. =head1 SEE ALSO
  30. L<EVP_MD_get_params(3)>, L<provider-digest(7)>
  31. =head1 COPYRIGHT
  32. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  33. Licensed under the Apache License 2.0 (the "License"). You may not use
  34. this file except in compliance with the License. You can obtain a copy
  35. in the file LICENSE in the source distribution or at
  36. L<https://www.openssl.org/source/license.html>.
  37. =cut