sha_common_macros.h 559 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2024, NVIDIA Corporation. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef SHA_COMMON_MACROS_H
  7. #define SHA_COMMON_MACROS_H
  8. #define MD5_DIGEST_SIZE 16U
  9. #define SHA1_DIGEST_SIZE 20U
  10. #define SHA224_DIGEST_SIZE 28U
  11. #define SHA256_DIGEST_SIZE 32U
  12. #define SHA384_DIGEST_SIZE 48U
  13. #define SHA512_224_DIGEST_SIZE 28U
  14. #define SHA512_256_DIGEST_SIZE 32U
  15. #define SHA512_DIGEST_SIZE 64U
  16. #endif /* SHA_COMMON_MACROS_H */