aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls_if.h
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-09-07 07:22:46 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-09-07 07:22:46 +0800
commit5fa9d588563a14a18636bb228dc41f4ba5f6d457 (patch)
tree1ed5ee03b009c0829d864fe13a9242dfc65df989 /include/bls_if.h
parent9b6af7cbc8965c2f166f0979e1d64ec7369aaf9c (diff)
downloaddexon-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.h3
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