Searched defs:OutputBuffer (Results 1 - 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/
H A DGuidedSectionExtraction.c106 is decoded into the buffer specified by OutputBuffer and the authentication status of this
108 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
109 the decoded data will be placed in caller allocated buffer specified by OutputBuffer.
112 If OutputBuffer is NULL, then ASSERT().
118 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
136 OUT VOID **OutputBuffer,
141 ASSERT (OutputBuffer != NULL);
159 *OutputBuffer,
177 *OutputBuffer,
134 LzmaGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
H A DF86GuidedSectionExtraction.c108 is decoded into the buffer specified by OutputBuffer and the authentication status of this
110 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
111 the decoded data will be placed in caller allocated buffer specified by OutputBuffer.
114 If OutputBuffer is NULL, then ASSERT().
120 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
138 OUT VOID **OutputBuffer,
151 ASSERT (OutputBuffer != NULL);
176 *OutputBuffer,
193 x86_Convert(*OutputBuffer, OutputBufferSize, 0, &X86State, 0);
136 LzmaArchGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/
H A DGuidedSectionExtraction.c106 is decoded into the buffer specified by OutputBuffer and the authentication status of this
108 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
109 the decoded data will be placed in caller allocated buffer specified by OutputBuffer.
112 If OutputBuffer is NULL, then ASSERT().
118 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
136 OUT VOID **OutputBuffer,
141 ASSERT (OutputBuffer != NULL);
159 *OutputBuffer,
177 *OutputBuffer,
134 LzmaGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
H A DF86GuidedSectionExtraction.c108 is decoded into the buffer specified by OutputBuffer and the authentication status of this
110 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
111 the decoded data will be placed in caller allocated buffer specified by OutputBuffer.
114 If OutputBuffer is NULL, then ASSERT().
120 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
138 OUT VOID **OutputBuffer,
151 ASSERT (OutputBuffer != NULL);
176 *OutputBuffer,
193 x86_Convert(*OutputBuffer, OutputBufferSize, 0, &X86State, 0);
136 LzmaArchGuidedSectionExtraction( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionPei/
H A DSectionExtractionPei.c28 OutputBuffer is just updated to point to the start of the
35 processed. OutputBuffer OutputBuffer is
40 @param OutputBuffer A pointer to a caller-allocated buffer, whose
43 UINTN in which the size of *OutputBuffer
81 OUT VOID **OutputBuffer,
99 OutputBuffer is just updated to point to the start of the
106 processed. OutputBuffer OutputBuffer is
111 @param OutputBuffer
149 CustomGuidedSectionExtract( IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This, IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize, OUT UINT32 *AuthenticationStatus ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/
H A DDxeCrc32GuidedSectionExtractLib.c46 @param OutputBufferSize The size of OutputBuffer.
107 @param OutputBuffer Buffer to contain the output raw data allocated by the caller.
120 OUT VOID **OutputBuffer,
145 *OutputBuffer = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset;
167 *OutputBuffer = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset;
195 Status = gBS->CalculateCrc32 (*OutputBuffer, OutputBufferSize, &Crc32Checksum);
118 Crc32GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SectionExtractionDxe/
H A DSectionExtractionDxe.c42 OutputBuffer. In this case, the
53 to be processed. OutputBuffer OutputBuffer
58 @param OutputBuffer *OutputBuffer is allocated from boot services
62 which the size of OutputBuffer allocation
111 OUT VOID **OutputBuffer,
147 OutputBuffer. In this case, the
158 to be processed. OutputBuffer OutputBuffer
213 CustomGuidedSectionExtract( IN CONST EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This, IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize, OUT UINT32 *AuthenticationStatus ) argument
[all...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/
H A DPrePiExtractGuidedSectionLib.c168 OUT VOID **OutputBuffer,
180 ASSERT (OutputBuffer != NULL);
206 OutputBuffer,
166 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/
H A DPeiCrc32GuidedSectionExtractLib.c127 @param OutputBufferSize The size of OutputBuffer.
188 @param OutputBuffer Buffer to contain the output raw data allocated by the caller.
201 OUT VOID **OutputBuffer,
225 *OutputBuffer = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION2 *) InputSection)->DataOffset;
247 *OutputBuffer = (UINT8 *) InputSection + ((EFI_GUID_DEFINED_SECTION *) InputSection)->DataOffset;
265 Status = PeiCrc32GuidedSectionExtractLibCalculateCrc32 (*OutputBuffer, OutputBufferSize, &Crc32Checksum);
199 Crc32GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdePkg/Library/BaseExtractGuidedSectionLib/
H A DBaseExtractGuidedSectionLib.c329 is used to decode InputSection into the buffer specified by OutputBuffer and the authentication status of this
331 then OutputBuffer is set to point at the data in InputSection. Otherwise, the decoded data will be placed in a caller
332 allocated buffer specified by OutputBuffer. This function is responsible for computing the EFI_AUTH_STATUS_PLATFORM_OVERRIDE
336 If OutputBuffer is NULL, then ASSERT().
341 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
357 OUT VOID **OutputBuffer,
371 ASSERT (OutputBuffer != NULL);
399 OutputBuffer,
355 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdePkg/Library/DxeExtractGuidedSectionLib/
H A DDxeExtractGuidedSectionLib.c321 is used to decode InputSection into the buffer specified by OutputBuffer and the authentication status of this
323 then OutputBuffer is set to point at the data in InputSection. Otherwise, the decoded data will be placed in caller
324 allocated buffer specified by OutputBuffer. This function is responsible for computing the EFI_AUTH_STATUS_PLATFORM_OVERRIDE
328 If OutputBuffer is NULL, then ASSERT().
333 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
349 OUT VOID **OutputBuffer,
361 ASSERT (OutputBuffer != NULL);
380 OutputBuffer,
347 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdePkg/Library/PeiExtractGuidedSectionLib/
H A DPeiExtractGuidedSectionLib.c364 is used to decode InputSection into the buffer specified by OutputBuffer and the authentication status of this
366 then OutputBuffer is set to point at the data in InputSection. Otherwise, the decoded data will be placed in caller
367 allocated buffer specified by OutputBuffer. This function is responsible for computing the EFI_AUTH_STATUS_PLATFORM_OVERRIDE
371 If OutputBuffer is NULL, then ASSERT().
376 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
392 OUT VOID **OutputBuffer,
406 ASSERT (OutputBuffer != NULL);
434 OutputBuffer,
390 ExtractGuidedSectionDecode( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/
H A DDxeRsa2048Sha256GuidedSectionExtractLib.c57 @param OutputBufferSize The size of OutputBuffer.
118 @param OutputBuffer Buffer to contain the output raw data allocated by the caller.
131 OUT VOID **OutputBuffer,
167 CopyMem (*OutputBuffer, (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION2_HEADER), OutputBufferSize);
170 *OutputBuffer = (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION2_HEADER);
195 CopyMem (*OutputBuffer, (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION_HEADER), OutputBufferSize);
198 *OutputBuffer = (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION_HEADER);
331 CryptoStatus = Sha256Update (HashContext, *OutputBuffer, OutputBufferSize);
129 Rsa2048Sha256GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/
H A DPeiRsa2048Sha256GuidedSectionExtractLib.c55 @param OutputBufferSize The size of OutputBuffer.
116 @param OutputBuffer Buffer to contain the output raw data allocated by the caller.
129 OUT VOID **OutputBuffer,
164 CopyMem (*OutputBuffer, (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION2_HEADER), OutputBufferSize);
167 *OutputBuffer = (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION2_HEADER);
192 CopyMem (*OutputBuffer, (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION_HEADER), OutputBufferSize);
195 *OutputBuffer = (UINT8 *)InputSection + sizeof (RSA_2048_SHA_256_SECTION_HEADER);
315 CryptoStatus = Sha256Update (HashContext, *OutputBuffer, OutputBufferSize);
127 Rsa2048Sha256GuidedSectionHandler( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/IntelFspPkg/FspDxeIpl/
H A DDxeIpl.c112 OutputBuffer is just updated to point to the start of the
119 processed. OutputBuffer OutputBuffer is
124 @param[out] OutputBuffer A pointer to a caller-allocated buffer, whose
127 UINTN in which the size of *OutputBuffer
165 OUT VOID **OutputBuffer,
210 *OutputBuffer = AllocatePages (EFI_SIZE_TO_PAGES (OutputBufferSize) + 1);
211 if (*OutputBuffer == NULL) {
214 DEBUG ((DEBUG_INFO, "Customized Guided section Memory Size required is 0x%x and address is 0x%p\n", OutputBufferSize, *OutputBuffer));
216 // *OutputBuffer stil
162 CustomGuidedSectionExtract( IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This, IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize, OUT UINT32 *AuthenticationStatus ) argument
265 Decompress( IN CONST EFI_PEI_DECOMPRESS_PPI *This, IN CONST EFI_COMPRESSION_SECTION *CompressionSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize ) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
H A DGenSection.c418 UINT8 *OutputBuffer; local
430 OutputBuffer = NULL;
493 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
495 OutputBuffer = malloc (CompressedLength);
496 if (!OutputBuffer) {
501 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
505 FileBuffer = OutputBuffer;
522 if (OutputBuffer != NULL) {
523 free (OutputBuffer);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
H A DBaseUefiTianoCustomDecompressLib.c951 is decoded into the buffer specified by OutputBuffer and the authentication status of this
953 data in InputSection, then OutputBuffer is set to point at the data in InputSection. Otherwise,
954 the decoded data will be placed in caller allocated buffer specified by OutputBuffer.
957 If OutputBuffer is NULL, then ASSERT().
963 @param[out] OutputBuffer A pointer to a buffer that contains the result of a decode operation.
981 OUT VOID **OutputBuffer,
986 ASSERT (OutputBuffer != NULL);
1006 *OutputBuffer,
1027 *OutputBuffer,
979 TianoDecompress( IN CONST VOID *InputSection, OUT VOID **OutputBuffer, IN VOID *ScratchBuffer, OPTIONAL OUT UINT32 *AuthenticationStatus ) argument
/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/
H A DDxeLoad.c433 OutputBuffer is just updated to point to the start of the
440 processed. OutputBuffer OutputBuffer is
445 @param OutputBuffer A pointer to a caller-allocated buffer, whose
448 UINTN in which the size of *OutputBuffer
486 OUT VOID **OutputBuffer,
531 *OutputBuffer = AllocatePages (EFI_SIZE_TO_PAGES (OutputBufferSize) + 1);
532 if (*OutputBuffer == NULL) {
535 DEBUG ((DEBUG_INFO, "Customized Guided section Memory Size required is 0x%x and address is 0x%p\n", OutputBufferSize, *OutputBuffer));
537 // *OutputBuffer stil
483 CustomGuidedSectionExtract( IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This, IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize, OUT UINT32 *AuthenticationStatus ) argument
586 Decompress( IN CONST EFI_PEI_DECOMPRESS_PPI *This, IN CONST EFI_COMPRESSION_SECTION *CompressionSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize ) argument
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/PlatformDxe/
H A DPlatform.c502 VOID *OutputBuffer; local
505 OutputBuffer = HiiAllocateOpCodeHandle ();
506 if (OutputBuffer == NULL) {
523 OpCode = HiiCreateOneOfOptionOpCode (OutputBuffer, NewString,
531 *OpCodeBuffer = OutputBuffer;
535 HiiFreeOpCodeHandle (OutputBuffer);
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
H A DGenSec.c622 UINT8 *OutputBuffer; local
630 OutputBuffer = NULL;
686 OutputBuffer = malloc (TotalLength);
687 if (OutputBuffer == NULL) {
691 memcpy (OutputBuffer + HeaderLength, FileBuffer, CompressedLength);
693 FileBuffer = OutputBuffer;
708 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer, &CompressedLength);
715 OutputBuffer = malloc (TotalLength);
716 if (!OutputBuffer) {
721 Status = CompressFunction (FileBuffer, InputLength, OutputBuffer
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
H A DSecMain.c333 VOID *OutputBuffer; local
363 OutputBuffer = (VOID*) ((UINT8*)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase) + SIZE_1MB);
364 ScratchBuffer = ALIGN_POINTER ((UINT8*) OutputBuffer + OutputBufferSize, SIZE_1MB);
366 DEBUG ((EFI_D_VERBOSE, "%a: OutputBuffer@%p+0x%x ScratchBuffer@%p+0x%x "
367 "PcdOvmfDecompressionScratchEnd=0x%x\n", __FUNCTION__, OutputBuffer,
375 &OutputBuffer,
385 OutputBuffer,
410 OutputBuffer,
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/
H A DCoreSectionExtraction.c121 OutputBuffer. In this case, the
132 to be processed. OutputBuffer OutputBuffer
137 @param OutputBuffer *OutputBuffer is allocated from boot services
141 which the size of OutputBuffer allocation
190 OUT VOID **OutputBuffer,
1436 OutputBuffer. In this case, the
1447 to be processed. OutputBuffer OutputBuffer
1502 CustomGuidedSectionExtract( IN CONST EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This, IN CONST VOID *InputSection, OUT VOID **OutputBuffer, OUT UINTN *OutputSize, OUT UINT32 *AuthenticationStatus ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
H A DFwVol.c722 @param OutputBuffer A pointer to the discovered section, if successful.
738 OUT VOID **OutputBuffer,
760 *OutputBuffer = NULL;
795 *OutputBuffer = (VOID *)((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER2));
797 *OutputBuffer = (VOID *)((UINT8 *) Section + sizeof (EFI_COMMON_SECTION_HEADER));
842 *OutputBuffer = TempOutputBuffer;
924 *OutputBuffer = TempOutputBuffer;
732 ProcessSection( IN CONST EFI_PEI_SERVICES **PeiServices, IN EFI_SECTION_TYPE SectionType, IN OUT UINTN *SectionInstance, IN EFI_COMMON_SECTION_HEADER *Section, IN UINTN SectionSize, OUT VOID **OutputBuffer, OUT UINT32 *AuthenticationStatus, IN BOOLEAN IsFfs3Fv ) argument

Completed in 336 milliseconds