cm_sha2_mangle.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cm_sha2_mangle_h
  4. #define cm_sha2_mangle_h
  5. /* Mangle sha2 symbol names to avoid possible conflict with
  6. implementations in other libraries to which CMake links. */
  7. #define SHA1_Data cmSHA1_Data
  8. #define SHA1_End cmSHA1_End
  9. #define SHA1_Final cmSHA1_Final
  10. #define SHA1_Init cmSHA1_Init
  11. #define SHA1_Internal_Transform cmSHA1_Internal_Transform
  12. #define SHA1_Update cmSHA1_Update
  13. #define SHA224_Data cmSHA224_Data
  14. #define SHA224_End cmSHA224_End
  15. #define SHA224_Final cmSHA224_Final
  16. #define SHA224_Init cmSHA224_Init
  17. #define SHA224_Internal_Transform cmSHA224_Internal_Transform
  18. #define SHA224_Update cmSHA224_Update
  19. #define SHA256_Data cmSHA256_Data
  20. #define SHA256_End cmSHA256_End
  21. #define SHA256_Final cmSHA256_Final
  22. #define SHA256_Init cmSHA256_Init
  23. #define SHA256_Internal_Init cmSHA256_Internal_Init
  24. #define SHA256_Internal_Last cmSHA256_Internal_Last
  25. #define SHA256_Internal_Transform cmSHA256_Internal_Transform
  26. #define SHA256_Update cmSHA256_Update
  27. #define SHA384_Data cmSHA384_Data
  28. #define SHA384_End cmSHA384_End
  29. #define SHA384_Final cmSHA384_Final
  30. #define SHA384_Init cmSHA384_Init
  31. #define SHA384_Update cmSHA384_Update
  32. #define SHA512_Data cmSHA512_Data
  33. #define SHA512_End cmSHA512_End
  34. #define SHA512_Final cmSHA512_Final
  35. #define SHA512_Init cmSHA512_Init
  36. #define SHA512_Internal_Init cmSHA512_Internal_Init
  37. #define SHA512_Internal_Last cmSHA512_Internal_Last
  38. #define SHA512_Internal_Transform cmSHA512_Internal_Transform
  39. #define SHA512_Update cmSHA512_Update
  40. #endif