summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/desc.h
diff options
context:
space:
mode:
authorTudor Ambarus <tudor-dan.ambarus@nxp.com>2016-07-04 13:12:08 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-05 18:05:24 +0300
commit8c419778ab57e497b5de1352aa39dbe2efb3ed54 (patch)
treeb9977075029d6d46cc1ae2e743e7df9bde0bd1c3 /drivers/crypto/caam/desc.h
parent57763f5ec7488d5864e4d6ec9d4197b8f52214bd (diff)
downloadlinux-8c419778ab57e497b5de1352aa39dbe2efb3ed54.tar.xz
crypto: caam - add support for RSA algorithm
Add RSA support to caam driver. Initial author is Yashpal Dutta <yashpal.dutta@freescale.com>. Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/desc.h')
-rw-r--r--drivers/crypto/caam/desc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h
index d8d5584b600b..26427c11ad87 100644
--- a/drivers/crypto/caam/desc.h
+++ b/drivers/crypto/caam/desc.h
@@ -453,6 +453,8 @@ struct sec4_sg_entry {
#define OP_PCLID_PUBLICKEYPAIR (0x14 << OP_PCLID_SHIFT)
#define OP_PCLID_DSASIGN (0x15 << OP_PCLID_SHIFT)
#define OP_PCLID_DSAVERIFY (0x16 << OP_PCLID_SHIFT)
+#define OP_PCLID_RSAENC_PUBKEY (0x18 << OP_PCLID_SHIFT)
+#define OP_PCLID_RSADEC_PRVKEY (0x19 << OP_PCLID_SHIFT)
/* Assuming OP_TYPE = OP_TYPE_DECAP_PROTOCOL/ENCAP_PROTOCOL */
#define OP_PCLID_IPSEC (0x01 << OP_PCLID_SHIFT)