summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2016-07-27 03:10:21 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-09 13:47:16 +0300
commit4b394a232df78414442778b02ca4a388d947d059 (patch)
tree5268deba5299e9c4c9fbd697b6e26daa95ffe531 /include
parentbb4e89b34d1bf46156b7e880a0f34205fb7ce2a5 (diff)
downloadlinux-4b394a232df78414442778b02ca4a388d947d059.tar.xz
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
*