/dports/security/openvpn/openvpn-2.5.6/src/openvpnmsica/ |
H A D | msiex.c | 52 DWORD dwLength = _countof(szBufStack); in msi_get_string() local 57 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 64 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_string() 70 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 110 DWORD dwLength = _countof(szBufStack); in msi_get_record_string() local 115 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 122 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_record_string() 128 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 168 DWORD dwLength = _countof(szBufStack); in msi_format_record() local 173 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_format_record() [all …]
|
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/src/openvpnmsica/ |
H A D | msiex.c | 52 DWORD dwLength = _countof(szBufStack); in msi_get_string() local 57 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 64 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_string() 70 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 110 DWORD dwLength = _countof(szBufStack); in msi_get_record_string() local 115 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 122 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_record_string() 128 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 168 DWORD dwLength = _countof(szBufStack); in msi_format_record() local 173 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_format_record() [all …]
|
/dports/security/openvpn-mbedtls/openvpn-2.5.6/src/openvpnmsica/ |
H A D | msiex.c | 52 DWORD dwLength = _countof(szBufStack); in msi_get_string() local 57 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 64 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_string() 70 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_string() 110 DWORD dwLength = _countof(szBufStack); in msi_get_record_string() local 115 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 122 memcpy(*pszValue, szBufStack, dwLength * sizeof(TCHAR)); in msi_get_record_string() 128 LPTSTR szBufHeap = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_get_record_string() 168 DWORD dwLength = _countof(szBufStack); in msi_format_record() local 173 *pszValue = (LPTSTR)malloc(++dwLength * sizeof(TCHAR)); in msi_format_record() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/sysutils/edk2/edk2-edk2-stable202102/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 172 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 185 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 173 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 173 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/BaseTools/Source/Python/Common/Uefi/Capsule/ |
H A D | FmpAuthHeader.py | 114 self.dwLength = self._StructAuthInfoSize 129 self.dwLength = self._StructAuthInfoSize + len (self.CertData) 134 self.dwLength, 146 (MonotonicCount, dwLength, wRevision, wCertificateType, CertType) = \ 151 if dwLength < self._StructAuthInfoSize: 160 self.dwLength = dwLength 164 self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength] 165 self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:] 173 …E_AUTHENTICATION.AuthInfo.Hdr.dwLength = {dwLength:08X}'.format (dwLength = self.dwLength))
|
/dports/security/beid/eid-mw-5.0.8/cardcomm/minidriver/src/ |
H A D | tlv.c | 38 DWORD dwLength; in TLVGetField() local 51 dwLength = 0; // reset length in TLVGetField() 55 dwLength += pbFile[dwIndex]; in TLVGetField() 58 if (dwLength != 0) in TLVGetField() 64 *pdwDataLen = dwLength; // set returned length; in TLVGetField() 67 if (dwLength == 0) // no value in TLVGetField() 69 if (dwLength > cbData) in TLVGetField() 80 if (dwValueIndex == dwLength) { in TLVGetField()
|
/dports/audio/polyphone/polyphone-75a5e88/sources/core/sample/ |
H A D | samplereadersf2.cpp | 51 smpl.resize(static_cast<int>(_info->dwLength) * 2); 54 if (_info->dwLength > 0) 58 qint64 nb = fi.read(smpl.data(), _info->dwLength * 2); 61 if (nb != _info->dwLength * 2) 73 sm24.resize(static_cast<int>(_info->dwLength)); 76 if (_info->wBpsFile >= 24 && _info->dwLength > 0) 80 qint64 nb = fi.read(sm24.data(), _info->dwLength); 83 if (nb != _info->dwLength * 2)
|
H A D | sound.cpp | 87 _info.loops << QPair<quint32, quint32>(0, _info.dwLength > 0 ? _info.dwLength - 1 : 0); in setFileName() 118 _sm24.resize(static_cast<int>(_info.dwLength)); in getData() 128 if (length != _info.dwLength * 2) in getData() 138 if (length != _info.dwLength) in getData() 140 _sm24.resize(static_cast<int>(_info.dwLength)); in getData() 160 baRet.resize(static_cast<int>(_info.dwLength) * 3); in getData() 165 unsigned int len = _info.dwLength; in getData() 176 baRet.resize(static_cast<int>(_info.dwLength) * 4); in getData() 181 unsigned int len = _info.dwLength; in getData() 210 result = _info.dwLength; in getUInt32() [all …]
|
/dports/multimedia/vapoursynth/vapoursynth-R54/src/filters/avisource/ |
H A D | AVIReadHandler.cpp | 525 asi.dwLength = psnData->hdr.dwLength; in Info() 1131 pasn_old->hdr.dwLength += pasn_new->hdr.dwLength; in AppendFile() 1166 uint32 dwLength; in _parseFile() local 1389 if (dwLength) { in _parseFile() 1390 if (!mpCurrentFile->mFile.skipNT(dwLength + (dwLength&1))) in _parseFile() 1509 dwLengthLeft -= 8+(dwLength + (dwLength&1)); in _parseFile() 1652 uint32 dwLength; in _parseStreamHeader() local 1667 dwLengthLeft -= (dwLength + (dwLength&1)); in _parseStreamHeader() 1682 dwLength = 0; in _parseStreamHeader() 1737 if (dwLength) { in _parseStreamHeader() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/pm/smpd/ |
H A D | smpd_authenticate.c | 109 DWORD dwLength; in smpd_encrypt_data() local 144 dwLength = (DWORD)strlen(szPassword); in smpd_encrypt_data() 145 if (!CryptHashData(hHash, (BYTE *)szPassword, dwLength, 0)) in smpd_encrypt_data() 170 dwLength = input_length; in smpd_encrypt_data() 263 DWORD dwLength; in smpd_decrypt_data() local 298 dwLength = (DWORD)strlen(szPassword); in smpd_decrypt_data() 299 if (!CryptHashData(hHash, (BYTE *)szPassword, dwLength, 0)) in smpd_decrypt_data() 338 dwLength = length; in smpd_decrypt_data() 345 if (dwLength >= (DWORD)*output_length) in smpd_decrypt_data() 353 memcpy(output, buffer, dwLength); in smpd_decrypt_data() [all …]
|
/dports/graphics/libfpx/libfpx-1.3.1-10/ole/ |
H A D | olestrm.cpp | 572 DWORD dwLength, rem; in ReadVT_LPSTR() local 580 if ( !dwLength ) in ReadVT_LPSTR() 589 rem -= dwLength % 4; in ReadVT_LPSTR() 614 DWORD dwLength; in ReadVT_LPSTR_NoPad() local 622 if ( !dwLength ) in ReadVT_LPSTR_NoPad() 649 DWORD dwLength, rem; in ReadVT_LPWSTR() local 657 if ( !dwLength ) in ReadVT_LPWSTR() 693 DWORD dwLength; in ReadVT_LPWSTR_NoPad() local 701 if ( !dwLength ) in ReadVT_LPWSTR_NoPad() 1470 DWORD dwLength, rem; in WriteVT_LPSTR() local [all …]
|
/dports/devel/apitrace/apitrace-9.0/helpers/ |
H A D | d3dcommonsize.hpp | 99 DWORD dwLength = 0; in _shaderSize() local 103 DWORD dwVersion = pFunction[dwLength++]; in _shaderSize() 109 DWORD dwToken = pFunction[dwLength++]; in _shaderSize() 113 dwLength += (dwToken & D3DSI_COMMENTSIZE_MASK) >> D3DSI_COMMENTSIZE_SHIFT; in _shaderSize() 119 return dwLength * sizeof *pFunction; in _shaderSize() 124 dwLength += (dwToken & D3DSI_INSTLENGTH_MASK) >> D3DSI_INSTLENGTH_SHIFT; in _shaderSize() 131 DWORD dwToken = pFunction[dwLength++]; in _shaderSize() 141 dwLength += (dwToken & D3DSI_COMMENTSIZE_MASK) >> D3DSI_COMMENTSIZE_SHIFT; in _shaderSize() 147 dwLength += 5; in _shaderSize() 153 return dwLength * sizeof *pFunction; in _shaderSize()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
H A D | FmpAuthenticationLibPkcs7.c | 73 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)); in FmpAuthenticatedHandlerPkcs7() 77 TempBuffer = AllocatePool(ImageSize - Image->AuthInfo.Hdr.dwLength); in FmpAuthenticatedHandlerPkcs7() 86 (UINT8 *)Image + sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 87 ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 90 (UINT8 *)TempBuffer + ImageSize - sizeof(Image->MonotonicCount) - Image->AuthInfo.Hdr.dwLength, in FmpAuthenticatedHandlerPkcs7() 100 ImageSize - Image->AuthInfo.Hdr.dwLength in FmpAuthenticatedHandlerPkcs7() 174 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) { in AuthenticateFmpImage() 178 if ((UINTN) Image->AuthInfo.Hdr.dwLength > MAX_UINTN - sizeof(UINT64)) { in AuthenticateFmpImage() 182 if (ImageSize <= sizeof(Image->MonotonicCount) + Image->AuthInfo.Hdr.dwLength) { in AuthenticateFmpImage()
|