diff options
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 4eec389184d3..5c10dc5c0c51 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c | |||
@@ -143,11 +143,11 @@ static inline void aead_append_ld_iv(u32 *desc, int ivsize) | |||
143 | */ | 143 | */ |
144 | static inline void ablkcipher_append_src_dst(u32 *desc) | 144 | static inline void ablkcipher_append_src_dst(u32 *desc) |
145 | { | 145 | { |
146 | append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); \ | 146 | append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); |
147 | append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); \ | 147 | append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); |
148 | append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | \ | 148 | append_seq_fifo_load(desc, 0, FIFOLD_CLASS_CLASS1 | |
149 | KEY_VLF | FIFOLD_TYPE_MSG | FIFOLD_TYPE_LAST1); \ | 149 | KEY_VLF | FIFOLD_TYPE_MSG | FIFOLD_TYPE_LAST1); |
150 | append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF); \ | 150 | append_seq_fifo_store(desc, 0, FIFOST_TYPE_MESSAGE_DATA | KEY_VLF); |
151 | } | 151 | } |
152 | 152 | ||
153 | /* | 153 | /* |