Lines Matching refs:adata
561 static inline void append_proto_dkp(u32 * const desc, struct alginfo *adata) in append_proto_dkp() argument
569 protid = (adata->algtype & OP_ALG_ALGSEL_SUBMASK) | in append_proto_dkp()
572 if (adata->key_inline) { in append_proto_dkp()
575 if (adata->keylen > adata->keylen_pad) { in append_proto_dkp()
578 OP_PCL_DKP_DST_IMM | adata->keylen); in append_proto_dkp()
579 append_ptr(desc, adata->key_dma); in append_proto_dkp()
581 words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - in append_proto_dkp()
586 OP_PCL_DKP_DST_IMM | adata->keylen); in append_proto_dkp()
587 append_data(desc, adata->key_virt, adata->keylen); in append_proto_dkp()
589 words = (ALIGN(adata->keylen_pad, CAAM_CMD_SZ) - in append_proto_dkp()
590 ALIGN(adata->keylen, CAAM_CMD_SZ)) / in append_proto_dkp()
600 adata->keylen); in append_proto_dkp()
601 append_ptr(desc, adata->key_dma); in append_proto_dkp()