Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/NetworkPkg/TlsDxe/
DTlsImpl.c44 UINT32 BufferInSize; in TlsEncryptPacket() local
57 BufferInSize = 0; in TlsEncryptPacket()
70 BufferInSize += (*FragmentTable)[Index].FragmentLength; in TlsEncryptPacket()
76 BufferIn = AllocateZeroPool (BufferInSize); in TlsEncryptPacket()
105 while ((UINTN) BufferInPtr < (UINTN) BufferIn + BufferInSize) { in TlsEncryptPacket()
196 UINT32 BufferInSize; in TlsDecryptPacket() local
209 BufferInSize = 0; in TlsDecryptPacket()
221 BufferInSize += (*FragmentTable)[Index].FragmentLength; in TlsDecryptPacket()
227 BufferIn = AllocateZeroPool (BufferInSize); in TlsDecryptPacket()
256 while ((UINTN) BufferInPtr < (UINTN) BufferIn + BufferInSize) { in TlsDecryptPacket()
/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/
DTlsProcess.c82 IN UINTN BufferInSize, OPTIONAL in TlsDoHandshake() argument
99 (BufferIn == NULL && BufferInSize != 0) || \ in TlsDoHandshake()
100 (BufferIn != NULL && BufferInSize == 0) || \ in TlsDoHandshake()
105 if(BufferIn == NULL && BufferInSize == 0) { in TlsDoHandshake()
120 BIO_write (TlsConn->InBio, BufferIn, (UINT32) BufferInSize); in TlsDoHandshake()
203 IN UINTN BufferInSize, OPTIONAL in TlsHandleAlert() argument
221 (BufferIn == NULL && BufferInSize != 0) || \ in TlsHandleAlert()
222 (BufferIn != NULL && BufferInSize == 0) || \ in TlsHandleAlert()
228 if (PendingBufferSize == 0 && BufferIn != NULL && BufferInSize != 0) { in TlsHandleAlert()
229 Ret = BIO_write (TlsConn->InBio, BufferIn, (UINT32) BufferInSize); in TlsHandleAlert()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/
DHttpsSupport.c977 UINTN BufferInSize; in TlsConnectSession() local
1069 BufferInSize = Pdu->TotalSize; in TlsConnectSession()
1070 BufferIn = AllocateZeroPool (BufferInSize); in TlsConnectSession()
1077 NetbufCopy (Pdu, 0, (UINT32)BufferInSize, BufferIn); in TlsConnectSession()
1094 BufferInSize, in TlsConnectSession()
1110 BufferInSize, in TlsConnectSession()
1455 UINTN BufferInSize; in HttpsReceive() local
1467 BufferInSize = 0; in HttpsReceive()
1483 BufferInSize = Pdu->TotalSize; in HttpsReceive()
1484 BufferIn = AllocateZeroPool (BufferInSize); in HttpsReceive()
[all …]
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DTlsLib.h144 IN UINTN BufferInSize, OPTIONAL
179 IN UINTN BufferInSize, OPTIONAL