summaryrefslogtreecommitdiffstats
path: root/lib/srp.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srp.go')
-rw-r--r--lib/srp.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/srp.go b/lib/srp.go
index 2c165fc..21df3bb 100644
--- a/lib/srp.go
+++ b/lib/srp.go
@@ -233,6 +233,10 @@ func (u *SRPUser) SetScramblingParamSimple() error {
return nil
}
+func (u *SRPUser) GetScramblingParam() []byte {
+ return u.u.Bytes()
+}
+
func (u *SRPUser) ComputeSessionKey(a *big.Int) error {
// v^u
vu := new(big.Int)