| Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 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 | 
|  | 21 | enum hash_algo { | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 22 | HASH_ALGO_MD4, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 23 | HASH_ALGO_MD5, | 
|  | 24 | HASH_ALGO_SHA1, | 
|  | 25 | HASH_ALGO_RIPE_MD_160, | 
|  | 26 | HASH_ALGO_SHA256, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 27 | HASH_ALGO_SHA384, | 
|  | 28 | HASH_ALGO_SHA512, | 
|  | 29 | HASH_ALGO_SHA224, | 
|  | 30 | HASH_ALGO_RIPE_MD_128, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 31 | HASH_ALGO_RIPE_MD_256, | 
|  | 32 | HASH_ALGO_RIPE_MD_320, | 
|  | 33 | HASH_ALGO_WP_256, | 
|  | 34 | HASH_ALGO_WP_384, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 35 | HASH_ALGO_WP_512, | 
|  | 36 | HASH_ALGO_TGR_128, | 
|  | 37 | HASH_ALGO_TGR_160, | 
|  | 38 | HASH_ALGO_TGR_192, | 
| Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 39 | HASH_ALGO_SM3_256, | 
| Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame] | 40 | HASH_ALGO_STREEBOG_256, | 
|  | 41 | HASH_ALGO_STREEBOG_512, | 
| Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 42 | HASH_ALGO__LAST | 
| Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 43 | }; | 
|  | 44 | #endif |