aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bls_if.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls_if.cpp b/src/bls_if.cpp
index 9d0c6ce..192a45d 100644
--- a/src/bls_if.cpp
+++ b/src/bls_if.cpp
@@ -140,7 +140,7 @@ size_t blsSecretKeyGetHexStr(char *buf, size_t maxBufSize, const blsSecretKey *s
return getStrT<bls::SecretKey, blsSecretKey>(sec, buf, maxBufSize, 16);
}
-int blsSecretKeySetByHash(blsSecretKey *sec, const void *buf, size_t bufSize)
+int blsSecretKeySetToHashOf(blsSecretKey *sec, const void *buf, size_t bufSize)
try
{
std::string s = mcl::fp::hash(384, (const char *)buf, bufSize);