Searched refs:sec_ctx (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/crypto/hisilicon/sec2/ |
A D | sec.h | 47 struct sec_ctx *ctx; 78 int (*buf_map)(struct sec_ctx *ctx, struct sec_req *req); 79 void (*buf_unmap)(struct sec_ctx *ctx, struct sec_req *req); 80 void (*do_transfer)(struct sec_ctx *ctx, struct sec_req *req); 81 int (*bd_fill)(struct sec_ctx *ctx, struct sec_req *req); 82 int (*bd_send)(struct sec_ctx *ctx, struct sec_req *req); 83 void (*callback)(struct sec_ctx *ctx, struct sec_req *req, int err); 84 int (*process)(struct sec_ctx *ctx, struct sec_req *req); 121 struct sec_ctx *ctx; 134 struct sec_ctx { struct
|
A D | sec_crypto.c | 192 struct sec_ctx *ctx = req->ctx; in sec_cb_status_check() 225 struct sec_ctx *ctx; in sec_req_cb() 616 static int sec_auth_init(struct sec_ctx *ctx) in sec_auth_init() 1073 struct sec_ctx *ctx = crypto_tfm_ctx(tfm); in sec_aead_setauthsize() 1098 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_setkey() 1831 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_init() 1873 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_exit() 1882 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_init() 1904 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_exit() 2111 .cra_ctxsize = sizeof(struct sec_ctx),\ [all …]
|
/linux/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() 2292 if (sec_ctx != NULL) { in pfkey_spdadd() 2394 if (sec_ctx != NULL) { in pfkey_spddelete() 3227 sec_ctx = skb_put(skb, in pfkey_send_acquire() [all …]
|
/linux/include/linux/ |
A D | security.h | 1683 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp); 1687 int security_xfrm_state_alloc(struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx); 1702 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument 1723 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument
|
A D | lsm_hook_defs.h | 350 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp) 357 struct xfrm_user_sec_ctx *sec_ctx)
|
/linux/fs/ceph/ |
A D | xattr.c | 1314 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx() 1364 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx() 1382 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
|
A D | super.h | 1058 void *sec_ctx; member
|
/linux/security/ |
A D | security.c | 2423 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument 2426 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc() 2448 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument 2450 return call_int_hook(xfrm_state_alloc, 0, x, sec_ctx); in security_xfrm_state_alloc()
|
Completed in 41 milliseconds