Searched refs:split_sizes (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 547 static int sec_alg_alloc_and_calc_split_sizes(int length, size_t **split_sizes, in sec_alg_alloc_and_calc_split_sizes() argument 562 *split_sizes = sizes; in sec_alg_alloc_and_calc_split_sizes() 567 static int sec_map_and_split_sg(struct scatterlist *sgl, size_t *split_sizes, in sec_map_and_split_sg() argument 591 ret = sg_split(sgl, count, 0, steps, split_sizes, in sec_map_and_split_sg() 716 size_t *split_sizes; in sec_alg_skcipher_crypto() local 730 ret = sec_alg_alloc_and_calc_split_sizes(skreq->cryptlen, &split_sizes, in sec_alg_skcipher_crypto() 735 ret = sec_map_and_split_sg(skreq->src, split_sizes, steps, &splits_in, in sec_alg_skcipher_crypto() 743 ret = sec_map_and_split_sg(skreq->dst, split_sizes, steps, in sec_alg_skcipher_crypto() 773 split_sizes[i], in sec_alg_skcipher_crypto() 834 kfree(split_sizes); in sec_alg_skcipher_crypto() [all …]
|
/Linux-v5.4/lib/ |
D | sg_split.c | 150 const size_t *split_sizes, in sg_split() argument 161 ret = sg_calculate_split(in, sg_nents(in), nb_splits, skip, split_sizes, in sg_split() 181 split_sizes, splitters, true); in sg_split()
|
/Linux-v5.4/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 435 size_t split_sizes[SPLIT_NUM]; in get_sg_skip_bytes() local 438 split_sizes[0] = bytes; in get_sg_skip_bytes() 439 split_sizes[1] = remains; in get_sg_skip_bytes() 441 return sg_split(sgl, 0, 0, SPLIT_NUM, split_sizes, out, in get_sg_skip_bytes()
|
/Linux-v5.4/include/linux/ |
D | scatterlist.h | 262 const size_t *split_sizes,
|