summaryrefslogtreecommitdiff
path: root/test_srp.py
diff options
context:
space:
mode:
authorTom Cocagne <devnull@localhost>2010-12-31 15:26:43 -0500
committerTom Cocagne <devnull@localhost>2010-12-31 15:26:43 -0500
commitbb9036d6a3452299ba4270a5b6bd47145e016a84 (patch)
treea3f2d0b627a20e0fcdce10002fae0c733bca3a7f /test_srp.py
parent8d58dad120a39b7fcb8b012ff584686f3fac5a8e (diff)
renamed gen_sv to create_salted_verification_key
Diffstat (limited to 'test_srp.py')
-rw-r--r--test_srp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_srp.py b/test_srp.py
index 59b7435..be28c4c 100644
--- a/test_srp.py
+++ b/test_srp.py
@@ -27,9 +27,9 @@ except:
import srp
-User = u_mod.User
-Verifier = v_mod.Verifier
-gen_sv = g_mod.gen_sv
+User = u_mod.User
+Verifier = v_mod.Verifier
+create_salted_verification_key = g_mod.create_salted_verification_key
HASH = srp.SHA256
NG = srp.NG_CUSTOM
@@ -54,7 +54,7 @@ FBB694B5C803D89F7AE435DE236D525F54759B65E372FCD68EF20FA7111F9E4AFF73'''
-_s, _v = gen_sv( username, password, hash_alg=HASH, ng_type=NG, n_hex=n_hex, g_hex=g_hex )
+_s, _v = create_salted_verification_key( username, password, hash_alg=HASH, ng_type=NG, n_hex=n_hex, g_hex=g_hex )
def test_one():
usr = User( username, password, hash_alg=HASH, ng_type=NG, n_hex=n_hex, g_hex=g_hex )