aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/srp6/srp6_files.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc/srp6/srp6_files.h')
-rw-r--r--src/lib/misc/srp6/srp6_files.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/misc/srp6/srp6_files.h b/src/lib/misc/srp6/srp6_files.h
index db128727e..8c899aad6 100644
--- a/src/lib/misc/srp6/srp6_files.h
+++ b/src/lib/misc/srp6/srp6_files.h
@@ -27,6 +27,14 @@ class BOTAN_DLL SRP6_Authenticator_File
*/
explicit SRP6_Authenticator_File(std::istream& input);
+ /**
+ * Looks up a user in the authenticator file.
+ * @param username user to look up
+ * @param v set to the host's password verifier
+ * @param salt set to the user's salt value
+ * @param group_id set to the user's group value
+ * @return whether a user exists in the authenticator file
+ */
bool lookup_user(const std::string& username,
BigInt& v,
std::vector<byte>& salt,