Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dpolicy.c205 if (a->sec_ctx.ctx_alg != b->sec_ctx.ctx_alg
206 || a->sec_ctx.ctx_doi != b->sec_ctx.ctx_doi
207 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str))
281 if (a->sec_ctx.ctx_alg != b->sec_ctx.ctx_alg
282 || a->sec_ctx.ctx_doi != b->sec_ctx.ctx_doi
283 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str))
479 if (spidx->sec_ctx.ctx_strlen) {
483 spidx->sec_ctx.ctx_doi, spidx->sec_ctx.ctx_alg,
484 spidx->sec_ctx.ctx_strlen, spidx->sec_ctx.ctx_str);
Dsecurity.c155 memcpy(&p->sec_ctx, d + 1, lorv);
156 p->sec_ctx.ctx_strlen = ntohs(p->sec_ctx.ctx_strlen);
168 iph2->proposal->sctx.ctx_doi = spidx.sec_ctx.ctx_doi;
169 iph2->proposal->sctx.ctx_alg = spidx.sec_ctx.ctx_alg;
170 iph2->proposal->sctx.ctx_strlen = spidx.sec_ctx.ctx_strlen;
171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
172 spidx.sec_ctx.ctx_strlen);
Dpfkey.c1784 spidx.sec_ctx.ctx_doi = m_sec_ctx->sadb_x_ctx_doi;
1785 spidx.sec_ctx.ctx_alg = m_sec_ctx->sadb_x_ctx_alg;
1786 spidx.sec_ctx.ctx_strlen = m_sec_ctx->sadb_x_ctx_len;
1787 memcpy(spidx.sec_ctx.ctx_str,
1789 spidx.sec_ctx.ctx_strlen);
2047 if (*spidx->sec_ctx.ctx_str) {
2049 + PFKEY_ALIGN8(spidx->sec_ctx.ctx_strlen);
2075 if (*spidx->sec_ctx.ctx_str) {
2082 p->sadb_x_ctx_len = spidx->sec_ctx.ctx_strlen;
2083 p->sadb_x_ctx_doi = spidx->sec_ctx.ctx_doi;
[all …]
Dpolicy.h70 struct security_ctx sec_ctx; /* Security Context */ member
Disakmp_quick.c2182 if (spidx.sec_ctx.ctx_str) {
/external/grpc-grpc/src/core/lib/security/context/
Dsecurity_context.cc66 void* sec_ctx = grpc_call_context_get(call, GRPC_CONTEXT_SECURITY); in grpc_call_auth_context() local
68 if (sec_ctx == nullptr) return nullptr; in grpc_call_auth_context()
71 ((grpc_client_security_context*)sec_ctx)->auth_context, in grpc_call_auth_context()
74 ((grpc_server_security_context*)sec_ctx)->auth_context, in grpc_call_auth_context()
/external/grpc-grpc/src/core/lib/security/transport/
Dclient_auth_filter.cc286 grpc_client_security_context* sec_ctx = in auth_start_transport_stream_op_batch() local
289 GRPC_AUTH_CONTEXT_UNREF(sec_ctx->auth_context, "client auth filter"); in auth_start_transport_stream_op_batch()
290 sec_ctx->auth_context = in auth_start_transport_stream_op_batch()
/external/syzkaller/sys/linux/
Dsocket_netlink_xfrm.txt138 sec_ctx nlattr[XFRMA_SEC_CTX, xfrm_user_sec_ctx]
/external/ipsec-tools/src/libipsec/
Dpfkey.c2328 u_int8_t ctx_alg, caddr_t sec_ctx, u_int16_t sec_ctxlen) in pfkey_setsecctx() argument
2346 memcpy(p + 1, sec_ctx, sec_ctxlen); in pfkey_setsecctx()