hash_info.h 936 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
  2. /*
  3. * Hash Info: Hash algorithms information
  4. *
  5. * Copyright (c) 2013 Dmitry Kasatkin <d.kasatkin@samsung.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the Free
  9. * Software Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. */
  13. #ifndef _UAPI_LINUX_HASH_INFO_H
  14. #define _UAPI_LINUX_HASH_INFO_H
  15. enum hash_algo {
  16. HASH_ALGO_MD4,
  17. HASH_ALGO_MD5,
  18. HASH_ALGO_SHA1,
  19. HASH_ALGO_RIPE_MD_160,
  20. HASH_ALGO_SHA256,
  21. HASH_ALGO_SHA384,
  22. HASH_ALGO_SHA512,
  23. HASH_ALGO_SHA224,
  24. HASH_ALGO_RIPE_MD_128,
  25. HASH_ALGO_RIPE_MD_256,
  26. HASH_ALGO_RIPE_MD_320,
  27. HASH_ALGO_WP_256,
  28. HASH_ALGO_WP_384,
  29. HASH_ALGO_WP_512,
  30. HASH_ALGO_TGR_128,
  31. HASH_ALGO_TGR_160,
  32. HASH_ALGO_TGR_192,
  33. HASH_ALGO_SM3_256,
  34. HASH_ALGO__LAST
  35. };
  36. #endif /* _UAPI_LINUX_HASH_INFO_H */