cm_sha2_mangle.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cm_sha2_mangle_h
  11. #define cm_sha2_mangle_h
  12. /* Mangle sha2 symbol names to avoid possible conflict with
  13. implementations in other libraries to which CMake links. */
  14. #define SHA1_Data cmSHA1_Data
  15. #define SHA1_End cmSHA1_End
  16. #define SHA1_Final cmSHA1_Final
  17. #define SHA1_Init cmSHA1_Init
  18. #define SHA1_Internal_Transform cmSHA1_Internal_Transform
  19. #define SHA1_Update cmSHA1_Update
  20. #define SHA224_Data cmSHA224_Data
  21. #define SHA224_End cmSHA224_End
  22. #define SHA224_Final cmSHA224_Final
  23. #define SHA224_Init cmSHA224_Init
  24. #define SHA224_Internal_Transform cmSHA224_Internal_Transform
  25. #define SHA224_Update cmSHA224_Update
  26. #define SHA256_Data cmSHA256_Data
  27. #define SHA256_End cmSHA256_End
  28. #define SHA256_Final cmSHA256_Final
  29. #define SHA256_Init cmSHA256_Init
  30. #define SHA256_Internal_Init cmSHA256_Internal_Init
  31. #define SHA256_Internal_Last cmSHA256_Internal_Last
  32. #define SHA256_Internal_Transform cmSHA256_Internal_Transform
  33. #define SHA256_Update cmSHA256_Update
  34. #define SHA384_Data cmSHA384_Data
  35. #define SHA384_End cmSHA384_End
  36. #define SHA384_Final cmSHA384_Final
  37. #define SHA384_Init cmSHA384_Init
  38. #define SHA384_Update cmSHA384_Update
  39. #define SHA512_Data cmSHA512_Data
  40. #define SHA512_End cmSHA512_End
  41. #define SHA512_Final cmSHA512_Final
  42. #define SHA512_Init cmSHA512_Init
  43. #define SHA512_Internal_Init cmSHA512_Internal_Init
  44. #define SHA512_Internal_Last cmSHA512_Internal_Last
  45. #define SHA512_Internal_Transform cmSHA512_Internal_Transform
  46. #define SHA512_Update cmSHA512_Update
  47. #endif