diff options
Diffstat (limited to 'drivers/crypto/caam/caamalg.c')
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 20e12155af63..8eb84d37f3f0 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c | |||
@@ -828,15 +828,13 @@ static int aead_authenc_givencrypt(struct aead_givcrypt_request *req) | |||
828 | append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO); | 828 | append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO); |
829 | 829 | ||
830 | /* MOVE DECO Alignment -> C1 Context 16 bytes */ | 830 | /* MOVE DECO Alignment -> C1 Context 16 bytes */ |
831 | append_move(desc, MOVE_WAITCOMP | MOVE_SRC_INFIFO | | 831 | append_move(desc, MOVE_SRC_INFIFO | MOVE_DEST_CLASS1CTX | ivsize); |
832 | MOVE_DEST_CLASS1CTX | ivsize); | ||
833 | 832 | ||
834 | /* re-enable info fifo entries */ | 833 | /* re-enable info fifo entries */ |
835 | append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO); | 834 | append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO); |
836 | 835 | ||
837 | /* MOVE C1 Context -> OFIFO 16 bytes */ | 836 | /* MOVE C1 Context -> OFIFO 16 bytes */ |
838 | append_move(desc, MOVE_WAITCOMP | MOVE_SRC_CLASS1CTX | | 837 | append_move(desc, MOVE_SRC_CLASS1CTX | MOVE_DEST_OUTFIFO | ivsize); |
839 | MOVE_DEST_OUTFIFO | ivsize); | ||
840 | 838 | ||
841 | append_fifo_store(desc, iv_dma, ivsize, FIFOST_TYPE_MESSAGE_DATA); | 839 | append_fifo_store(desc, iv_dma, ivsize, FIFOST_TYPE_MESSAGE_DATA); |
842 | 840 | ||