MCPcopy Create free account
hub / github.com/diasurgical/devilution / IsValidMD5

Function IsValidMD5

3rdParty/StormLib/src/SBaseCommon.cpp:1673–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1671// Functions calculating and verifying the MD5 signature
1672
1673bool IsValidMD5(LPBYTE pbMd5)
1674{
1675 LPDWORD Md5 = (LPDWORD)pbMd5;
1676
1677 return (Md5[0] | Md5[1] | Md5[2] | Md5[3]) ? true : false;
1678}
1679
1680bool IsValidSignature(LPBYTE pbSignature)
1681{

Callers 1

VerifyDataBlockHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected