diff options
Diffstat (limited to 'drivers/crypto/caam/caamalg.c')
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 5c10dc5c0c51..d0f8df1dcec3 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c | |||
@@ -37,9 +37,10 @@ | |||
37 | * | ShareDesc Pointer | | 37 | * | ShareDesc Pointer | |
38 | * | SEQ_OUT_PTR | | 38 | * | SEQ_OUT_PTR | |
39 | * | (output buffer) | | 39 | * | (output buffer) | |
40 | * | (output length) | | ||
40 | * | SEQ_IN_PTR | | 41 | * | SEQ_IN_PTR | |
41 | * | (input buffer) | | 42 | * | (input buffer) | |
42 | * | LOAD (to DECO) | | 43 | * | (input length) | |
43 | * --------------------- | 44 | * --------------------- |
44 | */ | 45 | */ |
45 | 46 | ||
@@ -62,7 +63,7 @@ | |||
62 | #define CAAM_MAX_IV_LENGTH 16 | 63 | #define CAAM_MAX_IV_LENGTH 16 |
63 | 64 | ||
64 | /* length of descriptors text */ | 65 | /* length of descriptors text */ |
65 | #define DESC_JOB_IO_LEN (CAAM_CMD_SZ * 3 + CAAM_PTR_SZ * 3) | 66 | #define DESC_JOB_IO_LEN (CAAM_CMD_SZ * 5 + CAAM_PTR_SZ * 3) |
66 | 67 | ||
67 | #define DESC_AEAD_BASE (4 * CAAM_CMD_SZ) | 68 | #define DESC_AEAD_BASE (4 * CAAM_CMD_SZ) |
68 | #define DESC_AEAD_ENC_LEN (DESC_AEAD_BASE + 16 * CAAM_CMD_SZ) | 69 | #define DESC_AEAD_ENC_LEN (DESC_AEAD_BASE + 16 * CAAM_CMD_SZ) |