From 8c419778ab57e497b5de1352aa39dbe2efb3ed54 Mon Sep 17 00:00:00 2001 From: Tudor Ambarus Date: Mon, 4 Jul 2016 13:12:08 +0300 Subject: crypto: caam - add support for RSA algorithm Add RSA support to caam driver. Initial author is Yashpal Dutta . Signed-off-by: Tudor Ambarus Signed-off-by: Herbert Xu --- drivers/crypto/caam/desc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/crypto/caam/desc.h') 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) -- cgit v1.2.3