summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2018-11-07 00:00:02 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-16 14:09:40 +0800
commitdfdda82e3b84c13601be09f8351ec4f15a4fbe03 (patch)
tree5458e5cf20ed2820d6531aecd44f344de767ffd5 /include/uapi
parentfe18957e8e87403a9d4be8e8a62352ef107def99 (diff)
downloadtalos-obmc-linux-dfdda82e3b84c13601be09f8351ec4f15a4fbe03.tar.gz
talos-obmc-linux-dfdda82e3b84c13601be09f8351ec4f15a4fbe03.zip
crypto: streebog - register Streebog in hash info for IMA
Register Streebog hash function in Hash Info arrays to let IMA use it for its purposes. Cc: linux-integrity@vger.kernel.org Signed-off-by: Vitaly Chikunov <vt@altlinux.org> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/hash_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/hash_info.h b/include/uapi/linux/hash_info.h
index eea5d02c58de..74a8609fcb4d 100644
--- a/include/uapi/linux/hash_info.h
+++ b/include/uapi/linux/hash_info.h
@@ -33,6 +33,8 @@ enum hash_algo {
HASH_ALGO_TGR_160,
HASH_ALGO_TGR_192,
HASH_ALGO_SM3_256,
+ HASH_ALGO_STREEBOG_256,
+ HASH_ALGO_STREEBOG_512,
HASH_ALGO__LAST
};
OpenPOWER on IntegriCloud