summaryrefslogtreecommitdiff
path: root/_ctsrp.py
diff options
context:
space:
mode:
Diffstat (limited to '_ctsrp.py')
-rw-r--r--_ctsrp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_ctsrp.py b/_ctsrp.py
index 83eccb7..42dbfdd 100644
--- a/_ctsrp.py
+++ b/_ctsrp.py
@@ -280,7 +280,7 @@ def get_ngk( hash_class, ng_type, n_hex, g_hex ):
-def gen_sv( username, password, hash_alg=SHA1, ng_type=NG_1024, n_hex=None, g_hex=None ):
+def create_salted_verification_key( username, password, hash_alg=SHA1, ng_type=NG_1024, n_hex=None, g_hex=None ):
if ng_type == NG_CUSTOM and (n_hex is None or g_hex is None):
raise ValueError("Both n_hex and g_hex are required when ng_type = NG_CUSTOM")
s = BN_new()