Searched refs:AlgoInfo (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
D | IpSecConfigImpl.c | 841 if (Data->AlgoInfo.EspAlgoInfo.AuthKey != NULL) { in FixSadEntry() 842 FIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.AuthKey, Data); in FixSadEntry() 845 if (SaId->Proto == EfiIPsecESP && Data->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in FixSadEntry() 846 FIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.EncKey, Data); in FixSadEntry() 944 if (Data->AlgoInfo.EspAlgoInfo.AuthKey != NULL) { in UnfixSadEntry() 945 UNFIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.AuthKey, Data); in UnfixSadEntry() 948 if (SaId->Proto == EfiIPsecESP && Data->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in UnfixSadEntry() 949 UNFIX_REF_BUF_ADDR (Data->AlgoInfo.EspAlgoInfo.EncKey, Data); in UnfixSadEntry() 1353 SadEntrySize += SaData->AlgoInfo.AhAlgoInfo.AuthKeyLength; in SetSadEntry() 1355 SadEntrySize = ALIGN_VARIABLE (SadEntrySize + SaData->AlgoInfo.EspAlgoInfo.AuthKeyLength); in SetSadEntry() [all …]
|
D | IpSecImpl.c | 806 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId, in IpSecEspAuthVerifyPayload() 807 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKey, in IpSecEspAuthVerifyPayload() 808 SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthKeyLength, in IpSecEspAuthVerifyPayload() 1496 IcvSize = IpSecGetIcvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.AuthAlgoId); in IpSecEspInboundPacket() 1497 IvSize = IpSecGetEncryptIvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspInboundPacket() 1498 BlockSize = IpSecGetEncryptBlockSize (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId); in IpSecEspInboundPacket() 1518 if (SadData->AlgoInfo.EspAlgoInfo.AuthKey != NULL) { in IpSecEspInboundPacket() 1532 if (SadData->AlgoInfo.EspAlgoInfo.EncKey != NULL) { in IpSecEspInboundPacket() 1534 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId, in IpSecEspInboundPacket() 1535 SadEntry->Data->AlgoInfo.EspAlgoInfo.EncKey, in IpSecEspInboundPacket() [all …]
|
D | IpSecImpl.h | 96 EFI_IPSEC_ALGO_INFO AlgoInfo; member
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Dump.c | 446 MapIntegerToString (Data->AlgoInfo.AhAlgoInfo.AuthAlgoId, mMapAuthAlgo), in DumpSadEntry() 447 Data->AlgoInfo.AhAlgoInfo.AuthKey in DumpSadEntry() 450 AuthAlgoStr = MapIntegerToString (Data->AlgoInfo.EspAlgoInfo.AuthAlgoId, mMapAuthAlgo); in DumpSadEntry() 451 EncAlgoStr = MapIntegerToString (Data->AlgoInfo.EspAlgoInfo.EncAlgoId, mMapEncAlgo); in DumpSadEntry() 460 Data->AlgoInfo.EspAlgoInfo.AuthKey, in DumpSadEntry() 461 Data->AlgoInfo.EspAlgoInfo.AuthKeyLength in DumpSadEntry() 465 Data->AlgoInfo.EspAlgoInfo.EncKey, in DumpSadEntry() 466 Data->AlgoInfo.EspAlgoInfo.EncKeyLength in DumpSadEntry() 474 … DumpBuf ((UINT8 *)(Data->AlgoInfo.EspAlgoInfo.AuthKey), Data->AlgoInfo.EspAlgoInfo.AuthKeyLength); in DumpSadEntry() 477 … DumpBuf ((UINT8 *)(Data->AlgoInfo.EspAlgoInfo.EncKey), Data->AlgoInfo.EspAlgoInfo.EncKeyLength); in DumpSadEntry()
|
D | PolicyEntryOperation.c | 691 (*Data)->AlgoInfo.EspAlgoInfo.AuthKey = (VOID *) ALIGN_POINTER (((*Data) + 1), sizeof (UINTN)); in CreateSadEntry() 692 (*Data)->AlgoInfo.EspAlgoInfo.EncKey = (VOID *) ALIGN_POINTER ( in CreateSadEntry() 693 … ((UINT8 *) (*Data)->AlgoInfo.EspAlgoInfo.AuthKey + AuthKeyLength), in CreateSadEntry() 697 … ((UINT8 *) (*Data)->AlgoInfo.EspAlgoInfo.EncKey + EncKeyLength), in CreateSadEntry() 769 &(*Data)->AlgoInfo.EspAlgoInfo.EncAlgoId, in CreateSadEntry() 785 (*Data)->AlgoInfo.EspAlgoInfo.EncKeyLength = EncKeyLength; in CreateSadEntry() 789 CopyMem ((*Data)->AlgoInfo.EspAlgoInfo.EncKey, AsciiStr, EncKeyLength); in CreateSadEntry() 793 (*Data)->AlgoInfo.EspAlgoInfo.EncKey = NULL; in CreateSadEntry() 799 &(*Data)->AlgoInfo.EspAlgoInfo.AuthAlgoId, in CreateSadEntry() 815 (*Data)->AlgoInfo.EspAlgoInfo.AuthKeyLength = AuthKeyLength; in CreateSadEntry() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | IpSecConfig.h | 435 EFI_IPSEC_ALGO_INFO AlgoInfo; member 478 EFI_IPSEC_ALGO_INFO AlgoInfo; member
|
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Utility.c | 1498 …CopyMem (&SaData.AlgoInfo, &ChildSaSession->ChildKeymats.LocalPeerInfo, sizeof (EFI_IPSEC_ALGO_INF… in Ikev2StoreSaData() 1525 …CopyMem (&SaData.AlgoInfo, &ChildSaSession->ChildKeymats.RemotePeerInfo, sizeof (EFI_IPSEC_ALGO_IN… in Ikev2StoreSaData()
|