Home
last modified time | relevance | path

Searched refs:ContentSize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptAuthenticode.c79 UINTN ContentSize; in AuthenticodeVerify() local
143 ContentSize = (UINTN) (Asn1Byte & 0x7F); in AuthenticodeVerify()
153 ContentSize = (UINTN) (*(UINT8 *)(SpcIndirectDataContent + 2)); in AuthenticodeVerify()
163 ContentSize = (UINTN) (*(UINT8 *)(SpcIndirectDataContent + 2)); in AuthenticodeVerify()
164 ContentSize = (ContentSize << 8) + (UINTN)(*(UINT8 *)(SpcIndirectDataContent + 3)); in AuthenticodeVerify()
179 if (CompareMem (SpcIndirectDataContent + ContentSize - HashSize, ImageHash, HashSize) != 0) { in AuthenticodeVerify()
189 …) Pkcs7Verify (OrigAuthData, DataSize, TrustedCert, CertSize, SpcIndirectDataContent, ContentSize); in AuthenticodeVerify()
DCryptPkcs7Verify.c921 OUT UINTN *ContentSize in Pkcs7GetAttachedContent() argument
935 if ((P7Data == NULL) || (P7Length > INT_MAX) || (Content == NULL) || (ContentSize == NULL)) { in Pkcs7GetAttachedContent()
975 *ContentSize = 0; in Pkcs7GetAttachedContent()
982 *ContentSize = OctStr->length; in Pkcs7GetAttachedContent()
983 *Content = malloc (*ContentSize); in Pkcs7GetAttachedContent()
985 *ContentSize = 0; in Pkcs7GetAttachedContent()
988 CopyMem (*Content, OctStr->data, *ContentSize); in Pkcs7GetAttachedContent()
DCryptPkcs7VerifyNull.c158 OUT UINTN *ContentSize in Pkcs7GetAttachedContent() argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/
DGenCRC32Section.c165 OUT UINT32 *ContentSize, in ReadFilesContentsIntoBuffer() argument
215 *ContentSize = Size; in ReadFilesContentsIntoBuffer()
229 UINT32 ContentSize; in main() local
236 ContentSize = 0; in main()
262 &ContentSize, in main()
294 Status = SignSectionWithCrc32 (FileBuffer, &BufferSize, ContentSize); in main()
302 ContentSize = fwrite (FileBuffer, sizeof (UINT8), BufferSize, OutputFile); in main()
303 if (ContentSize != BufferSize) { in main()
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/
DPkcs7VerifyDxe.c132 IN UINTN ContentSize, in IsContentHashRevoked() argument
165 if (!CalculateDataHash (Content, ContentSize, &SigList->SignatureType, HashVal)) { in IsContentHashRevoked()
801 IN OUT UINTN *ContentSize in VerifyBuffer() argument
816 if ((Content != NULL) && (ContentSize == NULL)) { in VerifyBuffer()
909 if (*ContentSize < DataSize) { in VerifyBuffer()
913 *ContentSize = DataSize; in VerifyBuffer()
916 *ContentSize = DataSize; in VerifyBuffer()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DPkcs7Verify.h134 IN OUT UINTN *ContentSize
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/
DCryptPkcs7VerifyNull.c158 OUT UINTN *ContentSize in Pkcs7GetAttachedContent() argument
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/
DBaseCryptLib.h2430 OUT UINTN *ContentSize