summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/desc_constr.h
diff options
context:
space:
mode:
authorSandeep Malik <Sandeep.Malik@freescale.com>2014-02-16 03:17:15 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-02-18 23:12:40 (GMT)
commit3ea7c1eb6de1ba9431119b8eeb7c71a5aefded25 (patch)
treeb1e1155b40fee07ead1bd6e7cb0366dd3e9d05af /drivers/crypto/caam/desc_constr.h
parentb968c968c258cc741e2246077166ce5237c33c14 (diff)
downloadlinux-fsl-qoriq-3ea7c1eb6de1ba9431119b8eeb7c71a5aefded25.tar.xz
ASF_IPSEC: Added some more commands in desc_constr.h to
support 3des-xcbc in ASF desc_constr.h has been modified to provide commands which are required to support 3des-xcbc Also added a minor correction in disassembler of decriptor which caused kernel crash on printing the descriptor using dis-assembler CR:ENGR00272350 Signed-off-by: Nipun Gupta <nipun.gupta@freescale.com> Signed-off-by: Sandeep Malik <Sandeep.Malik@freescale.com> Change-Id: I7d25e8898f3fd7bdc88b3d689434534c4a017bca Reviewed-on: http://git.am.freescale.net:8181/8827 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Horia Ioan Geanta Neag <horia.geanta@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/crypto/caam/desc_constr.h')
-rw-r--r--drivers/crypto/caam/desc_constr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc_constr.h b/drivers/crypto/caam/desc_constr.h
index cd5f678..7d6ca5f 100644
--- a/drivers/crypto/caam/desc_constr.h
+++ b/drivers/crypto/caam/desc_constr.h
@@ -188,6 +188,8 @@ static inline void append_##cmd(u32 *desc, unsigned int len, u32 options) \
APPEND_CMD_LEN(seq_store, SEQ_STORE)
APPEND_CMD_LEN(seq_fifo_load, SEQ_FIFO_LOAD)
APPEND_CMD_LEN(seq_fifo_store, SEQ_FIFO_STORE)
+APPEND_CMD_LEN(seq_out_ptr_pre_rto, SEQ_OUT_PTR)
+APPEND_CMD_LEN(seq_in_ptr_pre_rto, SEQ_IN_PTR)
#define APPEND_CMD_PTR(cmd, op) \
static inline void append_##cmd(u32 *desc, dma_addr_t ptr, unsigned int len, \