hash_info.h 852 B

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