EAP-SIM simulation, how does Freeradius calculate MAC value in AT_MAC attribute

Alan DeKok aland at deployingradius.com
Sat Apr 13 20:34:39 CEST 2013

Tabibel Sami wrote:
> I am working on the implementation of  an EAP-SIM supplicant,

  That doesn't have much to do with FreeRADIUS.

> when i send to freeradius a EAP-Response/SIM/Start packet i receive as
> expected an EAP-Resquest/SIM/Challenge with AT_RAND (RAND value was
> specified in users file [2]) and AT_MAC, after this I should calculate
> MAC value and test if this value matches witch AT_MAC value sent by
> freeradius.
> my question is how freeradius calculate MAC value in AT_MAC atribute ?

  See the source code.

> or from wich source freeradius fill MAC value in the AT_MAC attribute ?

  See the source code.

  We're not in the business of helping you debug your code.

  Alan DeKok.

More information about the Freeradius-Devel mailing list