Home
last modified time | relevance | path

Searched refs:SaParams (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DUtility.c328 if (SessionCommon->SaParams != NULL) { in Ikev2SaSessionCommonFree()
329 FreePool (SessionCommon->SaParams); in Ikev2SaSessionCommonFree()
2267 IkeSaSession->SessionCommon.SaParams = AllocateZeroPool (sizeof (IKEV2_SA_PARAMS)); in Ikev2SaParseSaPayload()
2268 if (IkeSaSession->SessionCommon.SaParams == NULL) { in Ikev2SaParseSaPayload()
2272 IkeSaSession->SessionCommon.SaParams->EncAlgId = PreferEncryptAlgorithm; in Ikev2SaParseSaPayload()
2273 IkeSaSession->SessionCommon.SaParams->EnckeyLen = PreferEncryptKeylength; in Ikev2SaParseSaPayload()
2274 IkeSaSession->SessionCommon.SaParams->DhGroup = PreferDhGroup; in Ikev2SaParseSaPayload()
2275 IkeSaSession->SessionCommon.SaParams->Prf = PreferPrfAlgorithm; in Ikev2SaParseSaPayload()
2276 IkeSaSession->SessionCommon.SaParams->IntegAlgId = PreferIntegrityAlgorithm; in Ikev2SaParseSaPayload()
2287 FreePool (IkeSaSession->SessionCommon.SaParams); in Ikev2SaParseSaPayload()
[all …]
DSa.c1668 IKEV2_SA_PARAMS *SaParams; in Ikev2GenerateSaKeys() local
1699 SaParams = IkeSaSession->SessionCommon.SaParams; in Ikev2GenerateSaKeys()
1700 AuthAlgKeyLen = IpSecGetHmacDigestLength ((UINT8)SaParams->Prf); in Ikev2GenerateSaKeys()
1701 EncryptAlgKeyLen = IpSecGetEncryptKeyLength ((UINT8)SaParams->EncAlgId); in Ikev2GenerateSaKeys()
1702 IntegrityAlgKeyLen = IpSecGetHmacDigestLength ((UINT8)SaParams->IntegAlgId); in Ikev2GenerateSaKeys()
1703 PrfAlgKeyLen = IpSecGetHmacDigestLength ((UINT8)SaParams->Prf); in Ikev2GenerateSaKeys()
1733 DigestSize = IpSecGetHmacDigestLength ((UINT8)SaParams->Prf); in Ikev2GenerateSaKeys()
1742 (UINT8)SaParams->Prf, in Ikev2GenerateSaKeys()
1785 (UINT8)SaParams->Prf, in Ikev2GenerateSaKeys()
1982 IKEV2_SA_PARAMS *SaParams; in Ikev2GenerateChildSaKeys() local
[all …]
DPayload.c426 DigestSize = IpSecGetHmacDigestLength ((UINT8)IkeSaSession->SessionCommon.SaParams->Prf); in Ikev2PskGenerateAuthPayload()
443 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2PskGenerateAuthPayload()
477 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2PskGenerateAuthPayload()
487 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2PskGenerateAuthPayload()
533 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2PskGenerateAuthPayload()
692 DigestSize = IpSecGetHmacDigestLength ((UINT8)IkeSaSession->SessionCommon.SaParams->Prf); in Ikev2CertGenerateAuthPayload()
710 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2CertGenerateAuthPayload()
721 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2CertGenerateAuthPayload()
772 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2CertGenerateAuthPayload()
2665 CryptBlockSize = (UINT8) IpSecGetEncryptBlockSize ((UINT8) SessionCommon->SaParams->EncAlgId); in Ikev2DecryptPacket()
[all …]
DIkev2.h149 IKEV2_SA_PARAMS *SaParams; member