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

Method processStrippedInt

src/auth/SecureRemotePassword/srp.h:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void processStrippedInt(const Firebird::BigInteger& data)
73 {
74 Firebird::UCharBuffer bytes;
75 data.getBytes(bytes);
76 if (bytes.getCount())
77 {
78 unsigned int n = (bytes[0] == 0) ? 1u : 0;
79 SHA::process(bytes.getCount() - n, bytes.begin() + n);
80 }
81 }
82};
83
84

Callers 3

computeScrambleMethod · 0.80
clientSessionKeyMethod · 0.80
serverSessionKeyMethod · 0.80

Calls 3

getBytesMethod · 0.45
getCountMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected