mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-17 19:31:00 +02:00
[Server] Comment Fix 2
This commit is contained in:
parent
7ea57ed136
commit
62ab8caf87
@ -4,7 +4,7 @@
|
||||
|
||||
#include "BINK2002.h"
|
||||
|
||||
/* Unpacks the Windows Server 2003-like Product Key. */
|
||||
/* Unpacks a Windows Server 2003-like Product Key. */
|
||||
void BINK2002::Unpack(
|
||||
QWORD (&pRaw)[2],
|
||||
BOOL &pUpgrade,
|
||||
@ -34,7 +34,7 @@ void BINK2002::Unpack(
|
||||
pAuthInfo = NEXTSNBITS(pRaw[1], 10, 40);
|
||||
}
|
||||
|
||||
/* Packs the Windows Server 2003-like Product Key. */
|
||||
/* Packs a Windows Server 2003-like Product Key. */
|
||||
void BINK2002::Pack(
|
||||
QWORD (&pRaw)[2],
|
||||
BOOL pUpgrade,
|
||||
@ -48,7 +48,7 @@ void BINK2002::Pack(
|
||||
pRaw[1] = FIRSTNBITS(pAuthInfo, 10) << 40 | NEXTSNBITS(pSignature, 40, 22);
|
||||
}
|
||||
|
||||
/* Verifies the Windows Server 2003-like Product Key. */
|
||||
/* Verifies a Windows Server 2003-like Product Key. */
|
||||
bool BINK2002::Verify(
|
||||
EC_GROUP *eCurve,
|
||||
EC_POINT *basePoint,
|
||||
@ -182,6 +182,7 @@ bool BINK2002::Verify(
|
||||
return compHash == pHash;
|
||||
}
|
||||
|
||||
/* Generates a Windows Server 2003-like Product Key. */
|
||||
void BINK2002::Generate(
|
||||
EC_GROUP *eCurve,
|
||||
EC_POINT *basePoint,
|
||||
|
Loading…
Reference in New Issue
Block a user