crypto/caam_jr: add enqueue/dequeue operations
authorGagandeep Singh <g.singh@nxp.com>
Fri, 12 Oct 2018 14:40:51 +0000 (20:10 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 17 Oct 2018 10:23:40 +0000 (12:23 +0200)
commit6ef6beca884493eee227082bd8006d9c7bbfa655
tree47f87641f201ec03deb32bb4713377672af0f376
parent42600bbc018062df811889f38822b18325bbe741
crypto/caam_jr: add enqueue/dequeue operations

This patch add support for :
1. creating run time sec hw decriptors for a given request.
2. enqueue operation to the caam jr ring
3. dequeue operation from the caam jr ring in poll mode
4. creating a crypto protocol descriptor for session - first time.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/caam_jr/caam_jr.c
drivers/crypto/caam_jr/caam_jr_desc.h [new file with mode: 0644]