Home
last modified time | relevance | path

Searched refs:mppe (Results 1 – 11 of 11) sorted by relevance

/external/ppp/pppd/
Dccp.c113 { "require-mppe", o_bool, &ccp_wantoptions[0].mppe,
116 { "+mppe", o_bool, &ccp_wantoptions[0].mppe,
119 { "nomppe", o_bool, &ccp_wantoptions[0].mppe,
121 { "-mppe", o_bool, &ccp_wantoptions[0].mppe,
125 { "require-mppe-40", o_bool, &ccp_allowoptions[0].mppe,
127 &ccp_wantoptions[0].mppe },
128 { "+mppe-40", o_bool, &ccp_allowoptions[0].mppe,
130 &ccp_wantoptions[0].mppe },
131 { "nomppe-40", o_bool, &ccp_allowoptions[0].mppe,
133 OPT_PRIOSUB | OPT_A2CLRB | MPPE_OPT_40, &ccp_wantoptions[0].mppe },
[all …]
Dccp.h40 bool mppe; /* do MPPE? */ member
Dchap_ms.c901 if (policy == MPPE_ENC_POL_ENC_ALLOWED && !ccp_wantoptions[0].mppe) in set_mppe_enc_types()
910 ccp_wantoptions[0].mppe &= ~MPPE_OPT_128; /* disable 128-bit */ in set_mppe_enc_types()
913 ccp_wantoptions[0].mppe &= ~MPPE_OPT_40; /* disable 40-bit */ in set_mppe_enc_types()
Dauth.c859 mppe_required = ccp_gotoptions[unit].mppe;
/external/libppp/src/
Dmppe.c441 ok = r->mppe.sendkeylen && r->mppe.recvkeylen; in MPPEUsable()
465 if (*fp->bundle->radius.cfg.file && fp->bundle->radius.mppe.policy) in MPPERequired()
466 return fp->bundle->radius.mppe.policy == MPPE_POLICY_REQUIRED ? 1 : 0; in MPPERequired()
469 return fp->link->ccp.cfg.mppe.required; in MPPERequired()
477 val = cfg->mppe.state == MPPE_STATELESS ? MPPE_OPT_STATELESS : 0; in MPPE_ConfigVal()
483 if (*bundle->radius.cfg.file && bundle->radius.mppe.types) { in MPPE_ConfigVal()
484 if (bundle->radius.mppe.types & MPPE_TYPE_40BIT) in MPPE_ConfigVal()
486 if (bundle->radius.mppe.types & MPPE_TYPE_128BIT) in MPPE_ConfigVal()
490 switch(cfg->mppe.keybits) { in MPPE_ConfigVal()
553 if (!cfg->mppe.keybits) { in MPPESetOptsOutput()
[all …]
Dradius.c591 r->mppe.policy = rad_cvt_int(data); in radius_Process()
594 radius_policyname(r->mppe.policy)); in radius_Process()
598 r->mppe.types = rad_cvt_int(data); in radius_Process()
601 radius_typesname(r->mppe.types)); in radius_Process()
605 free(r->mppe.recvkey); in radius_Process()
606 demangle(r, data, len, &r->mppe.recvkey, &r->mppe.recvkeylen); in radius_Process()
612 demangle(r, data, len, &r->mppe.sendkey, &r->mppe.sendkeylen); in radius_Process()
781 r->mppe.policy = 0; in radius_Init()
782 r->mppe.types = 0; in radius_Init()
783 r->mppe.recvkey = NULL; in radius_Init()
[all …]
Dccp.c202 if (ccp->cfg.mppe.keybits) in ccp_ReportStatus()
203 prompt_Printf(arg->prompt, "%d bits, ", ccp->cfg.mppe.keybits); in ccp_ReportStatus()
206 switch (ccp->cfg.mppe.state) { in ccp_ReportStatus()
218 ccp->cfg.mppe.required ? ", required" : ""); in ccp_ReportStatus()
261 ccp->cfg.mppe.keybits = 0; in ccp_Init()
262 ccp->cfg.mppe.state = MPPE_ANYSTATE; in ccp_Init()
263 ccp->cfg.mppe.required = 0; in ccp_Init()
Dradius.h70 } mppe; member
Dccp.h79 } mppe; member
Dcommand.c1778 l->ccp.cfg.mppe.keybits = 0; in SetVariable()
1779 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1780 l->ccp.cfg.mppe.required = 0; in SetVariable()
1797 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1799 l->ccp.cfg.mppe.state = MPPE_STATELESS; in SetVariable()
1801 l->ccp.cfg.mppe.state = MPPE_STATEFUL; in SetVariable()
1809 l->ccp.cfg.mppe.state = MPPE_ANYSTATE; in SetVariable()
1810 l->ccp.cfg.mppe.keybits = long_val; in SetVariable()
1811 l->ccp.cfg.mppe.required = 1; in SetVariable()
Dppp.8.m4412 .It Supports MPPE (draft-ietf-pppext-mppe)
2846 .It mppe
2852 .Dq set mppe
5201 .It set mppe Op 40|56|128|* Op stateless|stateful|*
5205 .Dq disable mppe
5556 .Dq set mppe
5560 .Dq set mppe
5568 .Dq set mppe