Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/sec2/
A Dsec.h96 struct sec_ctx *ctx;
129 int (*buf_map)(struct sec_ctx *ctx, struct sec_req *req);
130 void (*buf_unmap)(struct sec_ctx *ctx, struct sec_req *req);
131 void (*do_transfer)(struct sec_ctx *ctx, struct sec_req *req);
132 int (*bd_fill)(struct sec_ctx *ctx, struct sec_req *req);
133 int (*bd_send)(struct sec_ctx *ctx, struct sec_req *req);
134 void (*callback)(struct sec_ctx *ctx, struct sec_req *req, int err);
135 int (*process)(struct sec_ctx *ctx, struct sec_req *req);
170 struct sec_ctx *ctx;
185 struct sec_ctx { struct
A Dsec_crypto.c182 struct sec_ctx *ctx = req->ctx; in sec_cb_status_check()
299 struct sec_ctx *ctx; in sec_req_cb()
739 static int sec_auth_init(struct sec_ctx *ctx) in sec_auth_init()
1373 struct sec_ctx *ctx = crypto_tfm_ctx(tfm); in sec_aead_setauthsize()
1394 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_setkey()
2078 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_init()
2120 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_exit()
2130 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_init()
2162 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_exit()
2365 .cra_ctxsize = sizeof(struct sec_ctx),\
[all …]

Completed in 13 milliseconds