curl_sha256.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef HEADER_CURL_SHA256_H
  2. #define HEADER_CURL_SHA256_H
  3. /***************************************************************************
  4. * _ _ ____ _
  5. * Project ___| | | | _ \| |
  6. * / __| | | | |_) | |
  7. * | (__| |_| | _ <| |___
  8. * \___|\___/|_| \_\_____|
  9. *
  10. * Copyright (C) 2017, Florin Petriuc, <petriuc.florin@gmail.com>
  11. * Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
  12. *
  13. * This software is licensed as described in the file COPYING, which
  14. * you should have received as part of this distribution. The terms
  15. * are also available at https://curl.haxx.se/docs/copyright.html.
  16. *
  17. * You may opt to use, copy, modify, merge, publish, distribute and/or sell
  18. * copies of the Software, and permit persons to whom the Software is
  19. * furnished to do so, under the terms of the COPYING file.
  20. *
  21. * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  22. * KIND, either express or implied.
  23. *
  24. ***************************************************************************/
  25. #ifndef CURL_DISABLE_CRYPTO_AUTH
  26. #define SHA256_DIGEST_LENGTH 32
  27. void Curl_sha256it(unsigned char *outbuffer, const unsigned char *input,
  28. const size_t len);
  29. #endif
  30. #endif /* HEADER_CURL_SHA256_H */