Fix swapped args to CreateKeyPair

This commit is contained in:
Kae 2023-07-13 17:57:23 +10:00
parent f9e8b5badf
commit f02c053ed2

View File

@ -19,7 +19,7 @@ struct KeySet {
secret[31] &= 127;
secret[31] |= 64;
ed25519_CreateKeyPair(privateKey.data(), publicKey.data(), nullptr, secret.data());
ed25519_CreateKeyPair(publicKey.data(), privateKey.data(), nullptr, secret.data());
Logger::info("Generated Curve25519 key-pair");
}