diff options
| author | Dimitri John Ledkov <dimitri.ledkov@canonical.com> | 2023-10-22 21:22:04 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-27 13:04:30 +0300 |
| commit | 4b057654ebc3e071e2a95ea2edfd15b5682cedba (patch) | |
| tree | 43a2ba074fb0d9d779138c1c68219ce0fa642282 /include/uapi | |
| parent | 2ee7c1bcf3d1c91ede9d914c52fa2f56c449b75a (diff) | |
| download | linux-4b057654ebc3e071e2a95ea2edfd15b5682cedba.tar.xz | |
crypto: FIPS 202 SHA-3 register in hash info for IMA
Register FIPS 202 SHA-3 hashes in hash info for IMA and other
users. Sizes 256 and up, as 224 is too weak for any practical
purposes.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/hash_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/hash_info.h b/include/uapi/linux/hash_info.h index 74a8609fcb4d..0af23ec196d8 100644 --- a/include/uapi/linux/hash_info.h +++ b/include/uapi/linux/hash_info.h @@ -35,6 +35,9 @@ enum hash_algo { HASH_ALGO_SM3_256, HASH_ALGO_STREEBOG_256, HASH_ALGO_STREEBOG_512, + HASH_ALGO_SHA3_256, + HASH_ALGO_SHA3_384, + HASH_ALGO_SHA3_512, HASH_ALGO__LAST }; |
