On Wed, Dec 21, 2022 at 11:37:10AM +0100, Roberto Sassu wrote: > + sg_init_table(&src_sg, 1); > + sg_set_buf(&src_sg, buf, sig->s_size + sig->digest_size); The above two function calls should be replaced with sg_init_one(). - Eric