Home | History | Annotate | Download | only in linux
      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 (at) 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 
     14 #ifndef _UAPI_LINUX_HASH_INFO_H
     15 #define _UAPI_LINUX_HASH_INFO_H
     16 
     17 enum hash_algo {
     18 	HASH_ALGO_MD4,
     19 	HASH_ALGO_MD5,
     20 	HASH_ALGO_SHA1,
     21 	HASH_ALGO_RIPE_MD_160,
     22 	HASH_ALGO_SHA256,
     23 	HASH_ALGO_SHA384,
     24 	HASH_ALGO_SHA512,
     25 	HASH_ALGO_SHA224,
     26 	HASH_ALGO_RIPE_MD_128,
     27 	HASH_ALGO_RIPE_MD_256,
     28 	HASH_ALGO_RIPE_MD_320,
     29 	HASH_ALGO_WP_256,
     30 	HASH_ALGO_WP_384,
     31 	HASH_ALGO_WP_512,
     32 	HASH_ALGO_TGR_128,
     33 	HASH_ALGO_TGR_160,
     34 	HASH_ALGO_TGR_192,
     35 	HASH_ALGO_SM3_256,
     36 	HASH_ALGO_STREEBOG_256,
     37 	HASH_ALGO_STREEBOG_512,
     38 	HASH_ALGO__LAST
     39 };
     40 
     41 #endif /* _UAPI_LINUX_HASH_INFO_H */
     42