aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDimitri John Ledkov <[email protected]>2023-10-22 19:22:04 +0100
committerHerbert Xu <[email protected]>2023-10-27 18:04:30 +0800
commit4b057654ebc3e071e2a95ea2edfd15b5682cedba (patch)
tree43a2ba074fb0d9d779138c1c68219ce0fa642282 /include/uapi/linux
parent2ee7c1bcf3d1c91ede9d914c52fa2f56c449b75a (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/hash_info.h3
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
};