Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/sec2/
A Dsec.h48 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 Dsec_crypto.c206 struct sec_ctx *ctx = req->ctx; in sec_cb_status_check()
239 struct sec_ctx *ctx; in sec_req_cb()
665 static int sec_auth_init(struct sec_ctx *ctx) in sec_auth_init()
1120 struct sec_ctx *ctx = crypto_tfm_ctx(tfm); in sec_aead_setauthsize()
1145 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_setkey()
1881 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_init()
1923 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_exit()
1932 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_init()
1954 struct sec_ctx *ctx = crypto_aead_ctx(tfm); in sec_aead_ctx_exit()
2156 .cra_ctxsize = sizeof(struct sec_ctx),\
[all …]
/linux/net/key/
A Daf_key.c443 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()
2298 if (sec_ctx != NULL) { in pfkey_spdadd()
2400 if (sec_ctx != NULL) { in pfkey_spddelete()
3249 sec_ctx = skb_put(skb, in pfkey_send_acquire()
[all …]
/linux/include/linux/
A Dsecurity.h1872 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp);
1876 int security_xfrm_state_alloc(struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx);
1891 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument
1912 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument
A Dlsm_hook_defs.h384 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp)
391 struct xfrm_user_sec_ctx *sec_ctx)
/linux/fs/ceph/
A Dxattr.c1386 &name, &as_ctx->sec_ctx, in ceph_security_init_secctx()
1436 ceph_pagelist_append(pagelist, as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_security_init_secctx()
1454 security_release_secctx(as_ctx->sec_ctx, as_ctx->sec_ctxlen); in ceph_release_acl_sec_ctx()
A Dsuper.h1136 void *sec_ctx; member
/linux/security/
A Dsecurity.c5252 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc() argument
5255 return call_int_hook(xfrm_policy_alloc_security, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()
5312 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc() argument
5314 return call_int_hook(xfrm_state_alloc, x, sec_ctx); in security_xfrm_state_alloc()

Completed in 49 milliseconds