diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-07 07:22:46 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-07 07:22:46 +0800 |
commit | 5fa9d588563a14a18636bb228dc41f4ba5f6d457 (patch) | |
tree | 1ed5ee03b009c0829d864fe13a9242dfc65df989 /include/bls_if.h | |
parent | 9b6af7cbc8965c2f166f0979e1d64ec7369aaf9c (diff) | |
download | dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar.gz dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar.bz2 dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar.lz dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar.xz dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.tar.zst dexon-bls-5fa9d588563a14a18636bb228dc41f4ba5f6d457.zip |
add verifyPop
Diffstat (limited to 'include/bls_if.h')
-rw-r--r-- | include/bls_if.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bls_if.h b/include/bls_if.h index 9b9012d..be4ba40 100644 --- a/include/bls_if.h +++ b/include/bls_if.h @@ -50,6 +50,7 @@ void blsSecretKeyGetPublicKey(const blsSecretKey *sec, blsPublicKey *pub); void blsSecretKeySign(const blsSecretKey *sec, blsSign *sign, const char *m, size_t size); void blsSecretKeySet(blsSecretKey *sec, const blsSecretKey* const *msk, size_t k, const blsId *id); void blsSecretKeyRecover(blsSecretKey *sec, const blsSecretKey* const *secVec, const blsId *const *idVec, size_t n); +void blsSecretKeyGetPop(const blsSecretKey *sec, blsSign *sign); blsPublicKey *blsPublicKeyCreate(void); void blsPublicKeyDestroy(blsPublicKey *pub); @@ -70,6 +71,8 @@ void blsSignRecover(blsSign *sign, const blsSign *const *signVec, const blsId *c int blsSignVerify(const blsSign *sign, const blsPublicKey *pub, const char *m, size_t size); +int blsSignVerifyPop(const blsSign *sign, const blsPublicKey *pub); + #ifdef __cplusplus } #endif |