aboutsummaryrefslogtreecommitdiffstats
path: root/include/bls_if.h
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-01-20 16:43:04 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-01-20 16:43:04 +0800
commitb680d8e089cd81f95c458f2c24f003cc36783c5a (patch)
tree0bb5fde1b19840e47b9c532aad67c4fe4a55ba70 /include/bls_if.h
parentca93275c32037b83577f7e52bc63714006228d21 (diff)
downloaddexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar.gz
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar.bz2
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar.lz
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar.xz
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.tar.zst
dexon-bls-b680d8e089cd81f95c458f2c24f003cc36783c5a.zip
cgo accesses to T[] of Go
Diffstat (limited to 'include/bls_if.h')
-rw-r--r--include/bls_if.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/bls_if.h b/include/bls_if.h
index 79885a0..b45f733 100644
--- a/include/bls_if.h
+++ b/include/bls_if.h
@@ -62,8 +62,8 @@ 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 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 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);
blsPublicKey *blsPublicKeyCreate(void);
@@ -73,8 +73,8 @@ void blsPublicKeyCopy(blsPublicKey *dst, const blsPublicKey *src);
int blsPublicKeySetStr(blsPublicKey *pub, const char *buf, size_t bufSize);
size_t blsPublicKeyGetStr(const blsPublicKey *pub, char *buf, size_t maxBufSize);
void blsPublicKeyAdd(blsPublicKey *pub, const blsPublicKey *rhs);
-void blsPublicKeySet(blsPublicKey *pub, const blsPublicKey *const *mpk, size_t k, const blsId *id);
-void blsPublicKeyRecover(blsPublicKey *pub, const blsPublicKey *const *pubVec, const blsId *const *idVec, size_t n);
+void blsPublicKeySet(blsPublicKey *pub, const blsPublicKey *mpk, size_t k, const blsId *id);
+void blsPublicKeyRecover(blsPublicKey *pub, const blsPublicKey *pubVec, const blsId *idVec, size_t n);
blsSign *blsSignCreate(void);
void blsSignDestroy(blsSign *sign);
@@ -83,7 +83,7 @@ void blsSignCopy(blsSign *dst, const blsSign *src);
int blsSignSetStr(blsSign *sign, const char *buf, size_t bufSize);
size_t blsSignGetStr(const blsSign *sign, char *buf, size_t maxBufSize);
void blsSignAdd(blsSign *sign, const blsSign *rhs);
-void blsSignRecover(blsSign *sign, const blsSign *const *signVec, const blsId *const *idVec, size_t n);
+void blsSignRecover(blsSign *sign, const blsSign *signVec, const blsId *idVec, size_t n);
int blsSignVerify(const blsSign *sign, const blsPublicKey *pub, const char *m, size_t size);