CAAM_CMD_SZ 69 drivers/crypto/caam/caamalg.c #define AEAD_DESC_JOB_IO_LEN (DESC_JOB_IO_LEN + CAAM_CMD_SZ * 2) CAAM_CMD_SZ 71 drivers/crypto/caam/caamalg.c CAAM_CMD_SZ * 4) CAAM_CMD_SZ 73 drivers/crypto/caam/caamalg.c CAAM_CMD_SZ * 5) CAAM_CMD_SZ 75 drivers/crypto/caam/caamalg.c #define CHACHAPOLY_DESC_JOB_IO_LEN (AEAD_DESC_JOB_IO_LEN + CAAM_CMD_SZ * 6) CAAM_CMD_SZ 78 drivers/crypto/caam/caamalg.c #define DESC_MAX_USED_LEN (DESC_MAX_USED_BYTES / CAAM_CMD_SZ) CAAM_CMD_SZ 1850 drivers/crypto/caam/caamalg.c edesc = skcipher_edesc_alloc(req, DESC_JOB_IO_LEN * CAAM_CMD_SZ); CAAM_CMD_SZ 1887 drivers/crypto/caam/caamalg.c edesc = skcipher_edesc_alloc(req, DESC_JOB_IO_LEN * CAAM_CMD_SZ); CAAM_CMD_SZ 81 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, REG3, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 84 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 85 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 164 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, REG2, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 167 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG2, CAAM_CMD_SZ); CAAM_CMD_SZ 168 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG2, CAAM_CMD_SZ); CAAM_CMD_SZ 322 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 323 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 325 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ); CAAM_CMD_SZ 326 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, DPOVRD, CAAM_CMD_SZ); CAAM_CMD_SZ 348 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 349 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 417 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 423 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 425 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ); CAAM_CMD_SZ 431 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 464 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 465 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 560 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 561 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 563 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, DPOVRD, CAAM_CMD_SZ); CAAM_CMD_SZ 564 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, DPOVRD, CAAM_CMD_SZ); CAAM_CMD_SZ 594 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 601 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 675 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 687 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 691 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 697 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 708 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 802 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 806 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 818 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 824 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 905 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 911 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 926 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, VARSEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1014 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 1024 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 1033 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1098 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, REG3, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1111 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1114 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1181 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, REG3, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1194 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQINLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1197 drivers/crypto/caam/caamalg_desc.c append_math_sub(desc, VARSEQOUTLEN, SEQOUTLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1310 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 1311 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, ZERO, REG3, CAAM_CMD_SZ); CAAM_CMD_SZ 1329 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1331 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 1340 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 1342 drivers/crypto/caam/caamalg_desc.c CAAM_CMD_SZ); CAAM_CMD_SZ 1359 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQOUTLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 1360 drivers/crypto/caam/caamalg_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 12 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_BASE (4 * CAAM_CMD_SZ) CAAM_CMD_SZ 13 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_ENC_LEN (DESC_AEAD_BASE + 11 * CAAM_CMD_SZ) CAAM_CMD_SZ 14 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_DEC_LEN (DESC_AEAD_BASE + 15 * CAAM_CMD_SZ) CAAM_CMD_SZ 15 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_GIVENC_LEN (DESC_AEAD_ENC_LEN + 8 * CAAM_CMD_SZ) CAAM_CMD_SZ 16 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_AEAD_ENC_LEN (DESC_AEAD_ENC_LEN + 3 * CAAM_CMD_SZ) CAAM_CMD_SZ 17 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_AEAD_DEC_LEN (DESC_AEAD_DEC_LEN + 3 * CAAM_CMD_SZ) CAAM_CMD_SZ 18 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_AEAD_GIVENC_LEN (DESC_AEAD_GIVENC_LEN + 3 * CAAM_CMD_SZ) CAAM_CMD_SZ 21 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_CTR_RFC3686_LEN (4 * CAAM_CMD_SZ) CAAM_CMD_SZ 23 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_NULL_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 24 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_NULL_ENC_LEN (DESC_AEAD_NULL_BASE + 11 * CAAM_CMD_SZ) CAAM_CMD_SZ 25 drivers/crypto/caam/caamalg_desc.h #define DESC_AEAD_NULL_DEC_LEN (DESC_AEAD_NULL_BASE + 13 * CAAM_CMD_SZ) CAAM_CMD_SZ 27 drivers/crypto/caam/caamalg_desc.h #define DESC_GCM_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 28 drivers/crypto/caam/caamalg_desc.h #define DESC_GCM_ENC_LEN (DESC_GCM_BASE + 16 * CAAM_CMD_SZ) CAAM_CMD_SZ 29 drivers/crypto/caam/caamalg_desc.h #define DESC_GCM_DEC_LEN (DESC_GCM_BASE + 12 * CAAM_CMD_SZ) CAAM_CMD_SZ 30 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_GCM_ENC_LEN (DESC_GCM_ENC_LEN + 6 * CAAM_CMD_SZ) CAAM_CMD_SZ 31 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_GCM_DEC_LEN (DESC_GCM_DEC_LEN + 3 * CAAM_CMD_SZ) CAAM_CMD_SZ 33 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4106_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 34 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4106_ENC_LEN (DESC_RFC4106_BASE + 16 * CAAM_CMD_SZ) CAAM_CMD_SZ 35 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4106_DEC_LEN (DESC_RFC4106_BASE + 13 * CAAM_CMD_SZ) CAAM_CMD_SZ 36 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_RFC4106_ENC_LEN (DESC_RFC4106_ENC_LEN + 5 * CAAM_CMD_SZ) CAAM_CMD_SZ 37 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_RFC4106_DEC_LEN (DESC_RFC4106_DEC_LEN + 5 * CAAM_CMD_SZ) CAAM_CMD_SZ 39 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4543_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 40 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4543_ENC_LEN (DESC_RFC4543_BASE + 11 * CAAM_CMD_SZ) CAAM_CMD_SZ 41 drivers/crypto/caam/caamalg_desc.h #define DESC_RFC4543_DEC_LEN (DESC_RFC4543_BASE + 12 * CAAM_CMD_SZ) CAAM_CMD_SZ 42 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_RFC4543_ENC_LEN (DESC_RFC4543_ENC_LEN + 4 * CAAM_CMD_SZ) CAAM_CMD_SZ 43 drivers/crypto/caam/caamalg_desc.h #define DESC_QI_RFC4543_DEC_LEN (DESC_RFC4543_DEC_LEN + 4 * CAAM_CMD_SZ) CAAM_CMD_SZ 45 drivers/crypto/caam/caamalg_desc.h #define DESC_SKCIPHER_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 47 drivers/crypto/caam/caamalg_desc.h 21 * CAAM_CMD_SZ) CAAM_CMD_SZ 49 drivers/crypto/caam/caamalg_desc.h 16 * CAAM_CMD_SZ) CAAM_CMD_SZ 32 drivers/crypto/caam/caamalg_qi.c #define DESC_MAX_USED_LEN (DESC_MAX_USED_BYTES / CAAM_CMD_SZ) CAAM_CMD_SZ 79 drivers/crypto/caam/caamhash.c #define DESC_HASH_MAX_USED_LEN (DESC_HASH_MAX_USED_BYTES / CAAM_CMD_SZ) CAAM_CMD_SZ 390 drivers/crypto/caam/caamhash.c desc = kmalloc(CAAM_CMD_SZ * 8 + CAAM_PTR_SZ * 2, GFP_KERNEL | GFP_DMA); CAAM_CMD_SZ 68 drivers/crypto/caam/caamhash_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 123 drivers/crypto/caam/caamhash_desc.c append_math_add(desc, VARSEQINLEN, SEQINLEN, REG0, CAAM_CMD_SZ); CAAM_CMD_SZ 12 drivers/crypto/caam/caamhash_desc.h #define DESC_AHASH_BASE (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 13 drivers/crypto/caam/caamhash_desc.h #define DESC_AHASH_UPDATE_LEN (6 * CAAM_CMD_SZ) CAAM_CMD_SZ 14 drivers/crypto/caam/caamhash_desc.h #define DESC_AHASH_UPDATE_FIRST_LEN (DESC_AHASH_BASE + 4 * CAAM_CMD_SZ) CAAM_CMD_SZ 15 drivers/crypto/caam/caamhash_desc.h #define DESC_AHASH_FINAL_LEN (DESC_AHASH_BASE + 5 * CAAM_CMD_SZ) CAAM_CMD_SZ 16 drivers/crypto/caam/caamhash_desc.h #define DESC_AHASH_DIGEST_LEN (DESC_AHASH_BASE + 4 * CAAM_CMD_SZ) CAAM_CMD_SZ 20 drivers/crypto/caam/caampkc.c #define DESC_RSA_PUB_LEN (2 * CAAM_CMD_SZ + SIZEOF_RSA_PUB_PDB) CAAM_CMD_SZ 21 drivers/crypto/caam/caampkc.c #define DESC_RSA_PRIV_F1_LEN (2 * CAAM_CMD_SZ + \ CAAM_CMD_SZ 23 drivers/crypto/caam/caampkc.c #define DESC_RSA_PRIV_F2_LEN (2 * CAAM_CMD_SZ + \ CAAM_CMD_SZ 25 drivers/crypto/caam/caampkc.c #define DESC_RSA_PRIV_F3_LEN (2 * CAAM_CMD_SZ + \ CAAM_CMD_SZ 56 drivers/crypto/caam/caamrng.c #define DESC_JOB_O_LEN (CAAM_CMD_SZ * 2 + CAAM_PTR_SZ_MAX * 2) CAAM_CMD_SZ 57 drivers/crypto/caam/caamrng.c #define DESC_RNG_LEN (3 * CAAM_CMD_SZ) CAAM_CMD_SZ 206 drivers/crypto/caam/ctrl.c desc = kmalloc(CAAM_CMD_SZ * 7, GFP_KERNEL); CAAM_CMD_SZ 245 drivers/crypto/caam/ctrl.c memset(desc, 0x00, CAAM_CMD_SZ * 7); CAAM_CMD_SZ 271 drivers/crypto/caam/ctrl.c desc = kmalloc(CAAM_CMD_SZ * 3, GFP_KERNEL); CAAM_CMD_SZ 20 drivers/crypto/caam/desc_constr.h #define CAAM_DESC_BYTES_MAX (CAAM_CMD_SZ * MAX_CAAM_DESCSIZE) CAAM_CMD_SZ 21 drivers/crypto/caam/desc_constr.h #define __DESC_JOB_IO_LEN(n) (CAAM_CMD_SZ * 5 + (n) * 3) CAAM_CMD_SZ 51 drivers/crypto/caam/desc_constr.h #define MAX_SDLEN ((CAAM_DESC_BYTES_MAX - DESC_JOB_IO_LEN_MIN) / CAAM_CMD_SZ) CAAM_CMD_SZ 91 drivers/crypto/caam/desc_constr.h return desc_len(desc) * CAAM_CMD_SZ; CAAM_CMD_SZ 118 drivers/crypto/caam/desc_constr.h u32 pdb_len = (pdb_bytes + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ; CAAM_CMD_SZ 132 drivers/crypto/caam/desc_constr.h u32 pdb_len = (pdb_bytes + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ; CAAM_CMD_SZ 150 drivers/crypto/caam/desc_constr.h CAAM_PTR_SZ / CAAM_CMD_SZ); CAAM_CMD_SZ 170 drivers/crypto/caam/desc_constr.h (len + CAAM_CMD_SZ - 1) / CAAM_CMD_SZ); CAAM_CMD_SZ 439 drivers/crypto/caam/desc_constr.h APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ); \ CAAM_CMD_SZ 466 drivers/crypto/caam/desc_constr.h APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ * 2 | \ CAAM_CMD_SZ 581 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - CAAM_CMD_SZ 582 drivers/crypto/caam/desc_constr.h CAAM_PTR_SZ) / CAAM_CMD_SZ; CAAM_CMD_SZ 589 drivers/crypto/caam/desc_constr.h words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - CAAM_CMD_SZ 590 drivers/crypto/caam/desc_constr.h ALIGN(adata->keylen, CAAM_CMD_SZ)) / CAAM_CMD_SZ 591 drivers/crypto/caam/desc_constr.h CAAM_CMD_SZ; CAAM_CMD_SZ 67 drivers/crypto/caam/key_gen.c desc = kmalloc(CAAM_CMD_SZ * 6 + CAAM_PTR_SZ * 2, GFP_KERNEL | GFP_DMA);