mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-12-22 12:30:17 +02:00
Update cli.cpp
This commit is contained in:
parent
4b2ef7ac72
commit
859a21656c
@ -385,6 +385,8 @@ int CLI::BINK1998Generate() {
|
|||||||
|
|
||||||
// Specify whether an upgrade version or not
|
// Specify whether an upgrade version or not
|
||||||
bool bUpgrade = false;
|
bool bUpgrade = false;
|
||||||
|
if (options->upgrade == true)
|
||||||
|
bUpgrade = true;
|
||||||
|
|
||||||
for (int i = 0; i < this->total; i++) {
|
for (int i = 0; i < this->total; i++) {
|
||||||
PIDGEN3::BINK1998::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, nRaw, bUpgrade, this->pKey);
|
PIDGEN3::BINK1998::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, nRaw, bUpgrade, this->pKey);
|
||||||
@ -436,6 +438,11 @@ int CLI::BINK2002Generate() {
|
|||||||
fmt::print("> AuthInfo: {}\n", pAuthInfo);
|
fmt::print("> AuthInfo: {}\n", pAuthInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Specify whether an upgrade version or not
|
||||||
|
bool bUpgrade = false;
|
||||||
|
if (options->upgrade == true)
|
||||||
|
bUpgrade = true;
|
||||||
|
|
||||||
PIDGEN3::BINK2002::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, pChannelID, pAuthInfo, false, this->pKey);
|
PIDGEN3::BINK2002::Generate(this->eCurve, this->genPoint, this->genOrder, this->privateKey, pChannelID, pAuthInfo, false, this->pKey);
|
||||||
|
|
||||||
bool isValid = PIDGEN3::BINK2002::Verify(this->eCurve, this->genPoint, this->pubPoint, this->pKey);
|
bool isValid = PIDGEN3::BINK2002::Verify(this->eCurve, this->genPoint, this->pubPoint, this->pKey);
|
||||||
|
Loading…
Reference in New Issue
Block a user