Lines Matching refs:sec_req

105 static inline int sec_alloc_queue_id(struct sec_ctx *ctx, struct sec_req *req)  in sec_alloc_queue_id()
115 static inline void sec_free_queue_id(struct sec_ctx *ctx, struct sec_req *req) in sec_free_queue_id()
123 static int sec_alloc_req_id(struct sec_req *req, struct sec_qp_ctx *qp_ctx) in sec_alloc_req_id()
143 static void sec_free_req_id(struct sec_req *req) in sec_free_req_id()
189 static int sec_cb_status_check(struct sec_req *req, in sec_cb_status_check()
226 struct sec_req *req; in sec_req_cb()
263 static int sec_bd_send(struct sec_ctx *ctx, struct sec_req *req) in sec_bd_send()
663 crypto_skcipher_set_reqsize(tfm, sizeof(struct sec_req)); in sec_skcipher_init()
842 static int sec_cipher_pbuf_map(struct sec_ctx *ctx, struct sec_req *req, in GEN_SEC_SETKEY_FUNC()
880 static void sec_cipher_pbuf_unmap(struct sec_ctx *ctx, struct sec_req *req, in sec_cipher_pbuf_unmap()
920 static int sec_cipher_map(struct sec_ctx *ctx, struct sec_req *req, in sec_cipher_map()
989 static void sec_cipher_unmap(struct sec_ctx *ctx, struct sec_req *req, in sec_cipher_unmap()
1005 static int sec_skcipher_sgl_map(struct sec_ctx *ctx, struct sec_req *req) in sec_skcipher_sgl_map()
1012 static void sec_skcipher_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) in sec_skcipher_sgl_unmap()
1178 static int sec_aead_sgl_map(struct sec_ctx *ctx, struct sec_req *req) in GEN_SEC_AEAD_SETKEY_FUNC()
1185 static void sec_aead_sgl_unmap(struct sec_ctx *ctx, struct sec_req *req) in sec_aead_sgl_unmap()
1192 static int sec_request_transfer(struct sec_ctx *ctx, struct sec_req *req) in sec_request_transfer()
1213 static void sec_request_untransfer(struct sec_ctx *ctx, struct sec_req *req) in sec_request_untransfer()
1218 static void sec_skcipher_copy_iv(struct sec_ctx *ctx, struct sec_req *req) in sec_skcipher_copy_iv()
1226 static int sec_skcipher_bd_fill(struct sec_ctx *ctx, struct sec_req *req) in sec_skcipher_bd_fill()
1277 static int sec_skcipher_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) in sec_skcipher_bd_fill_v3()
1335 static void sec_update_iv(struct sec_req *req, enum sec_alg_type alg_type) in sec_update_iv()
1371 static struct sec_req *sec_back_req_clear(struct sec_ctx *ctx, in sec_back_req_clear()
1374 struct sec_req *backlog_req = NULL; in sec_back_req_clear()
1389 static void sec_skcipher_callback(struct sec_ctx *ctx, struct sec_req *req, in sec_skcipher_callback()
1395 struct sec_req *backlog_req; in sec_skcipher_callback()
1418 static void set_aead_auth_iv(struct sec_ctx *ctx, struct sec_req *req) in set_aead_auth_iv()
1461 static void sec_aead_set_iv(struct sec_ctx *ctx, struct sec_req *req) in sec_aead_set_iv()
1489 struct sec_req *req, struct sec_sqe *sec_sqe) in sec_auth_bd_fill_xcm()
1515 struct sec_req *req, struct sec_sqe3 *sqe3) in sec_auth_bd_fill_xcm_v3()
1540 struct sec_req *req, struct sec_sqe *sec_sqe) in sec_auth_bd_fill_ex()
1572 static int sec_aead_bd_fill(struct sec_ctx *ctx, struct sec_req *req) in sec_aead_bd_fill()
1594 struct sec_req *req, struct sec_sqe3 *sqe3) in sec_auth_bd_fill_ex_v3()
1627 static int sec_aead_bd_fill_v3(struct sec_ctx *ctx, struct sec_req *req) in sec_aead_bd_fill_v3()
1650 static void sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err) in sec_aead_callback()
1659 struct sec_req *backlog_req; in sec_aead_callback()
1696 static void sec_request_uninit(struct sec_ctx *ctx, struct sec_req *req) in sec_request_uninit()
1702 static int sec_request_init(struct sec_ctx *ctx, struct sec_req *req) in sec_request_init()
1720 static int sec_process(struct sec_ctx *ctx, struct sec_req *req) in sec_process()
1834 crypto_aead_set_reqsize(tfm, sizeof(struct sec_req)); in sec_aead_init()
1962 struct sec_req *sreq) in sec_skcipher_cryptlen_ckeck()
1998 static int sec_skcipher_param_check(struct sec_ctx *ctx, struct sec_req *sreq) in sec_skcipher_param_check()
2065 struct sec_req *req = skcipher_request_ctx(sk_req); in sec_skcipher_crypto()
2199 static int sec_aead_spec_check(struct sec_ctx *ctx, struct sec_req *sreq) in sec_aead_spec_check()
2243 static int sec_aead_param_check(struct sec_ctx *ctx, struct sec_req *sreq) in sec_aead_param_check()
2311 struct sec_req *req = aead_request_ctx(a_req); in sec_aead_crypto()