Lines Matching refs:SadEntry

332   IPSEC_SAD_ENTRY *SadEntry;  in IpSecLookupSadBySpd()  local
336 SadEntry = IPSEC_SAD_ENTRY_FROM_SPD (Entry); in IpSecLookupSadBySpd()
343 SadEntry->Data->SpdSelector->RemoteAddress, in IpSecLookupSadBySpd()
344 SadEntry->Data->SpdSelector->RemoteAddressCount in IpSecLookupSadBySpd()
346 return SadEntry; in IpSecLookupSadBySpd()
372 IPSEC_SAD_ENTRY *SadEntry; in IpSecLookupSadBySpi() local
378 SadEntry = IPSEC_SAD_ENTRY_FROM_LIST (Entry); in IpSecLookupSadBySpi()
383 if (SadEntry->Id->Spi == Spi) { in IpSecLookupSadBySpi()
384 if (SadEntry->Data->Mode == EfiIPsecTunnel) { in IpSecLookupSadBySpi()
387 &SadEntry->Data->TunnelDestAddress, in IpSecLookupSadBySpi()
390 return SadEntry; in IpSecLookupSadBySpi()
393 if (SadEntry->Data->SpdSelector != NULL && in IpSecLookupSadBySpi()
397 SadEntry->Data->SpdSelector->RemoteAddress, in IpSecLookupSadBySpi()
398 SadEntry->Data->SpdSelector->RemoteAddressCount in IpSecLookupSadBySpi()
401 return SadEntry; in IpSecLookupSadBySpi()
443 OUT IPSEC_SAD_ENTRY **SadEntry in IpSecLookupSadEntry() argument
452 *SadEntry = NULL; in IpSecLookupSadEntry()
534 *SadEntry = Entry; in IpSecLookupSadEntry()
785 IN IPSEC_SAD_ENTRY *SadEntry, in IpSecEspAuthVerifyPayload() argument
806 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId, in IpSecEspAuthVerifyPayload()
807 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKey, in IpSecEspAuthVerifyPayload()
808 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKeyLength, in IpSecEspAuthVerifyPayload()
1403 IPSEC_SAD_ENTRY *SadEntry; in IpSecEspInboundPacket() local
1447 SadEntry = IpSecFoundSadFromInboundPacket ( in IpSecEspInboundPacket()
1453 if (SadEntry == NULL) { in IpSecEspInboundPacket()
1458 SaId = SadEntry->Id; in IpSecEspInboundPacket()
1459 SadData = SadEntry->Data; in IpSecEspInboundPacket()
1489 IcvSize = IpSecGetIcvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId); in IpSecEspInboundPacket()
1490 IvSize = IpSecGetEncryptIvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspInboundPacket()
1491 BlockSize = IpSecGetEncryptBlockSize (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspInboundPacket()
1515 SadEntry, in IpSecEspInboundPacket()
1527 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId, in IpSecEspInboundPacket()
1528 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncKey, in IpSecEspInboundPacket()
1529 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncKeyLength << 3, in IpSecEspInboundPacket()
1695 IN IPSEC_SAD_ENTRY *SadEntry, in IpSecEspOutboundPacket() argument
1722 SaId = SadEntry->Id; in IpSecEspOutboundPacket()
1723 SadData = SadEntry->Data; in IpSecEspOutboundPacket()
1766 EncryptBlockSize = IpSecGetEncryptBlockSize (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspOutboundPacket()
1802 IcvSize = IpSecGetIcvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId); in IpSecEspOutboundPacket()
1811 IvSize = IpSecGetEncryptIvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspOutboundPacket()
1924 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId, in IpSecEspOutboundPacket()
1925 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncKey, in IpSecEspOutboundPacket()
1926 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncKeyLength << 3, in IpSecEspOutboundPacket()
1946 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId, in IpSecEspOutboundPacket()
1947 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKey, in IpSecEspOutboundPacket()
1948 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKeyLength, in IpSecEspOutboundPacket()
2153 IN IPSEC_SAD_ENTRY *SadEntry, in IpSecProtectOutboundPacket() argument
2157 if (SadEntry->Id->Proto == EfiIPsecESP) { in IpSecProtectOutboundPacket()
2169 SadEntry, in IpSecProtectOutboundPacket()