mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
crypto: caam - remove WAIT-FOR-COMPLETIONs from givencrypt descriptor
remains from descriptor debugging - not required for normal operation. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
f3af98681f
commit
d37d36e31c
1 changed files with 2 additions and 4 deletions
|
@ -828,15 +828,13 @@ static int aead_authenc_givencrypt(struct aead_givcrypt_request *req)
|
||||||
append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
|
append_cmd(desc, CMD_LOAD | DISABLE_AUTO_INFO_FIFO);
|
||||||
|
|
||||||
/* MOVE DECO Alignment -> C1 Context 16 bytes */
|
/* MOVE DECO Alignment -> C1 Context 16 bytes */
|
||||||
append_move(desc, MOVE_WAITCOMP | MOVE_SRC_INFIFO |
|
append_move(desc, MOVE_SRC_INFIFO | MOVE_DEST_CLASS1CTX | ivsize);
|
||||||
MOVE_DEST_CLASS1CTX | ivsize);
|
|
||||||
|
|
||||||
/* re-enable info fifo entries */
|
/* re-enable info fifo entries */
|
||||||
append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO);
|
append_cmd(desc, CMD_LOAD | ENABLE_AUTO_INFO_FIFO);
|
||||||
|
|
||||||
/* MOVE C1 Context -> OFIFO 16 bytes */
|
/* MOVE C1 Context -> OFIFO 16 bytes */
|
||||||
append_move(desc, MOVE_WAITCOMP | MOVE_SRC_CLASS1CTX |
|
append_move(desc, MOVE_SRC_CLASS1CTX | MOVE_DEST_OUTFIFO | ivsize);
|
||||||
MOVE_DEST_OUTFIFO | ivsize);
|
|
||||||
|
|
||||||
append_fifo_store(desc, iv_dma, ivsize, FIFOST_TYPE_MESSAGE_DATA);
|
append_fifo_store(desc, iv_dma, ivsize, FIFOST_TYPE_MESSAGE_DATA);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue