aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/srp6/srp6.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/constructs/srp6/srp6.h')
-rw-r--r--src/constructs/srp6/srp6.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/constructs/srp6/srp6.h b/src/constructs/srp6/srp6.h
index d67ce361a..6f3960be1 100644
--- a/src/constructs/srp6/srp6.h
+++ b/src/constructs/srp6/srp6.h
@@ -69,12 +69,21 @@ class BOTAN_DLL SRP6_Server_Session
/**
* Server side step 1
* @param v the verification value saved from client registration
+ * @param group_id the SRP group id
+ * @param hash_id the SRP hash in use
+ * @param rng a random number generator
+ * @return SRP-6 B value
*/
BigInt step1(const BigInt& v,
const std::string& group_id,
const std::string& hash_id,
RandomNumberGenerator& rng);
+ /**
+ * Server side step 2
+ * @param A the client's value
+ * @return shared symmetric key
+ */
SymmetricKey step2(const BigInt& A);
private: