Searched refs:sec_ctx (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/ |
A D | sec.h | 48 struct sec_ctx *ctx; 79 int (*buf_map)(struct sec_ctx *ctx, struct sec_req *req); 80 void (*buf_unmap)(struct sec_ctx *ctx, struct sec_req *req); 81 void (*do_transfer)(struct sec_ctx *ctx, struct sec_req *req); 82 int (*bd_fill)(struct sec_ctx *ctx, struct sec_req *req); 83 int (*bd_send)(struct sec_ctx *ctx, struct sec_req *req); 84 void (*callback)(struct sec_ctx *ctx, struct sec_req *req, int err); 85 int (*process)(struct sec_ctx *ctx, struct sec_req *req); 122 struct sec_ctx *ctx; 135 struct sec_ctx { struct
|
A D | sec_crypto.c | 203 struct sec_ctx *ctx = req->ctx; in sec_cb_status_check() 236 struct sec_ctx *ctx; in sec_req_cb() 662 static int sec_auth_init(struct sec_ctx *ctx) in sec_auth_init() 1121 struct sec_ctx *ctx = crypto_tfm_ctx(tfm); in sec_aead_setauthsize() 1146 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_setkey() 1880 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_init() 1922 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_exit() 1931 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_init() 1953 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_exit() 2157 .cra_ctxsize = sizeof(struct sec_ctx),\ [all …]
|
/linux-6.3-rc2/net/key/ |
A D | af_key.c | 443 sec_ctx->sadb_x_ctx_len, in pfkey_sec_ctx_len() 455 len = pfkey_sec_ctx_len(sec_ctx); in verify_sec_ctx_len() 479 memcpy(uctx + 1, sec_ctx + 1, in pfkey_sadb2xfrm_user_sec_ctx() 770 struct sadb_x_sec_ctx *sec_ctx; in __pfkey_xfrm_state2msg() local 1028 sec_ctx = skb_put(skb, in __pfkey_xfrm_state2msg() 1030 sec_ctx->sadb_x_sec_len = in __pfkey_xfrm_state2msg() 1153 if (sec_ctx != NULL) { in pfkey_msg2xfrm_state() 2295 if (sec_ctx != NULL) { in pfkey_spdadd() 2397 if (sec_ctx != NULL) { in pfkey_spddelete() 3246 sec_ctx = skb_put(skb, in pfkey_send_acquire() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | security.h | 1738 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp); 1742 int security_xfrm_state_alloc(struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx); 1757 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument 1778 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument
|
A D | lsm_hook_defs.h | 358 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp) 365 struct xfrm_user_sec_ctx *sec_ctx)
|
/linux-6.3-rc2/fs/ceph/ |
A D | xattr.c | 1335 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx() 1385 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1403 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
|
A D | super.h | 1087 void *sec_ctx; member
|
/linux-6.3-rc2/security/ |
A D | security.c | 2529 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument 2532 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc() 2554 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument 2556 return call_int_hook(xfrm_state_alloc, 0, x, sec_ctx); in security_xfrm_state_alloc()
|
Completed in 37 milliseconds