Searched refs:IvSize (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/
H A DIkeCommon.c181 @param[in] IvSize The IV size.
190 IN UINTN IvSize
193 return IpSecCryptoIoGenerateRandomBytes (IvBuffer, IvSize);
H A DIkeCommon.h147 @param[in] IvSize The IV size.
156 IN UINTN IvSize
H A DIpSecImpl.c1395 UINTN IvSize; local
1490 // Get the IcvSize for authentication and BlockSize/IvSize for Decryption.
1493 IvSize = IpSecGetEncryptIvLength (SadEntry->Data->AlgoInfo.EspAlgoInfo.EncAlgoId);
1498 // 1. Check whether the Espsize is larger than ESP header + IvSize + EspTail + IcvSize.
1499 // 2. Check whether the left payload size is multiple of IvSize.
1501 MiscSize = sizeof (EFI_ESP_HEADER) + IvSize + IcvSize;
1534 ProcessBuffer + sizeof (EFI_ESP_HEADER) + IvSize,
1535 EspSize - sizeof (EFI_ESP_HEADER) - IvSize - IcvSize,
1536 ProcessBuffer + sizeof (EFI_ESP_HEADER) + IvSize
1596 InnerHead = ProcessBuffer + sizeof (EFI_ESP_HEADER) + IvSize;
1711 UINTN IvSize; // Size of IV, optional, might be 0 local
[all...]
H A DIpSecCryptIo.c171 Generate a random data for IV. If the IvSize is zero, not needed to create
175 @param[in] IvSize The IV size in bytes.
183 IN UINTN IvSize
186 if (IvSize != 0) {
187 return IpSecCryptoIoGenerateRandomBytes (IvBuffer, IvSize);
235 // The BlockSize is same with IvSize.
H A DIpSecCryptIo.h489 Generate a random data for IV. If the IvSize is zero, not needed to create
493 @param[in] IvSize The IV size in bytes.
501 IN UINTN IvSize
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/
H A DPayload.c2554 UINTN IvSize; // Iv Size local
2564 IvSize = 0;
2666 IvSize = CryptBlockSize;
2671 DecryptedSize = IkePacket->PayloadTotalSize - sizeof (IKEV2_COMMON_PAYLOAD_HEADER) - IvSize - CheckSumSize;
2677 IkePacket->PayloadsBuf + sizeof (IKEV2_COMMON_PAYLOAD_HEADER) + IvSize,
2773 UINT8 IvSize; // Iv Size local
2847 IvSize = CryptBlockSize;
2848 IvBuffer = (UINT8 *) AllocateZeroPool (IvSize);
2857 IkeGenerateIv (IvBuffer, IvSize);
2890 EncryptPayloadSize = sizeof(IKEV2_ENCRYPTED) + IvSize
[all...]

Completed in 58 milliseconds