diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-06-30 21:40:00 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-06-30 21:40:00 -0400 |
commit | c8dc45786cfb68434429e96b8b4eeb0d8481dce1 (patch) | |
tree | cf1be9591b2f96fe96ba717089cba54f2fb18168 /lib/srp.go | |
parent | e7d85aa1b6e18fb68b23dfe34bf6cb970ba3d15f (diff) |
lib: srp: SRPUser: add `GetScramblingParam`
Diffstat (limited to 'lib/srp.go')
-rw-r--r-- | lib/srp.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |