Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ |
Dmitry Kasatkin | ee08997 | 2013-05-06 15:40:01 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Hash Info: Hash algorithms information |
| 4 | * |
| 5 | * Copyright (c) 2013 Dmitry Kasatkin <d.kasatkin@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, |
Jarkko Sakkinen | 5ca4c20 | 2015-11-05 21:43:06 +0200 | [diff] [blame] | 35 | HASH_ALGO_SM3_256, |
Vitaly Chikunov | dfdda82 | 2018-11-07 00:00:02 +0300 | [diff] [blame] | 36 | HASH_ALGO_STREEBOG_256, |
| 37 | HASH_ALGO_STREEBOG_512, |
Dmitry Kasatkin | ee08997 | 2013-05-06 15:40:01 +0300 | [diff] [blame] | 38 | HASH_ALGO__LAST |
| 39 | }; |
| 40 | |
| 41 | #endif /* _UAPI_LINUX_HASH_INFO_H */ |