xref: /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/util.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0+ */
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun #ifndef UTILS_H
4*4882a593Smuzhiyun #define UTILS_H
5*4882a593Smuzhiyun int cryptodev_sg_copy(struct scatterlist *sg_from, struct scatterlist *sg_to, int len);
6*4882a593Smuzhiyun struct scatterlist *cryptodev_sg_advance(struct scatterlist *sg, int consumed);
7*4882a593Smuzhiyun #endif
8*4882a593Smuzhiyun 
9