summaryrefslogtreecommitdiffstats
path: root/include/linux/ccp.h
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2017-03-15 13:20:43 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 22:02:54 +0800
commitccebcf3f224a44ec8e9c5bfca9d8e5d29298a5a8 (patch)
treea463b4fcb62bd3e30d4069979e2a882ea64e34d0 /include/linux/ccp.h
parent146c8688d99c574d9ff0af17eca51bbd6402a57f (diff)
downloadlinux-ccebcf3f224a44ec8e9c5bfca9d8e5d29298a5a8.tar.gz
linux-ccebcf3f224a44ec8e9c5bfca9d8e5d29298a5a8.tar.bz2
linux-ccebcf3f224a44ec8e9c5bfca9d8e5d29298a5a8.zip
crypto: ccp - Add SHA-2 384- and 512-bit support
Incorporate 384-bit and 512-bit hashing for a version 5 CCP device Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/ccp.h')
-rw-r--r--include/linux/ccp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ccp.h b/include/linux/ccp.h
index c71dd8fa5764..90a1fbe84219 100644
--- a/include/linux/ccp.h
+++ b/include/linux/ccp.h
@@ -249,6 +249,8 @@ enum ccp_sha_type {
CCP_SHA_TYPE_1 = 1,
CCP_SHA_TYPE_224,
CCP_SHA_TYPE_256,
+ CCP_SHA_TYPE_384,
+ CCP_SHA_TYPE_512,
CCP_SHA_TYPE__LAST,
};