group pkmv2 {

  // Function definitions.

  external function xf_decryptTek(
    in Tek p_tek,
    in AuthKey p_unencryptedAk,
    in CryptographicSuite p_cryptographicSuite,
    out Tek p_unencryptedTek
  ) return FncRetCode {...};

  external function xf_bsGetTek(
    in AuthKey p_ak,
    in CryptographicSuite p_cryptographicSuite,
    out Tek p_tek,
    out Tek p_unencryptedTek
  ) return FncRetCode {...};

  external function xf_bsGetCbcIv(
    out CbcIv p_cbcIv
  ) return FncRetCode {...};

  external function xf_createEapReqFromRadiusServer(
    in EapPacket p_eapRsp,
    out EapPacket p_eapReq,
    out boolean p_eapFinished
  ) return FncRetCode {...};

  external function xf_createEapRspFromEapClient(
    in EapPacket p_eapReq,
    out EapPacket p_eapRsp,
    out boolean p_eapFinished
  ) return FncRetCode {...};

  external function xf_getEapParameters(
    out octetstring p_eapMsk,
    out octetstring p_eapPmk,
    out KeyLifetime p_eapPmkLifeTime
  ) return FncRetCode {...};

  external function xf_calculateLocalKeys(
    in octetstring p_msk,
    in octetstring p_eapPmk,
    in UInt4 p_akSeqNumber,
    out octetstring p_eik,
    out AuthKey p_encrypyedAk,
    out AuthKey p_unencrypyedAk,
    out Oct8 p_akId
  ) return FncRetCode {...};
}
Generated with T3Doc 2.0 on Fri Jan 30 15:06:33 CET 2009.