Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
0002 /*
0003  * Hash Info: Hash algorithms information
0004  *
0005  * Copyright (c) 2013 Dmitry Kasatkin <d.kasatkin@samsung.com>
0006  *
0007  * This program is free software; you can redistribute it and/or modify it
0008  * under the terms of the GNU General Public License as published by the Free
0009  * Software Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  */
0013 
0014 #ifndef _UAPI_LINUX_HASH_INFO_H
0015 #define _UAPI_LINUX_HASH_INFO_H
0016 
0017 enum hash_algo {
0018     HASH_ALGO_MD4,
0019     HASH_ALGO_MD5,
0020     HASH_ALGO_SHA1,
0021     HASH_ALGO_RIPE_MD_160,
0022     HASH_ALGO_SHA256,
0023     HASH_ALGO_SHA384,
0024     HASH_ALGO_SHA512,
0025     HASH_ALGO_SHA224,
0026     HASH_ALGO_RIPE_MD_128,
0027     HASH_ALGO_RIPE_MD_256,
0028     HASH_ALGO_RIPE_MD_320,
0029     HASH_ALGO_WP_256,
0030     HASH_ALGO_WP_384,
0031     HASH_ALGO_WP_512,
0032     HASH_ALGO_TGR_128,
0033     HASH_ALGO_TGR_160,
0034     HASH_ALGO_TGR_192,
0035     HASH_ALGO_SM3_256,
0036     HASH_ALGO_STREEBOG_256,
0037     HASH_ALGO_STREEBOG_512,
0038     HASH_ALGO__LAST
0039 };
0040 
0041 #endif /* _UAPI_LINUX_HASH_INFO_H */