Home
last modified time | relevance | path

Searched refs:sec4_sg_src_index (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/crypto/caam/
Dcaamhash.c794 int src_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
806 sec4_sg_src_index = 1 + (*buflen ? 1 : 0); in ahash_update_ctx()
807 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_update_ctx()
839 edesc->sec4_sg + sec4_sg_src_index); in ahash_update_ctx()
845 (edesc->sec4_sg + sec4_sg_src_index - 1)->len |= in ahash_update_ctx()
914 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local
920 sec4_sg_src_index = 1 + (buflen ? 1 : 0); in ahash_final_ctx()
921 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
948 (edesc->sec4_sg + sec4_sg_src_index - 1)->len |= SEC4_SG_LEN_FIN; in ahash_final_ctx()
997 int sec4_sg_bytes, sec4_sg_src_index; in ahash_finup_ctx() local
[all …]