summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2016-07-27 02:10:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-09 12:47:16 +0200
commit4b394a232df78414442778b02ca4a388d947d059 (patch)
tree5268deba5299e9c4c9fbd697b6e26daa95ffe531 /include
parentcrypto: ccp - Refactor code to enable checks for queue space. (diff)
downloadlinux-4b394a232df78414442778b02ca4a388d947d059.tar.xz
linux-4b394a232df78414442778b02ca4a388d947d059.zip
crypto: ccp - Let a v5 CCP provide the same function as v3
Enable equivalent function on a v5 CCP. Add support for a version 5 CCP which enables AES/XTS/SHA services. Also, more work on the data structures to virtualize functionality. Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ccp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ccp.h b/include/linux/ccp.h
index 7c2bb27c067c..a7653339fedb 100644
--- a/include/linux/ccp.h
+++ b/include/linux/ccp.h
@@ -238,9 +238,6 @@ struct ccp_xts_aes_engine {
};
/***** SHA engine *****/
-#define CCP_SHA_BLOCKSIZE SHA256_BLOCK_SIZE
-#define CCP_SHA_CTXSIZE SHA256_DIGEST_SIZE
-
/**
* ccp_sha_type - type of SHA operation
*