Searched refs:sec_ctx (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A D | policy.c | 211 if (a->sec_ctx.ctx_alg != b->sec_ctx.ctx_alg 212 || a->sec_ctx.ctx_doi != b->sec_ctx.ctx_doi 213 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) 286 if (a->sec_ctx.ctx_alg != b->sec_ctx.ctx_alg 287 || a->sec_ctx.ctx_doi != b->sec_ctx.ctx_doi 288 || !within_range(a->sec_ctx.ctx_str, b->sec_ctx.ctx_str)) 489 if (spidx->sec_ctx.ctx_strlen) { 493 spidx->sec_ctx.ctx_doi, spidx->sec_ctx.ctx_alg, 494 spidx->sec_ctx.ctx_strlen, spidx->sec_ctx.ctx_str);
|
| H A D | security.c | 155 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);
|
| H A D | pfkey.c | 1894 spidx.sec_ctx.ctx_doi = m_sec_ctx->sadb_x_ctx_doi; 1895 spidx.sec_ctx.ctx_alg = m_sec_ctx->sadb_x_ctx_alg; 1896 spidx.sec_ctx.ctx_strlen = m_sec_ctx->sadb_x_ctx_len; 1897 memcpy(spidx.sec_ctx.ctx_str, 1899 spidx.sec_ctx.ctx_strlen); 2114 if (*spidx->sec_ctx.ctx_str) { 2116 + PFKEY_ALIGN8(spidx->sec_ctx.ctx_strlen); 2142 if (*spidx->sec_ctx.ctx_str) { 2149 p->sadb_x_ctx_len = spidx->sec_ctx.ctx_strlen; 2150 p->sadb_x_ctx_doi = spidx->sec_ctx.ctx_doi; [all …]
|
| H A D | policy.h | 70 struct security_ctx sec_ctx; /* Security Context */ member
|
| H A D | isakmp_quick.c | 2528 if (spidx.sec_ctx.ctx_str) {
|
| /netbsd-src/crypto/dist/ipsec-tools/src/setkey/ |
| H A D | parse.y | 85 struct security_ctx sec_ctx; variable 601 sec_ctx.doi = $2; 602 sec_ctx.alg = $3; 603 sec_ctx.len = $4.len+1; 604 sec_ctx.buf = $4.buf; 907 sec_ctx.doi = $2; 908 sec_ctx.alg = $3; 909 sec_ctx.len = $4.len+1; 910 sec_ctx.buf = $4.buf; 1052 if (sec_ctx.doi) { in setkeymsg_spdaddr() [all …]
|
| /netbsd-src/crypto/dist/ipsec-tools/src/libipsec/ |
| H A D | pfkey.c | 2486 u_int8_t ctx_alg, caddr_t sec_ctx, u_int16_t sec_ctxlen) in pfkey_setsecctx() argument 2504 memcpy(p + 1, sec_ctx, sec_ctxlen); in pfkey_setsecctx()
|