hash_info.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_HASH_INFO_H
20#define _UAPI_LINUX_HASH_INFO_H
21enum hash_algo {
22  HASH_ALGO_MD4,
23  HASH_ALGO_MD5,
24  HASH_ALGO_SHA1,
25  HASH_ALGO_RIPE_MD_160,
26  HASH_ALGO_SHA256,
27  HASH_ALGO_SHA384,
28  HASH_ALGO_SHA512,
29  HASH_ALGO_SHA224,
30  HASH_ALGO_RIPE_MD_128,
31  HASH_ALGO_RIPE_MD_256,
32  HASH_ALGO_RIPE_MD_320,
33  HASH_ALGO_WP_256,
34  HASH_ALGO_WP_384,
35  HASH_ALGO_WP_512,
36  HASH_ALGO_TGR_128,
37  HASH_ALGO_TGR_160,
38  HASH_ALGO_TGR_192,
39  HASH_ALGO_SM3_256,
40  HASH_ALGO__LAST
41};
42#endif
43