MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / genClientKey

Method genClientKey

src/auth/SecureRemotePassword/srp.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void RemotePassword::genClientKey(string& pubkey)
105{
106 dumpIt("privateKey(C)", privateKey);
107 clientPublicKey = group->generator.modPow(privateKey, group->prime);
108 clientPublicKey.getText(pubkey);
109 dumpIt("clientPublicKey", clientPublicKey);
110}
111
112void RemotePassword::genServerKey(string& pubkey, const Firebird::UCharBuffer& verifier)
113{

Callers 2

authenticateMethod · 0.80
runTestFunction · 0.80

Calls 3

modPowMethod · 0.80
dumpItFunction · 0.70
getTextMethod · 0.45

Tested by 1

runTestFunction · 0.64