summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccp/ccp-dev.h
diff options
context:
space:
mode:
authorGary R Hook2016-07-27 02:09:31 +0200
committerHerbert Xu2016-08-09 12:47:07 +0200
commita43eb98507574acfc435c38a6b7fb1fab6605519 (patch)
tree1eea667ffad67ed47272ca0d3b9c2351fcaa0348 /drivers/crypto/ccp/ccp-dev.h
parentcrypto: ccp - Abstract PCI info for the CCP (diff)
downloadkernel-qcow2-linux-a43eb98507574acfc435c38a6b7fb1fab6605519.tar.gz
kernel-qcow2-linux-a43eb98507574acfc435c38a6b7fb1fab6605519.tar.xz
kernel-qcow2-linux-a43eb98507574acfc435c38a6b7fb1fab6605519.zip
crypto: ccp - Shorten the fields of the action structure
Use more concise field names; "perform_" is too verbose. Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-dev.h')
-rw-r--r--drivers/crypto/ccp/ccp-dev.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h
index 8824e41677c6..46d3ef30c6e9 100644
--- a/drivers/crypto/ccp/ccp-dev.h
+++ b/drivers/crypto/ccp/ccp-dev.h
@@ -149,12 +149,12 @@ struct ccp_op;
/* Structure for computation functions that are device-specific */
struct ccp_actions {
- int (*perform_aes)(struct ccp_op *);
- int (*perform_xts_aes)(struct ccp_op *);
- int (*perform_sha)(struct ccp_op *);
- int (*perform_rsa)(struct ccp_op *);
- int (*perform_passthru)(struct ccp_op *);
- int (*perform_ecc)(struct ccp_op *);
+ int (*aes)(struct ccp_op *);
+ int (*xts_aes)(struct ccp_op *);
+ int (*sha)(struct ccp_op *);
+ int (*rsa)(struct ccp_op *);
+ int (*passthru)(struct ccp_op *);
+ int (*ecc)(struct ccp_op *);
int (*init)(struct ccp_device *);
void (*destroy)(struct ccp_device *);
irqreturn_t (*irqhandler)(int, void *);