diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-02 12:23:19 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-04-02 12:23:19 +0800 |
commit | e93fda860bf3b798f6a02ee806da6693a725dd2f (patch) | |
tree | 751a06a920d216ffa9530c3c569c223ac96e2e5d /include | |
parent | 6e2296d78de9f3d29d4370b887e9fa92c251817f (diff) | |
download | dexon-bls-release20170402.tar dexon-bls-release20170402.tar.gz dexon-bls-release20170402.tar.bz2 dexon-bls-release20170402.tar.lz dexon-bls-release20170402.tar.xz dexon-bls-release20170402.tar.zst dexon-bls-release20170402.zip |
sign is constant time ; signCT is removedrelease20170402
Diffstat (limited to 'include')
-rw-r--r-- | include/bls.hpp | 3 | ||||
-rw-r--r-- | include/bls_if.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/bls.hpp b/include/bls.hpp index 2d6c313..b7c77a6 100644 --- a/include/bls.hpp +++ b/include/bls.hpp @@ -118,9 +118,8 @@ public: */ void set(const uint64_t *p); void getPublicKey(PublicKey& pub) const; - void sign(Sign& sign, const std::string& m) const; // constant time sign - void signCT(Sign& sign, const std::string& m) const; + void sign(Sign& sign, const std::string& m) const; /* make Pop(Proof of Possesion) pop = prv.sign(pub) diff --git a/include/bls_if.h b/include/bls_if.h index 805ce10..ce8463e 100644 --- a/include/bls_if.h +++ b/include/bls_if.h @@ -77,7 +77,6 @@ void blsSecretKeyAdd(blsSecretKey *sec, const blsSecretKey *rhs); void blsSecretKeyInit(blsSecretKey *sec); void blsSecretKeyGetPublicKey(const blsSecretKey *sec, blsPublicKey *pub); void blsSecretKeySign(const blsSecretKey *sec, blsSign *sign, const char *m, size_t size); -void blsSecretKeySignCT(const blsSecretKey *sec, blsSign *sign, const char *m, size_t size); void blsSecretKeySet(blsSecretKey *sec, const blsSecretKey* msk, size_t k, const blsId *id); void blsSecretKeyRecover(blsSecretKey *sec, const blsSecretKey *secVec, const blsId *idVec, size_t n); void blsSecretKeyGetPop(const blsSecretKey *sec, blsSign *sign); |