Lines Matching refs:req
30 struct akcipher_request *req; member
128 static int akcipher_default_op(struct akcipher_request *req) in akcipher_default_op() argument
174 struct akcipher_request *req; in crypto_akcipher_sync_prep() local
182 len = sizeof(*req) + reqsize + mlen; in crypto_akcipher_sync_prep()
186 req = kzalloc(len, GFP_KERNEL); in crypto_akcipher_sync_prep()
187 if (!req) in crypto_akcipher_sync_prep()
190 data->req = req; in crypto_akcipher_sync_prep()
191 akcipher_request_set_tfm(req, data->tfm); in crypto_akcipher_sync_prep()
193 buf = (u8 *)(req + 1) + reqsize; in crypto_akcipher_sync_prep()
199 akcipher_request_set_crypt(req, sg, sg, data->slen, data->dlen); in crypto_akcipher_sync_prep()
202 akcipher_request_set_callback(req, CRYPTO_TFM_REQ_MAY_SLEEP, in crypto_akcipher_sync_prep()
213 data->dlen = data->req->dst_len; in crypto_akcipher_sync_post()
214 kfree_sensitive(data->req); in crypto_akcipher_sync_post()
232 crypto_akcipher_encrypt(data.req)); in crypto_akcipher_sync_encrypt()
250 crypto_akcipher_decrypt(data.req)) ?: in crypto_akcipher_sync_decrypt()