MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / FourCharKey

Function FourCharKey

rEFIt_UEFI/Platform/Nvram.cpp:451–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449
450
451UINT32 FourCharKey(CONST CHAR8 *Name)
452{
453 return (Name[0] << 24) + (Name[1] << 16) + (Name[2] << 8) + Name[3]; //Big Endian
454}
455
456INT8 NKey[4] = {0, 0, 0, 0};
457INT8 SAdr[4] = {0, 0, 3, 0};

Callers 1

GetSmcKeysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected