diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-05-31 04:53:21 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-05-31 04:53:21 +0800 |
commit | 484e5a628ff25b9cfc8f6a46d60a0e855aef9b17 (patch) | |
tree | f205c0527c1b48155cec523e706c0ac6a28e8e1b /src | |
parent | 9424c218627d7fedc6722edd27de9f006e33583e (diff) | |
download | dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar.gz dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar.bz2 dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar.lz dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar.xz dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.tar.zst dexon-bls-484e5a628ff25b9cfc8f6a46d60a0e855aef9b17.zip |
rename blsHashToSecretKey
Diffstat (limited to 'src')
-rw-r--r-- | src/bls_if.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bls_if.cpp b/src/bls_if.cpp index 2498759..d32740d 100644 --- a/src/bls_if.cpp +++ b/src/bls_if.cpp @@ -140,13 +140,13 @@ size_t blsSecretKeyGetHexStr(char *buf, size_t maxBufSize, const blsSecretKey *s return getStrT<bls::SecretKey, blsSecretKey>(sec, buf, maxBufSize, 16); } -int blsSecretKeySetToHashOf(blsSecretKey *sec, const void *buf, size_t bufSize) +int blsHashToSecretKey(blsSecretKey *sec, const void *buf, size_t bufSize) try { ((bls::SecretKey*)sec)->setHashOf(buf, bufSize); return 0; } catch (std::exception& e) { - fprintf(stderr, "err blsSecretKeySetByCSPRNG %s\n", e.what()); + fprintf(stderr, "err blsHashToSecretKey %s\n", e.what()); return -1; } |