![]() |
TrustCore SDK NanoSec API reference
version 7.0
|
Configuration settings and callback function pointers for EAP-SIM EAP-AKA methods. More...
Data Fields | |
| ubyte | aka |
| AKA Session. More... | |
| ubyte | dontSendPerm |
| Deny the PERM ID attribute to the server. More... | |
| MSTATUS(* | getAKARes )(void *appCb, void *eapSim, ubyte *rand, ubyte *autn, ubyte *ik, ubyte *ck, ubyte *Res, ubyte2 *resLen, ubyte *auts) |
| Get AKA IK and CK values from the application. More... | |
| MSTATUS(* | getSresKc )(void *appCb, void *eapSim, ubyte *rand, ubyte numRand, ubyte *Sres, ubyte *Kc) |
| Get SRES and KC values from application. More... | |
| ubyte | minNumRand |
| Minimum number of Rands that the Auth needs to send. More... | |
| ubyte | send_result_ind |
| Support Result_IND Attribute. More... | |
| eapSessionType | sessionType |
| EAP session type. More... | |
This structure is used to store configuration settings and to register callback function pointers for EAP-SIM and EAP-AKA methods.
To enable thie callbacks, the following flags must be defined in moptions.h:
__ENABLE_MOCANA_EAP_SIM__ __ENABLE_MOCANA_EAP_PEER__ | ubyte eapSimConfig::aka |
AKA Session: FALSE (0); otherwise, TRUE.
| ubyte eapSimConfig::dontSendPerm |
Deny the PERM ID attribute to the server.
| ubyte eapSimConfig::minNumRand |
Minimum number of Rands that the Auth needs to send.
| ubyte eapSimConfig::send_result_ind |
Support Result_IND Attribute: FALSE (0); otherwise, TRUE.
| eapSessionType eapSimConfig::sessionType |
EAP session type: either PEER or AUTH.