Lines Matching refs:req
93 static int rsa_enc(struct akcipher_request *req)
95 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
110 m = mpi_read_raw_from_sgl(req->src, req->src_len);
118 ret = mpi_write_to_sgl(c, req->dst, req->dst_len, &sign);
132 static int rsa_dec(struct akcipher_request *req)
134 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
149 c = mpi_read_raw_from_sgl(req->src, req->src_len);
157 ret = mpi_write_to_sgl(m, req->dst, req->dst_len, &sign);