Lines Matching refs:radius
434 struct radius *r = &fp->bundle->radius; 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()
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()
696 if (*bundle->radius.cfg.file && bundle->radius.mppe.recvkey) { in MPPEInitInput()
697 if (mip->keylen > bundle->radius.mppe.recvkeylen) in MPPEInitInput()
698 mip->keylen = bundle->radius.mppe.recvkeylen; in MPPEInitInput()
701 memcpy(mip->mastkey, bundle->radius.mppe.recvkey, mip->keylen); in MPPEInitInput()
752 if (*bundle->radius.cfg.file && bundle->radius.mppe.sendkey) { in MPPEInitOutput()
753 if (mop->keylen > bundle->radius.mppe.sendkeylen) in MPPEInitOutput()
754 mop->keylen = bundle->radius.mppe.sendkeylen; in MPPEInitOutput()
757 memcpy(mop->mastkey, bundle->radius.mppe.sendkey, mop->keylen); in MPPEInitOutput()