Lines Matching refs:sec4_sg_index

2357 	int len, sec4_sg_index = 0;  in init_aead_job()  local
2393 sec4_sg_index += (edesc->assoc_nents ? : 1) + 1 + in init_aead_job()
2414 sec4_sg_index * in init_aead_job()
2442 int len, sec4_sg_index = 0; in init_aead_giv_job() local
2477 sec4_sg_index += edesc->assoc_nents + 1 + edesc->src_nents; in init_aead_giv_job()
2493 sec4_sg_index * in init_aead_giv_job()
2516 int len, sec4_sg_index = 0; in init_ablkcipher_job() local
2535 sec4_sg_index += edesc->src_nents + 1; in init_ablkcipher_job()
2553 sec4_sg_index * sizeof(struct sec4_sg_entry); in init_ablkcipher_job()
2573 int len, sec4_sg_index = 0; in init_ablkcipher_giv_job() local
2592 sec4_sg_index += edesc->src_nents; in init_ablkcipher_giv_job()
2602 sec4_sg_index * sizeof(struct sec4_sg_entry); in init_ablkcipher_giv_job()
2627 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in aead_edesc_alloc() local
2713 sec4_sg_index = 0; in aead_edesc_alloc()
2719 sec4_sg_index, 0); in aead_edesc_alloc()
2720 sec4_sg_index += assoc_nents; in aead_edesc_alloc()
2723 dma_to_sec4_sg_one(edesc->sec4_sg + sec4_sg_index, in aead_edesc_alloc()
2725 sec4_sg_index += 1; in aead_edesc_alloc()
2731 sec4_sg_index, 0); in aead_edesc_alloc()
2732 sec4_sg_index += assoc_nents; in aead_edesc_alloc()
2738 sec4_sg_index, 0); in aead_edesc_alloc()
2739 sec4_sg_index += src_nents; in aead_edesc_alloc()
2743 edesc->sec4_sg + sec4_sg_index, 0); in aead_edesc_alloc()
2855 int sec4_sg_index, sec4_sg_len = 0, sec4_sg_bytes; in aead_giv_edesc_alloc() local
2953 sec4_sg_index = 0; in aead_giv_edesc_alloc()
2957 edesc->sec4_sg + sec4_sg_index, 0); in aead_giv_edesc_alloc()
2958 sec4_sg_index += assoc_nents; in aead_giv_edesc_alloc()
2961 dma_to_sec4_sg_one(edesc->sec4_sg + sec4_sg_index, in aead_giv_edesc_alloc()
2963 sec4_sg_index += 1; in aead_giv_edesc_alloc()
2967 edesc->sec4_sg + sec4_sg_index, 0); in aead_giv_edesc_alloc()
2968 sec4_sg_index += assoc_nents; in aead_giv_edesc_alloc()
2973 sec4_sg_index, 0); in aead_giv_edesc_alloc()
2974 sec4_sg_index += src_nents; in aead_giv_edesc_alloc()
2978 dma_to_sec4_sg_one(edesc->sec4_sg + sec4_sg_index, in aead_giv_edesc_alloc()
2980 sec4_sg_index += 1; in aead_giv_edesc_alloc()
2982 edesc->sec4_sg + sec4_sg_index, 0); in aead_giv_edesc_alloc()
2986 dma_to_sec4_sg_one(edesc->sec4_sg + sec4_sg_index, in aead_giv_edesc_alloc()
2988 sec4_sg_index += 1; in aead_giv_edesc_alloc()
2990 edesc->sec4_sg + sec4_sg_index, 0); in aead_giv_edesc_alloc()
3072 int sec4_sg_index; in ablkcipher_edesc_alloc() local
3122 sec4_sg_index = 0; in ablkcipher_edesc_alloc()
3127 sec4_sg_index += 1 + src_nents; in ablkcipher_edesc_alloc()
3132 edesc->sec4_sg + sec4_sg_index, 0); in ablkcipher_edesc_alloc()
3251 int sec4_sg_index; in ablkcipher_giv_edesc_alloc() local
3301 sec4_sg_index = 0; in ablkcipher_giv_edesc_alloc()
3304 sec4_sg_index += src_nents; in ablkcipher_giv_edesc_alloc()
3308 dma_to_sec4_sg_one(edesc->sec4_sg + sec4_sg_index, in ablkcipher_giv_edesc_alloc()
3310 sec4_sg_index += 1; in ablkcipher_giv_edesc_alloc()
3312 edesc->sec4_sg + sec4_sg_index, 0); in ablkcipher_giv_edesc_alloc()