TrustCore SDK NanoSec API reference  version 7.0
eapSimConfig Struct Reference

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...
 

Detailed Description

This structure is used to store configuration settings and to register callback function pointers for EAP-SIM and EAP-AKA methods.

Since
1.41
Version
1.41 and later

To enable thie callbacks, the following flags must be defined in moptions.h:

  • __ENABLE_MOCANA_EAP_SIM__
  • __ENABLE_MOCANA_EAP_PEER__

Field Documentation

◆ aka

ubyte eapSimConfig::aka

AKA Session: FALSE (0); otherwise, TRUE.

◆ dontSendPerm

ubyte eapSimConfig::dontSendPerm

Deny the PERM ID attribute to the server.

◆ minNumRand

ubyte eapSimConfig::minNumRand

Minimum number of Rands that the Auth needs to send.

◆ send_result_ind

ubyte eapSimConfig::send_result_ind

Support Result_IND Attribute: FALSE (0); otherwise, TRUE.

◆ sessionType

eapSessionType eapSimConfig::sessionType

EAP session type: either PEER or AUTH.


The documentation for this struct was generated from the following file: