From 62ab8caf877e5eb18e61770d2e2acb8878547a01 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 14 Jun 2023 15:01:56 +0300 Subject: [PATCH] [Server] Comment Fix 2 --- src/BINK2002.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/BINK2002.cpp b/src/BINK2002.cpp index 727bb08..8e2bf32 100644 --- a/src/BINK2002.cpp +++ b/src/BINK2002.cpp @@ -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,