.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Hash Info: Hash algorithms information |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (c) 2013 Dmitry Kasatkin <d.kasatkin@samsung.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify it |
---|
7 | | - * under the terms of the GNU General Public License as published by the Free |
---|
8 | | - * Software Foundation; either version 2 of the License, or (at your option) |
---|
9 | | - * any later version. |
---|
10 | | - * |
---|
11 | 6 | */ |
---|
12 | 7 | |
---|
13 | 8 | #include <linux/export.h> |
---|
.. | .. |
---|
31 | 26 | [HASH_ALGO_TGR_128] = "tgr128", |
---|
32 | 27 | [HASH_ALGO_TGR_160] = "tgr160", |
---|
33 | 28 | [HASH_ALGO_TGR_192] = "tgr192", |
---|
34 | | - [HASH_ALGO_SM3_256] = "sm3-256", |
---|
| 29 | + [HASH_ALGO_SM3_256] = "sm3", |
---|
| 30 | + [HASH_ALGO_STREEBOG_256] = "streebog256", |
---|
| 31 | + [HASH_ALGO_STREEBOG_512] = "streebog512", |
---|
35 | 32 | }; |
---|
36 | 33 | EXPORT_SYMBOL_GPL(hash_algo_name); |
---|
37 | 34 | |
---|
.. | .. |
---|
54 | 51 | [HASH_ALGO_TGR_160] = TGR160_DIGEST_SIZE, |
---|
55 | 52 | [HASH_ALGO_TGR_192] = TGR192_DIGEST_SIZE, |
---|
56 | 53 | [HASH_ALGO_SM3_256] = SM3256_DIGEST_SIZE, |
---|
| 54 | + [HASH_ALGO_STREEBOG_256] = STREEBOG256_DIGEST_SIZE, |
---|
| 55 | + [HASH_ALGO_STREEBOG_512] = STREEBOG512_DIGEST_SIZE, |
---|
57 | 56 | }; |
---|
58 | 57 | EXPORT_SYMBOL_GPL(hash_digest_size); |
---|