/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
MeasureBootPeCoff.c | 114 UINTN HashSize;
209 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.CheckSum) - HashBase);
215 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.CheckSum) - HashBase);
218 Status = HashUpdate (HashHandle, HashBase, HashSize);
236 HashSize = Hdr.Pe32->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
242 HashSize = Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
245 if (HashSize != 0) {
246 Status = HashUpdate (HashHandle, HashBase, HashSize);
260 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY]) - HashBase);
266 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURIT (…) [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
MeasureBootPeCoff.c | 114 UINTN HashSize;
209 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.CheckSum) - HashBase);
215 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.CheckSum) - HashBase);
218 Status = HashUpdate (HashHandle, HashBase, HashSize);
236 HashSize = Hdr.Pe32->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
242 HashSize = Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
245 if (HashSize != 0) {
246 Status = HashUpdate (HashHandle, HashBase, HashSize);
260 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY]) - HashBase);
266 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURIT (…) [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptAuthenticodeNull.c | 33 @param[in] HashSize Size of Image hash value in bytes.
46 IN UINTN HashSize
|
CryptAuthenticode.c | 56 @param[in] HashSize Size of Image hash value in bytes.
70 IN UINTN HashSize
89 if ((DataSize > INT_MAX) || (CertSize > INT_MAX) || (HashSize > INT_MAX)) {
179 if (CompareMem (SpcIndirectDataContent + ContentSize - HashSize, ImageHash, HashSize) != 0) {
|
CryptRsaExtNull.c | 103 @param[in] HashSize Size of the message hash in bytes.
116 IN UINTN HashSize,
|
CryptRsaBasic.c | 270 If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then return FALSE.
274 @param[in] HashSize Size of the message hash in bytes.
287 IN UINTN HashSize,
310 switch (HashSize) {
331 (UINT32) HashSize,
|
CryptRsaExt.c | 303 If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then return FALSE.
308 @param[in] HashSize Size of the message hash in bytes.
323 IN UINTN HashSize,
355 switch (HashSize) {
375 (UINT32) HashSize,
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/ |
CryptAuthenticodeNull.c | 33 @param[in] HashSize Size of Image hash value in bytes.
46 IN UINTN HashSize
|
CryptRsaExtNull.c | 103 @param[in] HashSize Size of the message hash in bytes.
116 IN UINTN HashSize,
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/cache/ |
hash.go | 20 // HashSize is the number of bytes in a hash. 21 const HashSize = 32 87 func (h *Hash) Sum() [HashSize]byte { 88 var out [HashSize]byte 96 hashDebug.m = make(map[[HashSize]byte]string) 110 m map[[HashSize]byte]string 114 func reverseHash(id [HashSize]byte) string { 123 m map[string][HashSize]byte 132 func FileHash(file string) ([HashSize]byte, error) { 147 return [HashSize]byte{}, er [all...] |
/prebuilts/go/linux-x86/src/cmd/go/internal/cache/ |
hash.go | 20 // HashSize is the number of bytes in a hash. 21 const HashSize = 32 87 func (h *Hash) Sum() [HashSize]byte { 88 var out [HashSize]byte 96 hashDebug.m = make(map[[HashSize]byte]string) 110 m map[[HashSize]byte]string 114 func reverseHash(id [HashSize]byte) string { 123 m map[string][HashSize]byte 132 func FileHash(file string) ([HashSize]byte, error) { 147 return [HashSize]byte{}, er [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
DxeTpmMeasureBootLib.c | 318 UINTN HashSize;
446 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.CheckSum) - HashBase);
452 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.CheckSum) - HashBase);
455 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize);
473 HashSize = Hdr.Pe32->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
479 HashSize = Hdr.Pe32Plus->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - ImageAddress);
482 if (HashSize != 0) {
483 HashStatus = Sha1Update (Sha1Ctx, HashBase, HashSize);
497 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY]) - HashBase);
503 HashSize = (UINTN) ((UINT8 *)(&Hdr.Pe32Plus->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURIT (…) [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/ |
Hash2DxeCrypto.c | 121 UINT32 HashSize;
141 @param[out] HashSize Holds the returned size of the algorithm's hash.
144 @retval EFI_INVALID_PARAMETER This or HashSize is NULL.
154 OUT UINTN *HashSize
291 @param[out] HashSize Holds the returned size of the algorithm's hash.
294 @retval EFI_INVALID_PARAMETER This or HashSize is NULL.
304 OUT UINTN *HashSize
309 if ((This == NULL) || (HashSize == NULL)) {
322 *HashSize = HashInfo->HashSize;
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
DxeImageVerificationLib.c | 303 UINTN HashSize;
394 HashSize = (UINTN) ((UINT8 *) (&mNtHeader.Pe32->OptionalHeader.CheckSum) - HashBase);
400 HashSize = (UINTN) ((UINT8 *) (&mNtHeader.Pe32Plus->OptionalHeader.CheckSum) - HashBase);
410 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
428 HashSize = mNtHeader.Pe32->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - mImageBase);
434 HashSize = mNtHeader.Pe32Plus->OptionalHeader.SizeOfHeaders - (UINTN) (HashBase - mImageBase);
437 if (HashSize != 0) {
438 Status = mHash[HashAlg].HashUpdate(HashCtx, HashBase, HashSize);
452 HashSize = (UINTN) ((UINT8 *) (&mNtHeader.Pe32->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_SECURITY]) - HashBase);
458 HashSize = (UINTN) ((UINT8 *) (&mNtHeader.Pe32Plus->OptionalHeader.DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_ (…) [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
RsaVerify.c | 96 UINTN HashSize;
305 HashSize = SHA1_DIGEST_SIZE;
306 ZeroMem (HashValue, HashSize);
362 Status = RsaPkcs1Sign (Rsa, HashValue, HashSize, NULL, &SigSize);
369 Status = RsaPkcs1Sign (Rsa, HashValue, HashSize, Signature, &SigSize);
391 Status = RsaPkcs1Verify (Rsa, HashValue, HashSize, Signature, SigSize);
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/ |
RuntimeDxeIpfCryptLib.c | 386 If HashSize is not equal to the size of MD5, SHA-1 or SHA-256 digest, then return FALSE.
390 @param[in] HashSize Size of the message hash in bytes.
403 IN UINTN HashSize,
415 HashSize,
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
NameMap.cpp | 41 uint32_t HashSize; 42 if (auto EC = Stream.readInteger(HashSize))
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
Hash2.h | 72 @param[out] HashSize Holds the returned size of the algorithm's hash.
75 @retval EFI_INVALID_PARAMETER This or HashSize is NULL.
85 OUT UINTN *HashSize
|
Hash.h | 105 @param[out] HashSize Holds the returned size of the algorithm's hash.
108 @retval EFI_INVALID_PARAMETER HashSize is NULL or HashAlgorithm is NULL.
118 OUT UINTN *HashSize
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Hash/ |
Hash.h | 93 OUT UINTN *HashSize
103 HashSize - Holds the returned size of the algorithm's hash.
107 EFI_INVALID_PARAMETER - HashSize is NULL
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/ |
Tpm2Help.c | 24 UINT16 HashSize;
53 return mHashInfo[Index].HashSize;
|
/external/ImageMagick/MagickCore/ |
compress.c | 374 #define HashSize 1021 385 hash[((entry->length+a)*(entry->code+b)) % HashSize]=(HuffmanTable *) entry; \ 457 mb_hash=(HuffmanTable **) AcquireQuantumMemory(HashSize,sizeof(*mb_hash)); 458 mw_hash=(HuffmanTable **) AcquireQuantumMemory(HashSize,sizeof(*mw_hash)); 469 for (i=0; i < HashSize; i++) 559 entry=mw_hash[((length+MWHashA)*(code+MWHashB)) % HashSize]; 565 entry=mb_hash[((length+MBHashA)*(code+MBHashB)) % HashSize]; [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigImpl.c | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winsafer.h | 110 DWORD HashSize;
|
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/ |
BaseCryptLib.h | [all...] |