Home
last modified time | relevance | path

Searched refs:sec_req (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_algs.c383 static int sec_send_request(struct sec_request *sec_req, struct sec_queue *queue) in sec_send_request() argument
388 mutex_lock(&sec_req->lock); in sec_send_request()
389 list_for_each_entry_safe(el, temp, &sec_req->elements, head) { in sec_send_request()
403 ret = sec_queue_send(queue, &el->req, sec_req); in sec_send_request()
415 mutex_unlock(&sec_req->lock); in sec_send_request()
426 struct sec_request *sec_req = skcipher_request_ctx(skreq); in sec_skcipher_alg_callback() local
429 struct sec_alg_tfm_ctx *ctx = sec_req->tfm_ctx; in sec_skcipher_alg_callback()
435 sec_req_el = list_first_entry(&sec_req->elements, struct sec_request_el, in sec_skcipher_alg_callback()
443 sec_req->err = -EINVAL; in sec_skcipher_alg_callback()
494 nextrequest->sec_req); in sec_skcipher_alg_callback()
[all …]
Dsec_drv.h311 struct sec_request *sec_req; member